Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

docs(api): describe cover letter endpoints (#3509)

Emanuele Tonellofbf1f8fbaca6
diff --git a/apps/server/src/openapi/generator.test.ts b/apps/server/src/openapi/generator.test.ts
index 967e9c345..2550cd80e 100644
--- a/apps/server/src/openapi/generator.test.ts
+++ b/apps/server/src/openapi/generator.test.ts
@@ -1,3 +1,4 @@
+import { readFile } from "node:fs/promises";
import { describe, expect, it, vi } from "vitest";
import z from "zod";
import { defaultResumeData } from "@reactive-resume/schema/resume/default";
@@ -16,6 +17,11 @@ type GeneratedSpecView = {
Record<
string,
{
+ tags?: string[];
+ operationId?: string;
+ summary?: string;
+ description?: string;
+ responses?: Record<string, { description?: string }>;
requestBody?: {
content?: Record<string, { schema?: unknown }>;
};
@@ -72,6 +78,51 @@ function findImpossibleRequestSchemas(spec: GeneratedSpecView) {
}
describe("generateOpenApiSpec", () => {
+ it("documents all cover-letter procedures with REST metadata", async () => {
+ const spec = (await generateSpec()) as GeneratedSpecView;
+ const expected = [
+ ["get", "/cover-letters", "listCoverLetters", "List cover letters", "200"],
+ ["get", "/cover-letters/{id}", "getCoverLetter", "Get cover letter by ID", "200"],
+ ["post", "/cover-letters", "createCoverLetter", "Create a cover letter", "200"],
+ ["put", "/cover-letters/{id}", "updateCoverLetter", "Update a cover letter", "200"],
+ ["post", "/cover-letters/{id}/refresh-style", "refreshCoverLetterStyle", "Refresh cover letter style", "200"],
+ ["post", "/cover-letters/{id}/duplicate", "duplicateCoverLetter", "Duplicate a cover letter", "200"],
+ ["delete", "/cover-letters/{id}", "deleteCoverLetter", "Delete a cover letter", "200"],
+ ["post", "/cover-letters/from-resume", "copyEmbeddedCoverLetter", "Copy an embedded cover letter", "200"],
+ ["get", "/cover-letters/{id}/export", "exportCoverLetter", "Export a cover letter", "200"],
+ ["post", "/cover-letters/import", "importCoverLetter", "Import a cover letter", "200"],
+ ] as const;
+
+ for (const [method, path, operationId, summary, successStatus] of expected) {
+ const operation = spec.paths?.[path]?.[method];
+ expect(operation).toMatchObject({
+ tags: ["Cover Letters"],
+ operationId,
+ summary,
+ description: expect.any(String),
+ responses: { [successStatus]: { description: expect.any(String) } },
+ });
+ }
+ });
+
+ it("keeps published cover-letter operations in sync with the runtime spec", async () => {
+ const published = JSON.parse(
+ await readFile(new URL("../../../../docs/spec.json", import.meta.url), "utf8"),
+ ) as GeneratedSpecView;
+ const runtime = await generateSpec();
+ const coverLetterPaths = (spec: GeneratedSpecView) =>
+ Object.fromEntries(
+ Object.entries(spec.paths ?? {}).filter(
+ ([path]) => path.startsWith("/cover-letters") || path.startsWith("/coverLetters/"),
+ ),
+ );
+
+ const publishedPaths = coverLetterPaths(published);
+ const runtimePaths = coverLetterPaths(runtime as GeneratedSpecView);
+ expect(Object.keys(publishedPaths).sort()).toEqual(Object.keys(runtimePaths).sort());
+ expect(publishedPaths).toEqual(runtimePaths);
+ });
+
it("uses caller-provided application URL and version", async () => {
const spec = await generateSpec();
diff --git a/docs/guides/using-the-api.mdx b/docs/guides/using-the-api.mdx
index 8da595728..d8d3441a9 100644
--- a/docs/guides/using-the-api.mdx
+++ b/docs/guides/using-the-api.mdx
@@ -61,3 +61,43 @@ description: "Create Reactive Resume API keys, authenticate REST requests with b
</Step>
</Steps>
+
+## Cover-letter REST endpoint migration
+
+Cover-letter REST operations now use `/cover-letters` resource paths and HTTP methods instead of the automatically generated `/coverLetters/*` POST endpoints. This is a **breaking change for REST clients**: the old REST URLs are no longer served and return `404`. There are no compatibility aliases.
+
+All paths below are relative to `/api/openapi` on your instance. Authentication with `x-api-key` is unchanged.
+
+| Previous endpoint | Replacement endpoint |
+| --- | --- |
+| `POST /coverLetters/list` | `GET /cover-letters` |
+| `POST /coverLetters/getById` | `GET /cover-letters/{id}` |
+| `POST /coverLetters/create` | `POST /cover-letters` |
+| `POST /coverLetters/update` | `PUT /cover-letters/{id}` |
+| `POST /coverLetters/refreshStyle` | `POST /cover-letters/{id}/refresh-style` |
+| `POST /coverLetters/duplicate` | `POST /cover-letters/{id}/duplicate` |
+| `POST /coverLetters/delete` | `DELETE /cover-letters/{id}` |
+| `POST /coverLetters/copyEmbedded` | `POST /cover-letters/from-resume` |
+| `POST /coverLetters/export` | `GET /cover-letters/{id}/export` |
+| `POST /coverLetters/import` | `POST /cover-letters/import` |
+
+Update request inputs as well as the URL and method:
+
+- Move `id` from the JSON body into the URL path wherever `{id}` appears. URL-encode the ID as a single path segment.
+- For listing, send `search`, `resumeId`, `applicationId`, `limit`, and `offset` as query parameters, not a JSON body. The get-by-ID and export operations also have no request body.
+- Keep the remaining inputs as JSON for POST, PUT, and DELETE requests, with `Content-Type: application/json`. In particular, `expectedRevision` remains required in the JSON body for update, refresh-style, and delete; refreshing style also requires `resumeId`.
+- Create, copy-from-resume, and import keep their existing JSON inputs. Update still modifies only the supplied fields; it does not replace the entire document.
+- Successful operations return `200`, including create and delete. Delete has an empty response body; do not expect `204` or parse a JSON document from it. Other response shapes are unchanged.
+
+For example, list cover letters with query parameters:
+
+```bash
+curl --get "https://rxresu.me/api/openapi/cover-letters" \
+ -H "x-api-key: YOUR_API_KEY" \
+ --data-urlencode "search=Engineer" \
+ --data-urlencode "limit=20"
+```
+
+If you generate an SDK, regenerate it from your instance's `/api/openapi/spec.json` after upgrading: operation IDs have changed too (for example, `coverLetters.getById` is now `getCoverLetter`). Self-hosted clients should use the spec from the version they are running.
+
+This migration applies only to REST under `/api/openapi`. Existing oRPC clients under `/api/rpc` continue to use the same `coverLetters.*` procedure names and RPC protocol; do not apply the REST path or payload changes to them.
diff --git a/docs/spec.json b/docs/spec.json
index 97e0985ce..a538fca6a 100644
--- a/docs/spec.json
+++ b/docs/spec.json
@@ -1,7 +1,7 @@
{
"info": {
"title": "Reactive Resume",
- "version": "5.2.8",
+ "version": "5.3.0",
"description": "Reactive Resume API",
"license": {
"name": "MIT",
@@ -18,3548 +18,1913 @@
"url": "https://rxresu.me/api/openapi"
}
],
- "externalDocs": {
- "url": "https://docs.rxresu.me",
- "description": "Reactive Resume Documentation"
- },
- "components": {
- "securitySchemes": {
- "apiKey": {
- "type": "apiKey",
- "name": "x-api-key",
- "in": "header",
- "description": "The API key to authenticate requests."
- }
- },
- "schemas": {
- "ResumeData": {
- "type": "object",
- "properties": {
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
- },
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ],
- "description": "Configuration for photograph displayed on the resume"
- },
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
+ "paths": {
+ "/api/health": {
+ "get": {
+ "operationId": "getHealth",
+ "tags": [
+ "System"
+ ],
+ "summary": "Get application health and version",
+ "description": "Checks database and storage availability. Does not require authentication.",
+ "servers": [
+ {
+ "url": "https://rxresu.me"
+ }
+ ],
+ "security": [],
+ "responses": {
+ "200": {
+ "description": "The application and its dependencies are healthy.",
+ "content": {
+ "application/json": {
+ "schema": {
"type": "object",
"properties": {
- "id": {
+ "service": {
"type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ "enum": [
+ "reactive-resume"
+ ]
},
- "icon": {
+ "version": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "The running application's build version."
},
- "text": {
+ "status": {
"type": "string",
- "description": "The text to display for the custom field."
+ "enum": [
+ "healthy",
+ "unhealthy"
+ ]
},
- "link": {
- "default": "",
+ "timestamp": {
"type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text"
- ]
- },
- "description": "The custom fields to display on the resume."
- }
- },
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ],
- "description": "Basic information about the author, such as name, email, phone, location, and website"
- },
- "summary": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the summary of the resume."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the summary should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the summary from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the summary is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the summary always begins on a new page.",
- "type": "boolean"
- },
- "content": {
- "type": "string",
- "description": "The content of the summary of the resume. This should be a HTML-formatted string."
- }
- },
- "required": [
- "title",
- "hidden",
- "content"
- ],
- "description": "Summary section of the resume, useful for a short bio or introduction"
- },
- "sections": {
- "type": "object",
- "properties": {
- "profiles": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ "format": "date-time"
+ },
+ "uptime": {
+ "type": "string"
+ },
+ "database": {
"type": "object",
"properties": {
- "id": {
+ "status": {
"type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "enum": [
+ "healthy",
+ "unhealthy"
+ ]
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "latencyMs": {
+ "type": "number"
},
- "icon": {
+ "error": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "default": "",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
- "type": "string"
- },
- "network": {
+ "description": "Generic failure message. Detailed diagnostics are logged on the server."
+ }
+ },
+ "required": [
+ "status",
+ "latencyMs"
+ ],
+ "additionalProperties": true
+ },
+ "storage": {
+ "type": "object",
+ "properties": {
+ "status": {
"type": "string",
- "minLength": 1,
- "description": "The name of the network or platform."
+ "enum": [
+ "healthy",
+ "unhealthy"
+ ]
},
- "username": {
- "type": "string",
- "description": "The username of the author on the network or platform."
+ "latencyMs": {
+ "type": "number"
},
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the profile of the author on the network or platform, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "error": {
+ "type": "string",
+ "description": "Generic failure message. Detailed diagnostics are logged on the server."
}
},
"required": [
- "id",
- "hidden",
- "icon",
- "network",
- "username"
+ "status",
+ "latencyMs"
+ ],
+ "additionalProperties": true
+ }
+ },
+ "required": [
+ "service",
+ "version",
+ "status",
+ "timestamp",
+ "uptime",
+ "database",
+ "storage"
+ ]
+ }
+ }
+ }
+ },
+ "503": {
+ "description": "One or more application dependencies are unhealthy.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "service": {
+ "type": "string",
+ "enum": [
+ "reactive-resume"
]
},
- "description": "The items to display in the profiles section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the profiles of the author."
- },
- "experience": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ "version": {
+ "type": "string",
+ "description": "The running application's build version."
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "healthy",
+ "unhealthy"
+ ]
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "uptime": {
+ "type": "string"
+ },
+ "database": {
"type": "object",
"properties": {
- "id": {
+ "status": {
"type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "enum": [
+ "healthy",
+ "unhealthy"
+ ]
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "latencyMs": {
+ "type": "number"
},
- "company": {
+ "error": {
"type": "string",
- "minLength": 1,
- "description": "The name of the company or organization."
- },
- "position": {
+ "description": "Generic failure message. Detailed diagnostics are logged on the server."
+ }
+ },
+ "required": [
+ "status",
+ "latencyMs"
+ ],
+ "additionalProperties": true
+ },
+ "storage": {
+ "type": "object",
+ "properties": {
+ "status": {
"type": "string",
- "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ "enum": [
+ "healthy",
+ "unhealthy"
+ ]
},
- "location": {
- "type": "string",
- "description": "The location of the company or organization."
+ "latencyMs": {
+ "type": "number"
},
- "period": {
+ "error": {
"type": "string",
- "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the company or organization, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the experience. This should be a HTML-formatted string."
- },
- "roles": {
- "default": [],
- "description": "List of individual roles held at this company to show career progression.",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the role. Usually generated as a UUID."
- },
- "position": {
- "type": "string",
- "description": "The position or job title for this role."
- },
- "period": {
- "type": "string",
- "description": "The period of time this role was held."
- },
- "description": {
- "type": "string",
- "description": "The description of this specific role. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "position",
- "period",
- "description"
- ]
- }
+ "description": "Generic failure message. Detailed diagnostics are logged on the server."
}
},
"required": [
- "id",
- "hidden",
- "company",
- "position",
- "location",
- "period",
- "description"
- ]
- },
- "description": "The items to display in the experience section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the experience of the author."
- },
- "education": {
+ "status",
+ "latencyMs"
+ ],
+ "additionalProperties": true
+ }
+ },
+ "required": [
+ "service",
+ "version",
+ "status",
+ "timestamp",
+ "uptime",
+ "database",
+ "storage"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai/parse-pdf": {
+ "post": {
+ "operationId": "parseResumePdf",
+ "summary": "Parse a PDF file into resume data",
+ "description": "Extracts structured resume data from a PDF file using the specified AI provider. The file should be sent as a base64-encoded string along with AI provider credentials. Returns a complete ResumeData object. Requires authentication.",
+ "tags": [
+ "AI"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "aiProviderId": {
"type": "string"
},
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ "file": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "data": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "data"
+ ]
+ }
+ },
+ "required": [
+ "file"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The PDF was successfully parsed into structured resume data.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "defined": {
+ "const": true
},
- "school": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the school or institution."
+ "code": {
+ "const": "BAD_REQUEST"
},
- "degree": {
- "type": "string",
- "description": "The degree or qualification obtained."
+ "status": {
+ "const": 400
},
- "area": {
+ "message": {
"type": "string",
- "description": "The area of study or specialization."
+ "default": "The AI returned an improperly formatted structure."
},
- "grade": {
- "type": "string",
- "description": "The grade or score achieved."
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "location": {
- "type": "string",
- "description": "The location of the school or institution."
+ "code": {
+ "type": "string"
},
- "period": {
- "type": "string",
- "description": "The period of time the education was obtained over."
+ "status": {
+ "type": "number"
},
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the school or institution, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "message": {
+ "type": "string"
},
- "description": {
- "type": "string",
- "description": "The description of the education. This should be a HTML-formatted string."
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "school",
- "degree",
- "area",
- "grade",
- "location",
- "period",
- "description"
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "description": "The items to display in the education section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the education of the author."
- },
- "projects": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ }
+ ]
+ }
+ }
+ }
+ },
+ "502": {
+ "description": "502",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "defined": {
+ "const": true
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "code": {
+ "const": "BAD_GATEWAY"
},
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the project."
+ "status": {
+ "const": 502
},
- "period": {
+ "message": {
"type": "string",
- "description": "The period of time the project was worked on."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the project, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "default": "The AI provider returned an error or is unreachable."
},
- "description": {
- "type": "string",
- "description": "The description of the project. This should be a HTML-formatted string."
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "name",
- "period",
- "description"
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "description": "The items to display in the projects section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the projects of the author."
- },
- "skills": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "defined": {
+ "const": false
},
- "iconColor": {
- "default": "",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "code": {
"type": "string"
},
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ "status": {
+ "type": "number"
},
- "level": {
- "default": 0,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
- "type": "number",
- "minimum": 0,
- "maximum": 5
+ "message": {
+ "type": "string"
},
- "keywords": {
- "default": [],
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "icon",
- "name",
- "proficiency"
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "description": "The items to display in the skills section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the skills of the author."
- },
- "languages": {
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai/parse-docx": {
+ "post": {
+ "operationId": "parseResumeDocx",
+ "summary": "Parse a DOCX file into resume data",
+ "description": "Extracts structured resume data from a DOCX or DOC file using the specified AI provider. The file should be sent as a base64-encoded string along with AI provider credentials and the document's media type. Returns a complete ResumeData object. Requires authentication.",
+ "tags": [
+ "AI"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "aiProviderId": {
"type": "string"
},
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
+ "file": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "data": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "data"
+ ]
},
- "items": {
- "type": "array",
- "items": {
+ "mediaType": {
+ "enum": [
+ "application/msword",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "file",
+ "mediaType"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The DOCX was successfully parsed into structured resume data.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "defined": {
+ "const": true
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "code": {
+ "const": "BAD_REQUEST"
},
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
+ "status": {
+ "const": 400
},
- "fluency": {
+ "message": {
"type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ "default": "The AI returned an improperly formatted structure."
},
- "level": {
- "default": 0,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
- "type": "number",
- "minimum": 0,
- "maximum": 5
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "language",
- "fluency"
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "description": "The items to display in the languages section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the languages of the author."
- },
- "interests": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "defined": {
+ "const": false
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "code": {
+ "type": "string"
},
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "status": {
+ "type": "number"
},
- "iconColor": {
- "default": "",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "message": {
"type": "string"
},
- "name": {
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ "502": {
+ "description": "502",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_GATEWAY"
+ },
+ "status": {
+ "const": 502
+ },
+ "message": {
"type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
+ "default": "The AI provider returned an error or is unreachable."
},
- "keywords": {
- "default": [],
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "icon",
- "name"
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "description": "The items to display in the interests section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the interests of the author."
- },
- "awards": {
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai/chat": {
+ "post": {
+ "operationId": "aiChat",
+ "summary": "Chat with AI to modify resume",
+ "description": "Streams a chat response from the configured AI provider. The LLM can call the propose_resume_patches tool to generate JSON Patch proposals for explicit user approval. Requires authentication and AI provider credentials.",
+ "tags": [
+ "AI"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai/ats-review": {
+ "post": {
+ "operationId": "atsReview",
+ "summary": "Review extracted resume text",
+ "description": "Reviews the plain text extracted from a resume PDF and returns qualitative feedback: a summary, rewrite suggestions, strengths, and — when a job description is supplied — how the candidate's experience lines up with the role. Deliberately returns no score: the deterministic ATS report owns the only number in this feature. Requires authentication and AI credentials.",
+ "tags": [
+ "AI"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "aiProviderId": {
"type": "string"
},
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
+ "extractedText": {
+ "type": "string"
},
- "items": {
+ "findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the award."
- },
- "awarder": {
- "type": "string",
- "description": "The awarder of the award."
+ "code": {
+ "type": "string"
},
- "date": {
- "type": "string",
- "description": "The date when the award was received."
+ "severity": {
+ "type": "string"
},
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the award, if any.",
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "severity",
+ "message"
+ ]
+ },
+ "default": []
+ },
+ "jobDescription": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "extractedText"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Qualitative review returned successfully.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "summary": {
+ "type": "string"
+ },
+ "suggestions": {},
+ "strengths": {},
+ "jdAlignment": {
+ "anyOf": [
+ {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ "verdict": {
+ "type": "string"
},
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
+ "missingConcepts": {},
+ "strengths": {}
},
"required": [
- "url",
- "label"
+ "verdict"
]
},
- "description": {
- "type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
+ {
+ "type": "null"
}
- },
- "required": [
- "id",
- "hidden",
- "title",
- "awarder",
- "date",
- "description"
]
- },
- "description": "The items to display in the awards section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the awards of the author."
- },
- "certifications": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
+ }
},
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ "required": [
+ "summary",
+ "jdAlignment"
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "defined": {
+ "const": true
},
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
+ "code": {
+ "const": "BAD_REQUEST"
},
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
+ "status": {
+ "const": 400
},
- "date": {
+ "message": {
"type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the certification, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "default": "The AI returned an improperly formatted structure."
},
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "description"
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "description": "The items to display in the certifications section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the certifications of the author."
- },
- "publications": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
+ "defined": {
+ "const": false
},
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
+ "code": {
+ "type": "string"
},
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
+ "status": {
+ "type": "number"
},
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the publication, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "message": {
+ "type": "string"
},
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "description"
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "description": "The items to display in the publications section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the publications of the author."
- },
- "volunteer": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ }
+ ]
+ }
+ }
+ }
+ },
+ "502": {
+ "description": "502",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "defined": {
+ "const": true
},
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
+ "code": {
+ "const": "BAD_GATEWAY"
},
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
+ "status": {
+ "const": 502
},
- "period": {
+ "message": {
"type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the organization or company, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "default": "The AI provider returned an error or is unreachable."
},
- "description": {
- "type": "string",
- "description": "The description of the volunteer experience. This should be a HTML-formatted string."
- }
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "organization",
- "location",
- "period",
- "description"
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "description": "The items to display in the volunteer section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the volunteer experience of the author."
- },
- "references": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "items": {
- "type": "array",
- "items": {
+ {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "defined": {
+ "const": false
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "code": {
+ "type": "string"
},
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the reference, or a note such as 'Available upon request'."
+ "status": {
+ "type": "number"
},
- "position": {
- "type": "string",
- "description": "The position or job title of the reference."
+ "message": {
+ "type": "string"
},
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website or LinkedIn profile of the reference, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai-providers": {
+ "get": {
+ "operationId": "listAiProviders",
+ "summary": "List saved AI providers",
+ "description": "Lists saved provider/model/API key combinations for the authenticated user. API keys are redacted.",
+ "tags": [
+ "AI Providers"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "412": {
+ "description": "412",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
},
- "phone": {
- "type": "string",
- "description": "The phone number of the reference."
+ "code": {
+ "const": "PRECONDITION_FAILED"
},
- "description": {
+ "status": {
+ "const": 412
+ },
+ "message": {
"type": "string",
- "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
- }
+ "default": "AI agent workspace is not configured."
+ },
+ "data": {}
},
"required": [
- "id",
- "hidden",
- "name",
- "position",
- "phone",
- "description"
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "description": "The items to display in the references section."
- }
- },
- "required": [
- "title",
- "hidden",
- "items"
- ],
- "description": "The section to display the references of the author."
- }
- },
- "required": [
- "profiles",
- "experience",
- "education",
- "projects",
- "skills",
- "languages",
- "interests",
- "awards",
- "certifications",
- "publications",
- "volunteer",
- "references"
- ],
- "description": "Various sections of the resume, such as experience, education, projects, etc."
- },
- "customSections": {
- "type": "array",
- "items": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "cover-letter",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "recipient": {
- "type": "string",
- "description": "The recipient's address block as HTML (name, title, company, address, email)."
- },
- "content": {
- "type": "string",
- "description": "The cover letter body as HTML (salutation, paragraphs, closing, signature)."
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "recipient",
- "content"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
+ }
+ }
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "createAiProvider",
+ "summary": "Create saved AI provider",
+ "description": "Stores an encrypted provider/model/API key combination. The key is never returned.",
+ "tags": [
+ "AI Providers"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "provider": {
+ "enum": [
+ "openai",
+ "anthropic",
+ "gemini",
+ "vercel-ai-gateway",
+ "openrouter",
+ "mistral",
+ "cohere",
+ "xai",
+ "groq",
+ "deepseek",
+ "togetherai",
+ "fireworks",
+ "cerebras",
+ "perplexity",
+ "ollama",
+ "openai-compatible"
+ ],
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "baseURL": {
+ "type": "string"
+ },
+ "apiKey": {
+ "type": "string"
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "summary",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "label",
+ "provider",
+ "model",
+ "apiKey"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_REQUEST"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "Invalid AI provider configuration."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "content": {
- "type": "string",
- "description": "The rich text content of the summary item. This should be a HTML-formatted string."
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "content"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "profiles",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ },
+ "412": {
+ "description": "412",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "PRECONDITION_FAILED"
+ },
+ "status": {
+ "const": 412
+ },
+ "message": {
+ "type": "string",
+ "default": "AI agent workspace is not configured."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "default": "",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
- "type": "string"
- },
- "network": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the network or platform."
- },
- "username": {
- "type": "string",
- "description": "The username of the author on the network or platform."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the profile of the author on the network or platform, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "icon",
- "network",
- "username"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "experience",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai-providers/{id}": {
+ "patch": {
+ "operationId": "updateAiProvider",
+ "summary": "Update saved AI provider",
+ "description": "Updates a saved provider/model/API key combination. Updating the key requires retesting before use.",
+ "tags": [
+ "AI Providers"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": false,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "provider": {
+ "enum": [
+ "openai",
+ "anthropic",
+ "gemini",
+ "vercel-ai-gateway",
+ "openrouter",
+ "mistral",
+ "cohere",
+ "xai",
+ "groq",
+ "deepseek",
+ "togetherai",
+ "fireworks",
+ "cerebras",
+ "perplexity",
+ "ollama",
+ "openai-compatible"
+ ],
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "baseURL": {
+ "type": "string"
+ },
+ "apiKey": {
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_REQUEST"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "Invalid AI provider configuration."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the company or organization."
- },
- "position": {
- "type": "string",
- "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
- },
- "location": {
- "type": "string",
- "description": "The location of the company or organization."
- },
- "period": {
- "type": "string",
- "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the company or organization, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the experience. This should be a HTML-formatted string."
- },
- "roles": {
- "default": [],
- "description": "List of individual roles held at this company to show career progression.",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the role. Usually generated as a UUID."
- },
- "position": {
- "type": "string",
- "description": "The position or job title for this role."
- },
- "period": {
- "type": "string",
- "description": "The period of time this role was held."
- },
- "description": {
- "type": "string",
- "description": "The description of this specific role. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "position",
- "period",
- "description"
- ]
- }
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "company",
- "position",
- "location",
- "period",
- "description"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "education",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "404",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "NOT_FOUND"
+ },
+ "status": {
+ "const": 404
+ },
+ "message": {
+ "type": "string",
+ "default": "AI provider was not found."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "school": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the school or institution."
- },
- "degree": {
- "type": "string",
- "description": "The degree or qualification obtained."
- },
- "area": {
- "type": "string",
- "description": "The area of study or specialization."
- },
- "grade": {
- "type": "string",
- "description": "The grade or score achieved."
- },
- "location": {
- "type": "string",
- "description": "The location of the school or institution."
- },
- "period": {
- "type": "string",
- "description": "The period of time the education was obtained over."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the school or institution, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the education. This should be a HTML-formatted string."
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "school",
- "degree",
- "area",
- "grade",
- "location",
- "period",
- "description"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
+ }
+ }
+ }
+ },
+ "412": {
+ "description": "412",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "PRECONDITION_FAILED"
+ },
+ "status": {
+ "const": 412
+ },
+ "message": {
+ "type": "string",
+ "default": "AI agent workspace is not configured."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "projects",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the project."
- },
- "period": {
- "type": "string",
- "description": "The period of time the project was worked on."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the project, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the project. This should be a HTML-formatted string."
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "name",
- "period",
- "description"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "deleteAiProvider",
+ "summary": "Delete saved AI provider",
+ "description": "Deletes a saved provider/model/API key combination.",
+ "tags": [
+ "AI Providers"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {
+ "not": {}
},
- "type": {
- "type": "string",
- "const": "skills",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "412": {
+ "description": "412",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "PRECONDITION_FAILED"
+ },
+ "status": {
+ "const": 412
+ },
+ "message": {
+ "type": "string",
+ "default": "AI agent workspace is not configured."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "default": "",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
- "type": "string"
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "default": 0,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
- "type": "number",
- "minimum": 0,
- "maximum": 5
- },
- "keywords": {
- "default": [],
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "icon",
- "name",
- "proficiency"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "languages",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/ai-providers/{id}/test": {
+ "post": {
+ "operationId": "testAiProvider",
+ "summary": "Test saved AI provider",
+ "description": "Decrypts the saved API key server-side and validates the provider/model connection.",
+ "tags": [
+ "AI Providers"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_REQUEST"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "Invalid AI provider configuration."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
- },
- "fluency": {
- "type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
- },
- "level": {
- "default": 0,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
- "type": "number",
- "minimum": 0,
- "maximum": 5
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "language",
- "fluency"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "interests",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "404",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "NOT_FOUND"
+ },
+ "status": {
+ "const": 404
+ },
+ "message": {
+ "type": "string",
+ "default": "AI provider was not found."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "default": "",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
- "type": "string"
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
- },
- "keywords": {
- "default": [],
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "icon",
- "name"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "awards",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ },
+ "412": {
+ "description": "412",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "PRECONDITION_FAILED"
+ },
+ "status": {
+ "const": 412
+ },
+ "message": {
+ "type": "string",
+ "default": "AI agent workspace is not configured."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the award."
- },
- "awarder": {
- "type": "string",
- "description": "The awarder of the award."
- },
- "date": {
- "type": "string",
- "description": "The date when the award was received."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the award, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "title",
- "awarder",
- "date",
- "description"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "certifications",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ }
+ }
+ }
+ },
+ "502": {
+ "description": "502",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_GATEWAY"
+ },
+ "status": {
+ "const": 502
+ },
+ "message": {
+ "type": "string",
+ "default": "The AI provider returned an error or is unreachable."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
- },
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
- },
- "date": {
- "type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website of the certification, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "description"
- ],
- "additionalProperties": {}
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "publications",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
- },
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the publication, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/agent/threads": {
+ "get": {
+ "operationId": "listAgentThreads",
+ "summary": "List agent threads",
+ "tags": [
+ "Agent"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "volunteer",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
- },
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
- },
- "period": {
- "type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The link to the organization or company, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "description": {
- "type": "string",
- "description": "The description of the volunteer experience. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "organization",
- "location",
- "period",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ }
+ }
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "createAgentThread",
+ "summary": "Create agent thread",
+ "tags": [
+ "Agent"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "aiProviderId": {
+ "type": "string"
},
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "default": "",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
- "type": "string"
- },
- "columns": {
- "default": 1,
- "description": "The number of columns the section should span across.",
- "type": "integer",
- "minimum": 1,
- "maximum": 6
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "default": false,
- "description": "If true, the section is kept on a single page instead of splitting across a page break.",
- "type": "boolean"
- },
- "startOnNewPage": {
- "default": false,
- "description": "If true, the section always begins on a new page.",
- "type": "boolean"
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "type": "string",
- "const": "references",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the reference, or a note such as 'Available upon request'."
- },
- "position": {
- "type": "string",
- "description": "The position or job title of the reference."
- },
- "website": {
- "default": {
- "url": "",
- "label": "",
- "inlineLink": false
- },
- "description": "The website or LinkedIn profile of the reference, if any.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "default": false,
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
- "type": "boolean"
- }
- },
- "required": [
- "url",
- "label"
- ]
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the reference."
- },
- "description": {
- "type": "string",
- "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "name",
- "position",
- "phone",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "sourceResumeId": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
}
- },
- "required": [
- "title",
- "hidden",
- "id",
- "type",
- "items"
]
}
- ]
- },
- "description": "Custom sections of the resume, such as a custom section for notes, etc."
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "default": "onyx",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume.",
- "type": "string",
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ]
- },
- "layout": {
+ }
+ }
+ }
+ }
+ }
+ },
+ "/agent/threads/for-resume": {
+ "post": {
+ "operationId": "getOrCreateAgentThreadForResume",
+ "summary": "Get or create an in-resume agent thread",
+ "tags": [
+ "Agent"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
"type": "object",
"properties": {
- "sidebarWidth": {
- "default": 35,
- "description": "The width of the sidebar column, defined as a percentage of the page width.",
- "type": "number",
- "minimum": 10,
- "maximum": 50
+ "resumeId": {
+ "type": "string"
},
- "pages": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "fullWidth": {
- "type": "boolean",
- "description": "Whether the layout of the page should be full width. If true, the main column will span the entire width of the page. This means that there should be no items in the sidebar column."
- },
- "main": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The items to display in the main column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
- },
- "sidebar": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The items to display in the sidebar column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
- }
- },
- "required": [
- "fullWidth",
- "main",
- "sidebar"
- ]
- },
- "description": "The pages to display in the layout."
+ "aiProviderId": {
+ "type": "string"
}
},
"required": [
- "pages"
- ],
- "description": "The layout of the resume. Determines the structure and arrangement of the sections on the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "default": 14,
- "description": "The horizontal margin of the page, defined in points (pt).",
- "type": "number",
- "minimum": 0,
- "maximum": 100
- },
- "marginY": {
- "default": 12,
- "description": "The vertical margin of the page, defined in points (pt).",
- "type": "number",
- "minimum": 0,
- "maximum": 100
- },
- "format": {
- "default": "a4",
- "type": "string",
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "default": "en-US",
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "default": false,
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "default": false,
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "default": true,
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "type": "string",
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "default": [
- "400"
- ],
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font.",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ]
- }
- },
- "fontSize": {
- "default": 11,
- "description": "The size of the font to use, defined in points (pt).",
- "type": "number",
- "minimum": 6,
- "maximum": 24
- },
- "lineHeight": {
- "default": 1.5,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x).",
- "type": "number",
- "minimum": 0.5,
- "maximum": 4
- }
- },
- "required": [
- "fontFamily"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "default": [
- "400"
- ],
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font.",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ]
- }
- },
- "fontSize": {
- "default": 11,
- "description": "The size of the font to use, defined in points (pt).",
- "type": "number",
- "minimum": 6,
- "maximum": 24
- },
- "lineHeight": {
- "default": 1.5,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x).",
- "type": "number",
- "minimum": 0.5,
- "maximum": 4
- }
- },
- "required": [
- "fontFamily"
- ],
- "description": "The typography for the headings of the resume."
- },
- "hyphenation": {
- "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false.",
- "type": "boolean"
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "notes": {
- "type": "string",
- "description": "Personal notes for the resume. Can be used to add any additional information or instructions for the resume. These notes are not displayed on the resume, they are only visible to the author of the resume when editing the resume. This should be a HTML-formatted string."
- },
- "styleRules": {
- "default": [],
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering.",
- "type": "array",
- "items": {}
- },
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "type": "string",
- "enum": [
- "legacy",
- "semantic"
- ]
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
+ "resumeId"
+ ]
}
- },
- "required": [
- "layout",
- "page",
- "design",
- "typography",
- "notes"
- ],
- "description": "Metadata for the resume, such as template, layout, typography, etc. This section describes the overall design and appearance of the resume."
+ }
}
},
- "required": [
- "picture",
- "basics",
- "summary",
- "sections",
- "customSections",
- "metadata"
- ],
- "additionalProperties": {}
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
}
- }
- },
- "security": [
- {
- "apiKey": []
- }
- ],
- "openapi": "3.1.1",
- "paths": {
- "/ai/parse-pdf": {
- "post": {
- "operationId": "parseResumePdf",
- "summary": "Parse a PDF file into resume data",
- "description": "Extracts structured resume data from a PDF file using the specified AI provider. The file should be sent as a base64-encoded string along with AI provider credentials. Returns a complete ResumeData object. Requires authentication.",
+ },
+ "/agent/threads/{id}": {
+ "get": {
+ "operationId": "getAgentThread",
+ "summary": "Get agent thread",
"tags": [
- "AI"
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "patch": {
+ "operationId": "updateAgentThread",
+ "summary": "Update agent thread settings",
+ "tags": [
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
],
"requestBody": {
"required": true,
@@ -3568,28 +1933,12 @@
"schema": {
"type": "object",
"properties": {
- "aiProviderId": {
- "type": "string"
- },
- "file": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "data": {
- "type": "string",
- "maxLength": 13981018
- }
- },
- "required": [
- "name",
- "data"
- ]
+ "reviewPatches": {
+ "type": "boolean"
}
},
"required": [
- "file"
+ "reviewPatches"
]
}
}
@@ -3597,7 +1946,7 @@
},
"responses": {
"200": {
- "description": "The PDF was successfully parsed into structured resume data.",
+ "description": "OK",
"content": {
"application/json": {
"schema": {
@@ -3610,121 +1959,75 @@
}
}
}
- },
- "400": {
- "description": "400",
+ }
+ }
+ },
+ "delete": {
+ "operationId": "deleteAgentThread",
+ "summary": "Delete agent thread",
+ "tags": [
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"content": {
"application/json": {
"schema": {
- "oneOf": [
+ "anyOf": [
{
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_REQUEST"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "The AI returned an improperly formatted structure."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
},
{
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
}
]
}
}
}
- },
- "502": {
- "description": "502",
+ }
+ }
+ }
+ },
+ "/agent/threads/{id}/archive": {
+ "post": {
+ "operationId": "archiveAgentThread",
+ "summary": "Archive agent thread",
+ "tags": [
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"content": {
"application/json": {
"schema": {
- "oneOf": [
+ "anyOf": [
{
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_GATEWAY"
- },
- "status": {
- "const": 502
- },
- "message": {
- "type": "string",
- "default": "The AI provider returned an error or is unreachable."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
},
{
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
}
]
}
@@ -3734,13 +2037,12 @@
}
}
},
- "/ai/parse-docx": {
+ "/agent/messages/send": {
"post": {
- "operationId": "parseResumeDocx",
- "summary": "Parse a DOCX file into resume data",
- "description": "Extracts structured resume data from a DOCX or DOC file using the specified AI provider. The file should be sent as a base64-encoded string along with AI provider credentials and the document's media type. Returns a complete ResumeData object. Requires authentication.",
+ "operationId": "sendAgentMessage",
+ "summary": "Send agent message",
"tags": [
- "AI"
+ "Agent"
],
"requestBody": {
"required": true,
@@ -3749,36 +2051,20 @@
"schema": {
"type": "object",
"properties": {
- "aiProviderId": {
+ "threadId": {
"type": "string"
},
- "file": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "data": {
- "type": "string",
- "maxLength": 13981018
- }
- },
- "required": [
- "name",
- "data"
- ]
- },
- "mediaType": {
- "enum": [
- "application/msword",
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
- ],
- "type": "string"
+ "message": {},
+ "attachmentIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
"required": [
- "file",
- "mediaType"
+ "threadId",
+ "message"
]
}
}
@@ -3786,7 +2072,7 @@
},
"responses": {
"200": {
- "description": "The DOCX was successfully parsed into structured resume data.",
+ "description": "OK",
"content": {
"application/json": {
"schema": {
@@ -3799,121 +2085,48 @@
}
}
}
- },
- "400": {
- "description": "400",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_REQUEST"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "The AI returned an improperly formatted structure."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
+ }
+ }
+ }
+ },
+ "/agent/messages/stop": {
+ "post": {
+ "operationId": "stopAgentMessage",
+ "summary": "Stop active agent run",
+ "tags": [
+ "Agent"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "threadId": {
+ "type": "string"
+ },
+ "partialMessage": {}
+ },
+ "required": [
+ "threadId"
+ ]
}
}
- },
- "502": {
- "description": "502",
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
"content": {
"application/json": {
"schema": {
- "oneOf": [
+ "anyOf": [
{
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_GATEWAY"
- },
- "status": {
- "const": 502
- },
- "message": {
- "type": "string",
- "default": "The AI provider returned an error or is unreachable."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
},
{
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
}
]
}
@@ -3923,13 +2136,24 @@
}
}
},
- "/ai/chat": {
- "post": {
- "operationId": "aiChat",
- "summary": "Chat with AI to modify resume",
- "description": "Streams a chat response from the configured AI provider. The LLM can call the propose_resume_patches tool to generate JSON Patch proposals for explicit user approval. Requires authentication and AI provider credentials.",
+ "/agent/messages/resume": {
+ "get": {
+ "operationId": "resumeAgentMessages",
+ "summary": "Resume agent message stream",
"tags": [
- "AI"
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "threadId",
+ "in": "query",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
+ }
],
"responses": {
"200": {
@@ -3950,13 +2174,12 @@
}
}
},
- "/ai/ats-review": {
+ "/agent/attachments": {
"post": {
- "operationId": "atsReview",
- "summary": "Review extracted resume text",
- "description": "Reviews the plain text extracted from a resume PDF and returns qualitative feedback: a summary, rewrite suggestions, strengths, and — when a job description is supplied — how the candidate's experience lines up with the role. Deliberately returns no score: the deterministic ATS report owns the only number in this feature. Requires authentication and AI credentials.",
+ "operationId": "createAgentAttachment",
+ "summary": "Create agent attachment",
"tags": [
- "AI"
+ "Agent"
],
"requestBody": {
"required": true,
@@ -3965,48 +2188,24 @@
"schema": {
"type": "object",
"properties": {
- "aiProviderId": {
+ "threadId": {
"type": "string"
},
- "extractedText": {
- "type": "string",
- "minLength": 1,
- "maxLength": 50000
+ "filename": {
+ "type": "string"
},
- "findings": {
- "type": "array",
- "maxItems": 120,
- "items": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "maxLength": 64
- },
- "severity": {
- "type": "string",
- "maxLength": 16
- },
- "message": {
- "type": "string",
- "maxLength": 300
- }
- },
- "required": [
- "code",
- "severity",
- "message"
- ]
- },
- "default": []
+ "mediaType": {
+ "type": "string"
},
- "jobDescription": {
- "type": "string",
- "maxLength": 20000
+ "data": {
+ "type": "string"
}
},
"required": [
- "extractedText"
+ "threadId",
+ "filename",
+ "mediaType",
+ "data"
]
}
}
@@ -4014,160 +2213,52 @@
},
"responses": {
"200": {
- "description": "Qualitative review returned successfully.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "summary": {
- "type": "string"
- },
- "suggestions": {},
- "strengths": {},
- "jdAlignment": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "verdict": {
- "type": "string"
- },
- "missingConcepts": {},
- "strengths": {}
- },
- "required": [
- "verdict"
- ]
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "summary",
- "jdAlignment"
- ]
- }
- }
- }
- },
- "400": {
- "description": "400",
+ "description": "OK",
"content": {
"application/json": {
"schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_REQUEST"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "The AI returned an improperly formatted structure."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
+ "anyOf": [
+ {},
{
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
}
]
}
}
}
- },
- "502": {
- "description": "502",
+ }
+ }
+ }
+ },
+ "/agent/attachments/{id}": {
+ "delete": {
+ "operationId": "deleteAgentAttachment",
+ "summary": "Delete agent attachment",
+ "tags": [
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"content": {
"application/json": {
"schema": {
- "oneOf": [
+ "anyOf": [
{
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_GATEWAY"
- },
- "status": {
- "const": 502
- },
- "message": {
- "type": "string",
- "default": "The AI provider returned an error or is unreachable."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
},
{
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
}
]
}
@@ -4177,13 +2268,22 @@
}
}
},
- "/ai-providers": {
- "get": {
- "operationId": "listAiProviders",
- "summary": "List saved AI providers",
- "description": "Lists saved provider/model/API key combinations for the authenticated user. API keys are redacted.",
+ "/agent/actions/{id}/revert": {
+ "post": {
+ "operationId": "revertAgentAction",
+ "summary": "Restore agent action snapshot",
"tags": [
- "AI Providers"
+ "Agent"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
],
"responses": {
"200": {
@@ -4200,627 +2300,629 @@
}
}
}
- },
- "412": {
- "description": "412",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "PRECONDITION_FAILED"
- },
- "status": {
- "const": 412
- },
- "message": {
- "type": "string",
- "default": "AI agent workspace is not configured."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
}
}
- },
- "post": {
- "operationId": "createAiProvider",
- "summary": "Create saved AI provider",
- "description": "Stores an encrypted provider/model/API key combination. The key is never returned.",
+ }
+ },
+ "/applications": {
+ "get": {
+ "operationId": "listApplications",
+ "summary": "List job applications",
+ "description": "Returns all job applications belonging to the authenticated user, most recently updated first. Archived applications are excluded unless includeArchived is set. Optionally filter by pipeline stage. Requires authentication.",
"tags": [
- "AI Providers"
+ "Applications"
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string",
- "minLength": 1
- },
- "provider": {
- "enum": [
- "openai",
- "anthropic",
- "gemini",
- "vercel-ai-gateway",
- "openrouter",
- "mistral",
- "cohere",
- "xai",
- "groq",
- "deepseek",
- "togetherai",
- "fireworks",
- "cerebras",
- "perplexity",
- "ollama",
- "openai-compatible"
- ],
- "type": "string"
- },
- "model": {
- "type": "string",
- "minLength": 1
- },
- "baseURL": {
- "type": "string"
- },
- "apiKey": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "label",
- "provider",
- "model",
- "apiKey"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
+ "parameters": [
+ {
+ "name": "status",
+ "in": "query",
+ "schema": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
},
- "400": {
- "description": "400",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_REQUEST"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "Invalid AI provider configuration."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
+ {
+ "name": "tags",
+ "in": "query",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
- }
+ },
+ "style": "deepObject",
+ "explode": true,
+ "allowEmptyValue": true,
+ "allowReserved": true
},
- "412": {
- "description": "412",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "PRECONDITION_FAILED"
- },
- "status": {
- "const": 412
- },
- "message": {
- "type": "string",
- "default": "AI agent workspace is not configured."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/ai-providers/{id}": {
- "patch": {
- "operationId": "updateAiProvider",
- "summary": "Update saved AI provider",
- "description": "Updates a saved provider/model/API key combination. Updating the key requires retesting before use.",
- "tags": [
- "AI Providers"
- ],
- "parameters": [
{
- "name": "id",
- "in": "path",
- "required": true,
+ "name": "includeArchived",
+ "in": "query",
"schema": {
- "type": "string"
- }
+ "type": "boolean",
+ "default": false
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
}
],
- "requestBody": {
- "required": false,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string",
- "minLength": 1
- },
- "provider": {
- "enum": [
- "openai",
- "anthropic",
- "gemini",
- "vercel-ai-gateway",
- "openrouter",
- "mistral",
- "cohere",
- "xai",
- "groq",
- "deepseek",
- "togetherai",
- "fireworks",
- "cerebras",
- "perplexity",
- "ollama",
- "openai-compatible"
- ],
- "type": "string"
- },
- "model": {
- "type": "string",
- "minLength": 1
- },
- "baseURL": {
- "type": "string"
- },
- "apiKey": {
- "type": "string",
- "minLength": 1
- },
- "enabled": {
- "type": "boolean"
- }
- }
- }
- }
- }
- },
"responses": {
"200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- },
- "400": {
- "description": "400",
+ "description": "A list of the user's job applications.",
"content": {
"application/json": {
"schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_REQUEST"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "Invalid AI provider configuration."
- },
- "data": {}
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the application."
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
- },
- "404": {
- "description": "404",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "NOT_FOUND"
- },
- "status": {
- "const": 404
- },
- "message": {
- "type": "string",
- "default": "AI provider was not found."
- },
- "data": {}
+ "role": {
+ "type": "string",
+ "description": "The role / job title."
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
- },
- "412": {
- "description": "412",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "PRECONDITION_FAILED"
- },
- "status": {
- "const": 412
- },
- "message": {
- "type": "string",
- "default": "AI agent workspace is not configured."
- },
- "data": {}
+ "salary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string",
+ "description": "The current pipeline stage."
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
- }
- }
- },
- "delete": {
- "operationId": "deleteAiProvider",
- "summary": "Delete saved AI provider",
- "description": "Deletes a saved provider/model/API key combination.",
- "tags": [
- "AI Providers"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
+ "archived": {
+ "type": "boolean"
+ },
+ "resumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The linked Reactive Resume, if any."
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sourceUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "jobDescription": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "matchScore": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "aiMetadata": {
+ "anyOf": [
+ {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpAt": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpNote": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contacts": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "string",
+ "default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ },
+ "activity": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "at": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "type": {
+ "const": "stage"
+ },
+ "stage": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "at",
+ "type",
+ "stage"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "at": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "type": {
+ "const": "note"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "at",
+ "type",
+ "text"
+ ]
+ }
+ ]
+ }
+ },
+ "appliedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
},
- {
- "not": {}
- }
- ]
+ "required": [
+ "id",
+ "company",
+ "role",
+ "location",
+ "salary",
+ "status",
+ "archived",
+ "resumeId",
+ "source",
+ "tags",
+ "sourceUrl",
+ "jobDescription",
+ "matchScore",
+ "aiMetadata",
+ "notes",
+ "resumeFileUrl",
+ "resumeFileName",
+ "coverLetterUrl",
+ "coverLetterName",
+ "followUpAt",
+ "followUpNote",
+ "contacts",
+ "activity",
+ "appliedAt",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
}
}
}
- },
- "412": {
- "description": "412",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
+ }
+ }
+ },
+ "post": {
+ "operationId": "createApplication",
+ "summary": "Create a job application",
+ "description": "Creates a new job application in the pipeline. Company and role are required; all other fields (stage, location, salary, source, linked resume, follow-up, notes, contacts) are optional. Requires authentication.",
+ "tags": [
+ "Applications"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role / job title."
+ },
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "salary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "jobDescription": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpAt": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpNote": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contacts": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "defined": {
- "const": true
+ "name": {
+ "type": "string"
},
- "code": {
- "const": "PRECONDITION_FAILED"
+ "role": {
+ "type": "string",
+ "default": ""
},
- "status": {
- "const": 412
+ "type": {
+ "type": "string",
+ "default": ""
},
- "message": {
+ "email": {
"type": "string",
- "default": "AI agent workspace is not configured."
+ "default": ""
},
- "data": {}
+ "phone": {
+ "type": "string",
+ "default": ""
+ }
},
"required": [
- "defined",
- "code",
- "status",
- "message"
+ "name"
]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
+ }
+ },
+ "resumeId": {
+ "anyOf": [
+ {
+ "type": "string"
},
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The linked Reactive Resume, if any."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
- ]
+ },
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "stageEnteredAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "company",
+ "role"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The ID of the newly created application.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string",
+ "description": "The ID of the created application."
}
}
}
@@ -4828,13 +2930,13 @@
}
}
},
- "/ai-providers/{id}/test": {
- "post": {
- "operationId": "testAiProvider",
- "summary": "Test saved AI provider",
- "description": "Decrypts the saved API key server-side and validates the provider/model connection.",
+ "/applications/{id}": {
+ "get": {
+ "operationId": "getApplication",
+ "summary": "Get application by ID",
+ "description": "Returns a single job application with its full detail (contacts, activity timeline, linked resume). Only applications belonging to the authenticated user can be retrieved. Requires authentication.",
"tags": [
- "AI Providers"
+ "Applications"
],
"parameters": [
{
@@ -4842,412 +2944,347 @@
"in": "path",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "description": "The ID of the application."
}
}
],
"responses": {
"200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- },
- "400": {
- "description": "400",
+ "description": "The job application.",
"content": {
"application/json": {
"schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_REQUEST"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "Invalid AI provider configuration."
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the application."
+ },
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role / job title."
+ },
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
},
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
+ "salary": {
+ "anyOf": [
+ {
"type": "string"
},
- "status": {
- "type": "number"
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string",
+ "description": "The current pipeline stage."
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "resumeId": {
+ "anyOf": [
+ {
+ "type": "string"
},
- "message": {
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The linked Reactive Resume, if any."
+ },
+ "source": {
+ "anyOf": [
+ {
"type": "string"
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
- }
- ]
- }
- }
- }
- },
- "404": {
- "description": "404",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "NOT_FOUND"
- },
- "status": {
- "const": 404
- },
- "message": {
- "type": "string",
- "default": "AI provider was not found."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sourceUrl": {
+ "anyOf": [
+ {
+ "type": "string"
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
},
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
+ "jobDescription": {
+ "anyOf": [
+ {
"type": "string"
},
- "status": {
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "matchScore": {
+ "anyOf": [
+ {
"type": "number"
},
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
- }
- ]
- }
- }
- }
- },
- "412": {
- "description": "412",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "PRECONDITION_FAILED"
- },
- "status": {
- "const": 412
- },
- "message": {
- "type": "string",
- "default": "AI agent workspace is not configured."
+ },
+ "aiMetadata": {
+ "anyOf": [
+ {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
},
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
+ "notes": {
+ "anyOf": [
+ {
"type": "string"
},
- "status": {
- "type": "number"
- },
- "message": {
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileUrl": {
+ "anyOf": [
+ {
"type": "string"
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
- }
- ]
- }
- }
- }
- },
- "502": {
- "description": "502",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "BAD_GATEWAY"
- },
- "status": {
- "const": 502
- },
- "message": {
- "type": "string",
- "default": "The AI provider returned an error or is unreachable."
+ },
+ "resumeFileName": {
+ "anyOf": [
+ {
+ "type": "string"
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
},
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
+ "coverLetterUrl": {
+ "anyOf": [
+ {
+ "type": "string"
},
- "code": {
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterName": {
+ "anyOf": [
+ {
"type": "string"
},
- "status": {
- "type": "number"
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpAt": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
},
- "message": {
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpNote": {
+ "anyOf": [
+ {
"type": "string"
},
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
+ {
+ "type": "null"
+ }
]
+ },
+ "contacts": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "string",
+ "default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ },
+ "activity": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "at": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "type": {
+ "const": "stage"
+ },
+ "stage": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "at",
+ "type",
+ "stage"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "at": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "type": {
+ "const": "note"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "at",
+ "type",
+ "text"
+ ]
+ }
+ ]
+ }
+ },
+ "appliedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
}
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/threads": {
- "get": {
- "operationId": "listAgentThreads",
- "summary": "List agent threads",
- "tags": [
- "Agent"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- },
- "post": {
- "operationId": "createAgentThread",
- "summary": "Create agent thread",
- "tags": [
- "Agent"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "aiProviderId": {
- "type": "string"
- },
- "sourceResumeId": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/threads/for-resume": {
- "post": {
- "operationId": "getOrCreateAgentThreadForResume",
- "summary": "Get or create an in-resume agent thread",
- "tags": [
- "Agent"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "resumeId": {
- "type": "string"
- },
- "aiProviderId": {
- "type": "string"
- }
- },
- "required": [
- "resumeId"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/threads/{id}": {
- "get": {
- "operationId": "getAgentThread",
- "summary": "Get agent thread",
- "tags": [
- "Agent"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
+ },
+ "required": [
+ "id",
+ "company",
+ "role",
+ "location",
+ "salary",
+ "status",
+ "archived",
+ "resumeId",
+ "source",
+ "tags",
+ "sourceUrl",
+ "jobDescription",
+ "matchScore",
+ "aiMetadata",
+ "notes",
+ "resumeFileUrl",
+ "resumeFileName",
+ "coverLetterUrl",
+ "coverLetterName",
+ "followUpAt",
+ "followUpNote",
+ "contacts",
+ "activity",
+ "appliedAt",
+ "createdAt",
+ "updatedAt"
]
}
}
@@ -5255,11 +3292,12 @@
}
}
},
- "patch": {
- "operationId": "updateAgentThread",
- "summary": "Update agent thread settings",
+ "put": {
+ "operationId": "updateApplication",
+ "summary": "Update a job application",
+ "description": "Updates one or more fields of an application, including moving it to a different pipeline stage or archiving it. Moving stages automatically appends an entry to the activity timeline. Only provided fields are changed. Requires authentication.",
"tags": [
- "Agent"
+ "Applications"
],
"parameters": [
{
@@ -5272,244 +3310,579 @@
}
],
"requestBody": {
- "required": true,
+ "required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "reviewPatches": {
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role / job title."
+ },
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "salary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "jobDescription": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpAt": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpNote": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contacts": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "string",
+ "default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ },
+ "resumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The linked Reactive Resume, if any."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "archived": {
"type": "boolean"
}
- },
- "required": [
- "reviewPatches"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
}
}
}
}
- }
- },
- "delete": {
- "operationId": "deleteAgentThread",
- "summary": "Delete agent thread",
- "tags": [
- "Agent"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
+ },
"responses": {
"200": {
- "description": "OK",
+ "description": "The updated application.",
"content": {
"application/json": {
"schema": {
- "anyOf": [
- {
- "not": {}
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the application."
},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/threads/{id}/archive": {
- "post": {
- "operationId": "archiveAgentThread",
- "summary": "Archive agent thread",
- "tags": [
- "Agent"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/messages/send": {
- "post": {
- "operationId": "sendAgentMessage",
- "summary": "Send agent message",
- "tags": [
- "Agent"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "threadId": {
- "type": "string"
- },
- "message": {},
- "attachmentIds": {
- "type": "array",
- "maxItems": 10,
- "items": {
+ "role": {
"type": "string",
- "minLength": 1
- }
- }
- },
- "required": [
- "threadId",
- "message"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/messages/stop": {
- "post": {
- "operationId": "stopAgentMessage",
- "summary": "Stop active agent run",
- "tags": [
- "Agent"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "threadId": {
- "type": "string"
- },
- "partialMessage": {}
- },
- "required": [
- "threadId"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
+ "description": "The role / job title."
},
- {
- "not": {}
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "salary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string",
+ "description": "The current pipeline stage."
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "resumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The linked Reactive Resume, if any."
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sourceUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "jobDescription": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "matchScore": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "aiMetadata": {
+ "anyOf": [
+ {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpAt": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpNote": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contacts": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "string",
+ "default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ },
+ "activity": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "at": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "type": {
+ "const": "stage"
+ },
+ "stage": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "at",
+ "type",
+ "stage"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "at": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "type": {
+ "const": "note"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "at",
+ "type",
+ "text"
+ ]
+ }
+ ]
+ }
+ },
+ "appliedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
}
+ },
+ "required": [
+ "id",
+ "company",
+ "role",
+ "location",
+ "salary",
+ "status",
+ "archived",
+ "resumeId",
+ "source",
+ "tags",
+ "sourceUrl",
+ "jobDescription",
+ "matchScore",
+ "aiMetadata",
+ "notes",
+ "resumeFileUrl",
+ "resumeFileName",
+ "coverLetterUrl",
+ "coverLetterName",
+ "followUpAt",
+ "followUpNote",
+ "contacts",
+ "activity",
+ "appliedAt",
+ "createdAt",
+ "updatedAt"
]
}
}
}
}
}
- }
- },
- "/agent/messages/resume": {
- "get": {
- "operationId": "resumeAgentMessages",
- "summary": "Resume agent message stream",
+ },
+ "delete": {
+ "operationId": "deleteApplication",
+ "summary": "Delete a job application",
+ "description": "Permanently deletes a job application. Requires authentication.",
"tags": [
- "Agent"
+ "Applications"
],
"parameters": [
{
- "name": "threadId",
- "in": "query",
+ "name": "id",
+ "in": "path",
"required": true,
"schema": {
- "type": "string"
- },
- "allowEmptyValue": true,
- "allowReserved": true
+ "type": "string",
+ "description": "The ID of the application."
+ }
}
],
"responses": {
"200": {
- "description": "OK",
+ "description": "The application was deleted successfully.",
"content": {
"application/json": {
"schema": {
"anyOf": [
- {},
+ {
+ "not": {}
+ },
{
"not": {}
}
@@ -5521,12 +3894,13 @@
}
}
},
- "/agent/attachments": {
+ "/applications/import": {
"post": {
- "operationId": "createAgentAttachment",
- "summary": "Create agent attachment",
+ "operationId": "importApplications",
+ "summary": "Bulk import applications",
+ "description": "Creates many applications at once from a parsed CSV. Each item requires company and role. Returns the number imported. Requires authentication.",
"tags": [
- "Agent"
+ "Applications"
],
"requestBody": {
"required": true,
@@ -5535,117 +3909,231 @@
"schema": {
"type": "object",
"properties": {
- "threadId": {
- "type": "string"
- },
- "filename": {
- "type": "string",
- "minLength": 1
- },
- "mediaType": {
- "type": "string",
- "minLength": 1
- },
- "data": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "threadId",
- "filename",
- "mediaType",
- "data"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/agent/attachments/{id}": {
- "delete": {
- "operationId": "deleteAgentAttachment",
- "summary": "Delete agent attachment",
- "tags": [
- "Agent"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
- },
- {
- "not": {}
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role / job title."
+ },
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "salary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "jobDescription": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resumeFileName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverLetterName": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpAt": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpNote": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contacts": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "string",
+ "default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ },
+ "resumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The linked Reactive Resume, if any."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "stageEnteredAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "company",
+ "role"
+ ]
}
- ]
- }
+ }
+ },
+ "required": [
+ "items"
+ ]
}
}
}
- }
- }
- },
- "/agent/actions/{id}/revert": {
- "post": {
- "operationId": "revertAgentAction",
- "summary": "Restore agent action snapshot",
- "tags": [
- "Agent"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
+ },
"responses": {
"200": {
- "description": "OK",
+ "description": "The number of applications imported.",
"content": {
"application/json": {
"schema": {
- "anyOf": [
- {},
- {
- "not": {}
+ "type": "object",
+ "properties": {
+ "imported": {
+ "type": "number"
}
+ },
+ "required": [
+ "imported"
]
}
}
@@ -5654,679 +4142,82 @@
}
}
},
- "/applications": {
- "get": {
- "operationId": "listApplications",
- "summary": "List job applications",
- "description": "Returns all job applications belonging to the authenticated user, most recently updated first. Archived applications are excluded unless includeArchived is set. Optionally filter by pipeline stage. Requires authentication.",
+ "/applications/{id}/documents/{kind}": {
+ "post": {
+ "operationId": "attachApplicationDocument",
+ "summary": "Attach an application document",
+ "description": "Uploads and attaches a PDF document to an application. Kind must be either resume or cover-letter. Requires authentication.",
"tags": [
"Applications"
],
"parameters": [
{
- "name": "status",
- "in": "query",
+ "name": "id",
+ "in": "path",
+ "required": true,
"schema": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
"type": "string"
- },
- "allowEmptyValue": true,
- "allowReserved": true
- },
- {
- "name": "tags",
- "in": "query",
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "style": "deepObject",
- "explode": true,
- "allowEmptyValue": true,
- "allowReserved": true
+ }
},
{
- "name": "includeArchived",
- "in": "query",
+ "name": "kind",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "boolean",
- "default": false
- },
- "allowEmptyValue": true,
- "allowReserved": true
+ "enum": [
+ "resume",
+ "cover-letter"
+ ],
+ "type": "string"
+ }
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "multipart/form-data": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "file": {
+ "type": "string",
+ "contentMediaType": "*/*"
+ }
+ },
+ "required": [
+ "file"
+ ]
+ }
+ }
+ }
+ },
"responses": {
"200": {
- "description": "A list of the user's job applications.",
+ "description": "The updated application.",
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the application."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
- },
- "role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
- },
- "location": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "salary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string",
- "description": "The current pipeline stage."
- },
- "archived": {
- "type": "boolean"
- },
- "resumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The linked Reactive Resume, if any."
- },
- "source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tags": {
- "type": "array",
- "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the application."
+ },
+ "company": {
+ "type": "string",
+ "description": "The company applied to."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role / job title."
+ },
+ "location": {
+ "anyOf": [
+ {
"type": "string"
- }
- },
- "sourceUrl": {
- "anyOf": [
- {
- "type": "string",
- "format": "uri"
- },
- {
- "type": "null"
- }
- ]
- },
- "jobDescription": {
- "anyOf": [
- {
- "type": "string",
- "maxLength": 20000
- },
- {
- "type": "null"
- }
- ]
- },
- "matchScore": {
- "anyOf": [
- {
- "type": "integer",
- "minimum": 0,
- "maximum": 100
- },
- {
- "type": "null"
- }
- ]
- },
- "aiMetadata": {
- "anyOf": [
- {
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpNote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contacts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1
- },
- "role": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "string",
- "default": ""
- }
- },
- "required": [
- "name"
- ]
- }
- },
- "activity": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "at": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "type": {
- "const": "stage"
- },
- "stage": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "at",
- "type",
- "stage"
- ]
- },
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "at": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "type": {
- "const": "note"
- },
- "text": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "id",
- "at",
- "type",
- "text"
- ]
- }
- ]
- }
- },
- "appliedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- }
- },
- "required": [
- "id",
- "company",
- "role",
- "location",
- "salary",
- "status",
- "archived",
- "resumeId",
- "source",
- "tags",
- "sourceUrl",
- "jobDescription",
- "matchScore",
- "aiMetadata",
- "notes",
- "resumeFileUrl",
- "resumeFileName",
- "coverLetterUrl",
- "coverLetterName",
- "followUpAt",
- "followUpNote",
- "contacts",
- "activity",
- "appliedAt",
- "createdAt",
- "updatedAt"
- ]
- }
- }
- }
- }
- }
- }
- },
- "post": {
- "operationId": "createApplication",
- "summary": "Create a job application",
- "description": "Creates a new job application in the pipeline. Company and role are required; all other fields (stage, location, salary, source, linked resume, follow-up, notes, contacts) are optional. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
- },
- "role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
- },
- "location": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "salary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "jobDescription": {
- "anyOf": [
- {
- "type": "string",
- "maxLength": 20000
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpNote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contacts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1
- },
- "role": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "string",
- "default": ""
- }
- },
- "required": [
- "name"
- ]
- }
- },
- "resumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The linked Reactive Resume, if any."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- },
- "stageEnteredAt": {
- "type": "string",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
- }
- },
- "required": [
- "company",
- "role"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The ID of the newly created application.",
- "content": {
- "application/json": {
- "schema": {
- "type": "string",
- "description": "The ID of the created application."
- }
- }
- }
- }
- }
- }
- },
- "/applications/{id}": {
- "get": {
- "operationId": "getApplication",
- "summary": "Get application by ID",
- "description": "Returns a single job application with its full detail (contacts, activity timeline, linked resume). Only applications belonging to the authenticated user can be retrieved. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the application."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The job application.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the application."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
- },
- "role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
- },
- "location": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
+ },
+ {
+ "type": "null"
}
]
},
@@ -6385,8 +4276,7 @@
"sourceUrl": {
"anyOf": [
{
- "type": "string",
- "format": "uri"
+ "type": "string"
},
{
"type": "null"
@@ -6396,8 +4286,7 @@
"jobDescription": {
"anyOf": [
{
- "type": "string",
- "maxLength": 20000
+ "type": "string"
},
{
"type": "null"
@@ -6407,9 +4296,7 @@
"matchScore": {
"anyOf": [
{
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "type": "number"
},
{
"type": "null"
@@ -6508,8 +4395,7 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"role": {
"type": "string",
@@ -6518,6 +4404,14 @@
"type": {
"type": "string",
"default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
}
},
"required": [
@@ -6533,8 +4427,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -6567,8 +4460,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -6579,8 +4471,7 @@
"const": "note"
},
"text": {
- "type": "string",
- "minLength": 1
+ "type": "string"
}
},
"required": [
@@ -6643,10 +4534,10 @@
}
}
},
- "put": {
- "operationId": "updateApplication",
- "summary": "Update a job application",
- "description": "Updates one or more fields of an application, including moving it to a different pipeline stage or archiving it. Moving stages automatically appends an entry to the activity timeline. Only provided fields are changed. Requires authentication.",
+ "delete": {
+ "operationId": "removeApplicationDocument",
+ "summary": "Remove an application document",
+ "description": "Removes a resume or cover-letter PDF from an application and clears the stored document fields. Requires authentication.",
"tags": [
"Applications"
],
@@ -6658,207 +4549,20 @@
"schema": {
"type": "string"
}
+ },
+ {
+ "name": "kind",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "enum": [
+ "resume",
+ "cover-letter"
+ ],
+ "type": "string"
+ }
}
],
- "requestBody": {
- "required": false,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
- },
- "role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
- },
- "location": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "salary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "jobDescription": {
- "anyOf": [
- {
- "type": "string",
- "maxLength": 20000
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpNote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contacts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1
- },
- "role": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "string",
- "default": ""
- }
- },
- "required": [
- "name"
- ]
- }
- },
- "resumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The linked Reactive Resume, if any."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- },
- "archived": {
- "type": "boolean"
- }
- }
- }
- }
- }
- },
"responses": {
"200": {
"description": "The updated application.",
@@ -6873,12 +4577,10 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The company applied to."
},
"role": {
"type": "string",
- "minLength": 1,
"description": "The role / job title."
},
"location": {
@@ -6946,8 +4648,7 @@
"sourceUrl": {
"anyOf": [
{
- "type": "string",
- "format": "uri"
+ "type": "string"
},
{
"type": "null"
@@ -6957,8 +4658,7 @@
"jobDescription": {
"anyOf": [
{
- "type": "string",
- "maxLength": 20000
+ "type": "string"
},
{
"type": "null"
@@ -6968,9 +4668,7 @@
"matchScore": {
"anyOf": [
{
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "type": "number"
},
{
"type": "null"
@@ -7069,8 +4767,7 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"role": {
"type": "string",
@@ -7079,6 +4776,14 @@
"type": {
"type": "string",
"default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
}
},
"required": [
@@ -7094,8 +4799,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -7128,8 +4832,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -7140,8 +4843,7 @@
"const": "note"
},
"text": {
- "type": "string",
- "minLength": 1
+ "type": "string"
}
},
"required": [
@@ -7203,298 +4905,13 @@
}
}
}
- },
- "delete": {
- "operationId": "deleteApplication",
- "summary": "Delete a job application",
- "description": "Permanently deletes a job application. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the application."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The application was deleted successfully.",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
- },
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/applications/import": {
- "post": {
- "operationId": "importApplications",
- "summary": "Bulk import applications",
- "description": "Creates many applications at once from a parsed CSV. Each item requires company and role. Returns the number imported. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "items": {
- "type": "array",
- "minItems": 1,
- "maxItems": 500,
- "items": {
- "type": "object",
- "properties": {
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
- },
- "role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
- },
- "location": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "salary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "jobDescription": {
- "anyOf": [
- {
- "type": "string",
- "maxLength": 20000
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "resumeFileName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterUrl": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverLetterName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpNote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contacts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1
- },
- "role": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "string",
- "default": ""
- }
- },
- "required": [
- "name"
- ]
- }
- },
- "resumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The linked Reactive Resume, if any."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- },
- "stageEnteredAt": {
- "type": "string",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
- }
- },
- "required": [
- "company",
- "role"
- ]
- }
- }
- },
- "required": [
- "items"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The number of applications imported.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "imported": {
- "type": "number"
- }
- },
- "required": [
- "imported"
- ]
- }
- }
- }
- }
- }
}
},
- "/applications/{id}/documents/{kind}": {
+ "/applications/{id}/notes": {
"post": {
- "operationId": "attachApplicationDocument",
- "summary": "Attach an application document",
- "description": "Uploads and attaches a PDF document to an application. Kind must be either resume or cover-letter. Requires authentication.",
+ "operationId": "addApplicationNote",
+ "summary": "Log a note on the timeline",
+ "description": "Appends a free-text note to the application's activity timeline. Requires authentication.",
"tags": [
"Applications"
],
@@ -7506,34 +4923,24 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "kind",
- "in": "path",
- "required": true,
- "schema": {
- "enum": [
- "resume",
- "cover-letter"
- ],
- "type": "string"
- }
}
],
"requestBody": {
"required": true,
"content": {
- "multipart/form-data": {
+ "application/json": {
"schema": {
"type": "object",
"properties": {
- "file": {
- "type": "string",
- "contentMediaType": "application/pdf"
+ "text": {
+ "type": "string"
+ },
+ "date": {
+ "type": "string"
}
},
"required": [
- "file"
+ "text"
]
}
}
@@ -7553,12 +4960,10 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The company applied to."
},
"role": {
"type": "string",
- "minLength": 1,
"description": "The role / job title."
},
"location": {
@@ -7626,8 +5031,7 @@
"sourceUrl": {
"anyOf": [
{
- "type": "string",
- "format": "uri"
+ "type": "string"
},
{
"type": "null"
@@ -7637,8 +5041,7 @@
"jobDescription": {
"anyOf": [
{
- "type": "string",
- "maxLength": 20000
+ "type": "string"
},
{
"type": "null"
@@ -7648,9 +5051,7 @@
"matchScore": {
"anyOf": [
{
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "type": "number"
},
{
"type": "null"
@@ -7749,8 +5150,7 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"role": {
"type": "string",
@@ -7759,6 +5159,14 @@
"type": {
"type": "string",
"default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
}
},
"required": [
@@ -7774,8 +5182,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -7808,8 +5215,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -7820,8 +5226,7 @@
"const": "note"
},
"text": {
- "type": "string",
- "minLength": 1
+ "type": "string"
}
},
"required": [
@@ -7883,11 +5288,13 @@
}
}
}
- },
- "delete": {
- "operationId": "removeApplicationDocument",
- "summary": "Remove an application document",
- "description": "Removes a resume or cover-letter PDF from an application and clears the stored document fields. Requires authentication.",
+ }
+ },
+ "/applications/{id}/timeline/{entryId}": {
+ "put": {
+ "operationId": "updateApplicationTimelineEntry",
+ "summary": "Update a timeline entry",
+ "description": "Updates a timeline entry date, or note text for note entries. Requires authentication.",
"tags": [
"Applications"
],
@@ -7901,18 +5308,32 @@
}
},
{
- "name": "kind",
+ "name": "entryId",
"in": "path",
"required": true,
"schema": {
- "enum": [
- "resume",
- "cover-letter"
- ],
"type": "string"
}
}
],
+ "requestBody": {
+ "required": false,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "The updated application.",
@@ -7927,12 +5348,10 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The company applied to."
},
"role": {
"type": "string",
- "minLength": 1,
"description": "The role / job title."
},
"location": {
@@ -8000,8 +5419,7 @@
"sourceUrl": {
"anyOf": [
{
- "type": "string",
- "format": "uri"
+ "type": "string"
},
{
"type": "null"
@@ -8011,8 +5429,7 @@
"jobDescription": {
"anyOf": [
{
- "type": "string",
- "maxLength": 20000
+ "type": "string"
},
{
"type": "null"
@@ -8022,9 +5439,7 @@
"matchScore": {
"anyOf": [
{
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "type": "number"
},
{
"type": "null"
@@ -8123,8 +5538,7 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"role": {
"type": "string",
@@ -8133,6 +5547,14 @@
"type": {
"type": "string",
"default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
}
},
"required": [
@@ -8148,8 +5570,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -8182,8 +5603,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -8194,8 +5614,7 @@
"const": "note"
},
"text": {
- "type": "string",
- "minLength": 1
+ "type": "string"
}
},
"required": [
@@ -8257,13 +5676,11 @@
}
}
}
- }
- },
- "/applications/{id}/notes": {
- "post": {
- "operationId": "addApplicationNote",
- "summary": "Log a note on the timeline",
- "description": "Appends a free-text note to the application's activity timeline. Requires authentication.",
+ },
+ "delete": {
+ "operationId": "deleteApplicationTimelineEntry",
+ "summary": "Delete a timeline entry",
+ "description": "Deletes a note or older stage entry. The current stage entry cannot be deleted. Requires authentication.",
"tags": [
"Applications"
],
@@ -8275,31 +5692,16 @@
"schema": {
"type": "string"
}
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string",
- "minLength": 1
- },
- "date": {
- "type": "string",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
- }
- },
- "required": [
- "text"
- ]
- }
+ },
+ {
+ "name": "entryId",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
}
- },
+ ],
"responses": {
"200": {
"description": "The updated application.",
@@ -8314,12 +5716,10 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The company applied to."
},
"role": {
"type": "string",
- "minLength": 1,
"description": "The role / job title."
},
"location": {
@@ -8387,8 +5787,7 @@
"sourceUrl": {
"anyOf": [
{
- "type": "string",
- "format": "uri"
+ "type": "string"
},
{
"type": "null"
@@ -8398,8 +5797,7 @@
"jobDescription": {
"anyOf": [
{
- "type": "string",
- "maxLength": 20000
+ "type": "string"
},
{
"type": "null"
@@ -8409,9 +5807,7 @@
"matchScore": {
"anyOf": [
{
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "type": "number"
},
{
"type": "null"
@@ -8510,8 +5906,7 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"role": {
"type": "string",
@@ -8520,6 +5915,14 @@
"type": {
"type": "string",
"default": ""
+ },
+ "email": {
+ "type": "string",
+ "default": ""
+ },
+ "phone": {
+ "type": "string",
+ "default": ""
}
},
"required": [
@@ -8535,8 +5938,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -8569,8 +5971,7 @@
"type": "object",
"properties": {
"id": {
- "type": "string",
- "minLength": 1
+ "type": "string"
},
"at": {
"type": "string",
@@ -8581,8 +5982,7 @@
"const": "note"
},
"text": {
- "type": "string",
- "minLength": 1
+ "type": "string"
}
},
"required": [
@@ -8646,403 +6046,415 @@
}
}
},
- "/applications/{id}/timeline/{entryId}": {
- "put": {
- "operationId": "updateApplicationTimelineEntry",
- "summary": "Update a timeline entry",
- "description": "Updates a timeline entry date, or note text for note entries. Requires authentication.",
+ "/applications/bulk-update": {
+ "post": {
+ "operationId": "bulkUpdateApplications",
+ "summary": "Bulk update applications",
+ "description": "Applies the same change (move stage, archive/unarchive, add tags) to multiple applications at once. Requires authentication.",
"tags": [
"Applications"
],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "addTags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "ids"
+ ]
+ }
}
- },
- {
- "name": "entryId",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The number of applications updated.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "updated": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "updated"
+ ]
+ }
+ }
}
}
+ }
+ }
+ },
+ "/applications/bulk-delete": {
+ "post": {
+ "operationId": "bulkDeleteApplications",
+ "summary": "Bulk delete applications",
+ "description": "Permanently deletes multiple applications at once. Requires authentication.",
+ "tags": [
+ "Applications"
],
"requestBody": {
- "required": false,
+ "required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "date": {
- "type": "string",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "ids"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The number of applications deleted.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "deleted": {
+ "type": "number"
+ }
},
- "text": {
- "type": "string",
- "minLength": 1
+ "required": [
+ "deleted"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/applications/stats": {
+ "get": {
+ "operationId": "getApplicationStats",
+ "summary": "Application pipeline stats",
+ "description": "Returns aggregate counts (per stage, per source) for the Insights view. Requires authentication.",
+ "tags": [
+ "Applications"
+ ],
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "Aggregate application counts.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "number"
+ },
+ "byStage": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "enum": [
+ "saved",
+ "applied",
+ "screening",
+ "interview",
+ "offer",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "status",
+ "count"
+ ]
+ }
+ },
+ "bySource": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "source": {
+ "type": "string"
+ },
+ "count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "source",
+ "count"
+ ]
+ }
+ }
+ },
+ "required": [
+ "total",
+ "byStage",
+ "bySource"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/applications/tags": {
+ "get": {
+ "operationId": "listApplicationTags",
+ "summary": "List application tags",
+ "description": "Returns the distinct tags used across the user's applications. Requires authentication.",
+ "tags": [
+ "Applications"
+ ],
+ "responses": {
+ "200": {
+ "description": "Distinct tags.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
}
}
}
}
+ }
+ }
+ },
+ "/applications/ai/autofill": {
+ "post": {
+ "operationId": "aiAutofillApplication",
+ "tags": [
+ "Applications",
+ "AI"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "jobDescription": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "jobDescription"
+ ]
+ }
+ }
+ }
},
"responses": {
"200": {
- "description": "The updated application.",
+ "description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The ID of the application."
- },
"company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
+ "type": "string"
},
"role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
+ "type": "string"
},
"location": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "string"
},
"salary": {
- "anyOf": [
- {
- "type": "string"
+ "type": "string"
+ }
+ },
+ "required": [
+ "company",
+ "role",
+ "location",
+ "salary"
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
},
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string",
- "description": "The current pipeline stage."
- },
- "archived": {
- "type": "boolean"
- },
- "resumeId": {
- "anyOf": [
- {
- "type": "string"
+ "code": {
+ "const": "BAD_REQUEST"
},
- {
- "type": "null"
- }
- ],
- "description": "The linked Reactive Resume, if any."
- },
- "source": {
- "anyOf": [
- {
- "type": "string"
+ "status": {
+ "const": 400
},
- {
- "type": "null"
- }
- ]
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "sourceUrl": {
- "anyOf": [
- {
+ "message": {
"type": "string",
- "format": "uri"
+ "default": "Invalid application or AI request."
},
- {
- "type": "null"
- }
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "jobDescription": {
- "anyOf": [
- {
- "type": "string",
- "maxLength": 20000
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- {
- "type": "null"
- }
- ]
- },
- "matchScore": {
- "anyOf": [
- {
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "code": {
+ "type": "string"
},
- {
- "type": "null"
- }
- ]
- },
- "aiMetadata": {
- "anyOf": [
- {
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
+ "status": {
+ "type": "number"
},
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
+ "message": {
"type": "string"
},
- {
- "type": "null"
- }
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "resumeFileUrl": {
- "anyOf": [
- {
- "type": "string"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "502": {
+ "description": "502",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
},
- {
- "type": "null"
- }
- ]
- },
- "resumeFileName": {
- "anyOf": [
- {
- "type": "string"
+ "code": {
+ "const": "BAD_GATEWAY"
},
- {
- "type": "null"
- }
- ]
- },
- "coverLetterUrl": {
- "anyOf": [
- {
- "type": "string"
+ "status": {
+ "const": 502
},
- {
- "type": "null"
- }
+ "message": {
+ "type": "string",
+ "default": "The AI provider returned an error or is unreachable."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "coverLetterName": {
- "anyOf": [
- {
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
"type": "string"
},
- {
- "type": "null"
- }
- ]
- },
- "followUpAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "status": {
+ "type": "number"
},
- {
- "type": "null"
- }
- ]
- },
- "followUpNote": {
- "anyOf": [
- {
+ "message": {
"type": "string"
},
- {
- "type": "null"
- }
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "contacts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1
- },
- "role": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "string",
- "default": ""
- }
- },
- "required": [
- "name"
- ]
- }
- },
- "activity": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "at": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "type": {
- "const": "stage"
- },
- "stage": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "at",
- "type",
- "stage"
- ]
- },
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "at": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "type": {
- "const": "note"
- },
- "text": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "id",
- "at",
- "type",
- "text"
- ]
- }
- ]
- }
- },
- "appliedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
}
- },
- "required": [
- "id",
- "company",
- "role",
- "location",
- "salary",
- "status",
- "archived",
- "resumeId",
- "source",
- "tags",
- "sourceUrl",
- "jobDescription",
- "matchScore",
- "aiMetadata",
- "notes",
- "resumeFileUrl",
- "resumeFileName",
- "coverLetterUrl",
- "coverLetterName",
- "followUpAt",
- "followUpNote",
- "contacts",
- "activity",
- "appliedAt",
- "createdAt",
- "updatedAt"
]
}
}
}
}
}
- },
- "delete": {
- "operationId": "deleteApplicationTimelineEntry",
- "summary": "Delete a timeline entry",
- "description": "Deletes a note or older stage entry. The current stage entry cannot be deleted. Requires authentication.",
+ }
+ },
+ "/applications/{id}/ai/match-score": {
+ "post": {
+ "operationId": "aiApplicationMatchScore",
"tags": [
- "Applications"
+ "Applications",
+ "AI"
],
"parameters": [
{
@@ -9052,354 +6464,139 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "entryId",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
"200": {
- "description": "The updated application.",
+ "description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The ID of the application."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The company applied to."
- },
- "role": {
- "type": "string",
- "minLength": 1,
- "description": "The role / job title."
- },
- "location": {
- "anyOf": [
- {
- "type": "string"
+ "score": {},
+ "gaps": {},
+ "strengths": {}
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
},
- {
- "type": "null"
- }
- ]
- },
- "salary": {
- "anyOf": [
- {
- "type": "string"
+ "code": {
+ "const": "BAD_REQUEST"
},
- {
- "type": "null"
- }
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "Invalid application or AI request."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string",
- "description": "The current pipeline stage."
- },
- "archived": {
- "type": "boolean"
- },
- "resumeId": {
- "anyOf": [
- {
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
"type": "string"
},
- {
- "type": "null"
- }
- ],
- "description": "The linked Reactive Resume, if any."
- },
- "source": {
- "anyOf": [
- {
+ "status": {
+ "type": "number"
+ },
+ "message": {
"type": "string"
},
- {
- "type": "null"
- }
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "sourceUrl": {
- "anyOf": [
- {
- "type": "string",
- "format": "uri"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "502": {
+ "description": "502",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
},
- {
- "type": "null"
- }
- ]
- },
- "jobDescription": {
- "anyOf": [
- {
- "type": "string",
- "maxLength": 20000
+ "code": {
+ "const": "BAD_GATEWAY"
},
- {
- "type": "null"
- }
- ]
- },
- "matchScore": {
- "anyOf": [
- {
- "type": "integer",
- "minimum": 0,
- "maximum": 100
+ "status": {
+ "const": 502
},
- {
- "type": "null"
- }
- ]
- },
- "aiMetadata": {
- "anyOf": [
- {
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
+ "message": {
+ "type": "string",
+ "default": "The AI provider returned an error or is unreachable."
},
- {
- "type": "null"
- }
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
},
- "notes": {
- "anyOf": [
- {
- "type": "string"
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- {
- "type": "null"
- }
- ]
- },
- "resumeFileUrl": {
- "anyOf": [
- {
+ "code": {
"type": "string"
},
- {
- "type": "null"
- }
- ]
- },
- "resumeFileName": {
- "anyOf": [
- {
- "type": "string"
+ "status": {
+ "type": "number"
},
- {
- "type": "null"
- }
- ]
- },
- "coverLetterUrl": {
- "anyOf": [
- {
+ "message": {
"type": "string"
},
- {
- "type": "null"
- }
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
]
- },
- "coverLetterName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpNote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contacts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1
- },
- "role": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "string",
- "default": ""
- }
- },
- "required": [
- "name"
- ]
- }
- },
- "activity": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "at": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "type": {
- "const": "stage"
- },
- "stage": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "at",
- "type",
- "stage"
- ]
- },
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "at": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "type": {
- "const": "note"
- },
- "text": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "id",
- "at",
- "type",
- "text"
- ]
- }
- ]
- }
- },
- "appliedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
}
- },
- "required": [
- "id",
- "company",
- "role",
- "location",
- "salary",
- "status",
- "archived",
- "resumeId",
- "source",
- "tags",
- "sourceUrl",
- "jobDescription",
- "matchScore",
- "aiMetadata",
- "notes",
- "resumeFileUrl",
- "resumeFileName",
- "coverLetterUrl",
- "coverLetterName",
- "followUpAt",
- "followUpNote",
- "contacts",
- "activity",
- "appliedAt",
- "createdAt",
- "updatedAt"
]
}
}
@@ -9408,13 +6605,22 @@
}
}
},
- "/applications/bulk-update": {
+ "/applications/{id}/ai/draft-message": {
"post": {
- "operationId": "bulkUpdateApplications",
- "summary": "Bulk update applications",
- "description": "Applies the same change (move stage, archive/unarchive, add tags) to multiple applications at once. Requires authentication.",
+ "operationId": "aiDraftApplicationMessage",
"tags": [
- "Applications"
+ "Applications",
+ "AI"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
],
"requestBody": {
"required": true,
@@ -9423,37 +6629,16 @@
"schema": {
"type": "object",
"properties": {
- "ids": {
- "type": "array",
- "minItems": 1,
- "maxItems": 200,
- "items": {
- "type": "string"
- }
- },
- "status": {
+ "kind": {
"enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
+ "cover-letter",
+ "follow-up"
],
"type": "string"
- },
- "archived": {
- "type": "boolean"
- },
- "addTags": {
- "type": "array",
- "items": {
- "type": "string"
- }
}
},
"required": [
- "ids"
+ "kind"
]
}
}
@@ -9461,234 +6646,141 @@
},
"responses": {
"200": {
- "description": "The number of applications updated.",
+ "description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "updated": {
- "type": "number"
- }
- },
- "required": [
- "updated"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/applications/bulk-delete": {
- "post": {
- "operationId": "bulkDeleteApplications",
- "summary": "Bulk delete applications",
- "description": "Permanently deletes multiple applications at once. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "ids": {
- "type": "array",
- "minItems": 1,
- "maxItems": 200,
- "items": {
+ "text": {
+ "type": "string"
+ },
+ "coverLetterId": {
"type": "string"
- }
- }
- },
- "required": [
- "ids"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The number of applications deleted.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "deleted": {
- "type": "number"
}
},
"required": [
- "deleted"
+ "text"
]
}
}
}
- }
- }
- }
- },
- "/applications/stats": {
- "get": {
- "operationId": "getApplicationStats",
- "summary": "Application pipeline stats",
- "description": "Returns aggregate counts (per stage, per source) for the Insights view. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "parameters": [],
- "responses": {
- "200": {
- "description": "Aggregate application counts.",
+ },
+ "400": {
+ "description": "400",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "total": {
- "type": "number"
- },
- "byStage": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "status": {
- "enum": [
- "saved",
- "applied",
- "screening",
- "interview",
- "offer",
- "rejected"
- ],
- "type": "string"
- },
- "count": {
- "type": "number"
- }
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
},
- "required": [
- "status",
- "count"
- ]
- }
+ "code": {
+ "const": "BAD_REQUEST"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "Invalid application or AI request."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "bySource": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "source": {
- "type": "string"
- },
- "count": {
- "type": "number"
- }
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
},
- "required": [
- "source",
- "count"
- ]
- }
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "total",
- "byStage",
- "bySource"
]
}
}
}
- }
- }
- }
- },
- "/applications/tags": {
- "get": {
- "operationId": "listApplicationTags",
- "summary": "List application tags",
- "description": "Returns the distinct tags used across the user's applications. Requires authentication.",
- "tags": [
- "Applications"
- ],
- "responses": {
- "200": {
- "description": "Distinct tags.",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- },
- "/applications/ai/autofill": {
- "post": {
- "operationId": "aiAutofillApplication",
- "tags": [
- "Applications",
- "AI"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "jobDescription": {
- "type": "string",
- "minLength": 1,
- "maxLength": 20000
- }
- },
- "required": [
- "jobDescription"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
+ },
+ "502": {
+ "description": "502",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "company": {
- "type": "string"
- },
- "role": {
- "type": "string"
- },
- "location": {
- "type": "string"
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_GATEWAY"
+ },
+ "status": {
+ "const": 502
+ },
+ "message": {
+ "type": "string",
+ "default": "The AI provider returned an error or is unreachable."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "salary": {
- "type": "string"
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "company",
- "role",
- "location",
- "salary"
]
}
}
@@ -9697,9 +6789,9 @@
}
}
},
- "/applications/{id}/ai/match-score": {
+ "/applications/{id}/ai/tailor-resume": {
"post": {
- "operationId": "aiApplicationMatchScore",
+ "operationId": "aiTailorResumeForApplication",
"tags": [
"Applications",
"AI"
@@ -9722,116 +6814,136 @@
"schema": {
"type": "object",
"properties": {
- "score": {},
- "gaps": {},
- "strengths": {}
- }
+ "resumeId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "resumeId",
+ "name"
+ ]
}
}
}
- }
- }
- }
- },
- "/applications/{id}/ai/draft-message": {
- "post": {
- "operationId": "aiDraftApplicationMessage",
- "tags": [
- "Applications",
- "AI"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "kind": {
- "enum": [
- "cover-letter",
- "follow-up"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
+ },
+ "400": {
+ "description": "400",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_REQUEST"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "Invalid application or AI request."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "coverLetterId": {
- "type": "string"
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "text"
]
}
}
}
- }
- }
- }
- },
- "/applications/{id}/ai/tailor-resume": {
- "post": {
- "operationId": "aiTailorResumeForApplication",
- "tags": [
- "Applications",
- "AI"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
+ },
+ "502": {
+ "description": "502",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "resumeId": {
- "type": "string"
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "BAD_GATEWAY"
+ },
+ "status": {
+ "const": 502
+ },
+ "message": {
+ "type": "string",
+ "default": "The AI provider returned an error or is unreachable."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
},
- "name": {
- "type": "string"
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
}
- },
- "required": [
- "resumeId",
- "name"
]
}
}
@@ -9921,293 +7033,58 @@
}
}
},
- "/flags": {
- "get": {
- "operationId": "getFeatureFlags",
- "summary": "Get feature flags",
- "description": "Returns the current feature flags for this Reactive Resume instance. Feature flags control instance-wide settings such as whether new user signups or email-based authentication are disabled. No authentication required.",
- "tags": [
- "Feature Flags"
- ],
- "responses": {
- "200": {
- "description": "The current feature flags for this instance.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "disableSignups": {
- "type": "boolean",
- "description": "Whether new user signups are disabled on this instance."
- },
- "disableEmailAuth": {
- "type": "boolean",
- "description": "Whether email-based authentication is disabled on this instance."
- },
- "smtpEnabled": {
- "type": "boolean",
- "description": "Whether outbound email (SMTP) is configured on this instance."
- }
- },
- "required": [
- "disableSignups",
- "disableEmailAuth",
- "smtpEnabled"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/resumes/tags": {
- "get": {
- "operationId": "listResumeTags",
- "summary": "List all resume tags",
- "description": "Returns a sorted list of all unique tags across the authenticated user's resumes. Useful for populating tag filters in the dashboard. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "responses": {
- "200": {
- "description": "A sorted array of unique tag strings.",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{id}/statistics": {
- "get": {
- "operationId": "getResumeStatistics",
- "summary": "Get resume statistics",
- "description": "Returns view and download statistics for the specified resume, including total counts and the timestamps of the last view and download. Requires authentication.",
- "tags": [
- "Resume Statistics"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The unique identifier of the resume."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The resume's view and download statistics.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "isPublic": {
- "type": "boolean",
- "description": "Whether the resume is currently public."
- },
- "views": {
- "type": "number",
- "description": "Total number of times the resume has been viewed."
- },
- "downloads": {
- "type": "number",
- "description": "Total number of times the resume has been downloaded."
- },
- "lastViewedAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ],
- "description": "Timestamp of the last view, or null if never viewed."
- },
- "lastDownloadedAt": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- {
- "type": "null"
- }
- ],
- "description": "Timestamp of the last download, or null if never downloaded."
- }
- },
- "required": [
- "isPublic",
- "views",
- "downloads",
- "lastViewedAt",
- "lastDownloadedAt"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{id}/statistics/daily": {
+ "/cover-letters": {
"get": {
- "operationId": "getResumeDailyStatistics",
- "summary": "Get resume daily statistics",
- "description": "Returns a continuous, zero-filled per-day series of view and download counts for the specified resume over the last `days` days (UTC). Requires authentication and resume ownership.",
+ "operationId": "listCoverLetters",
+ "summary": "List cover letters",
+ "description": "Returns the authenticated user's saved cover letters, optionally filtered by search, resume, or application.",
"tags": [
- "Resume Statistics"
+ "Cover Letters"
],
"parameters": [
{
- "name": "id",
- "in": "path",
- "required": true,
+ "name": "search",
+ "in": "query",
"schema": {
- "type": "string",
- "description": "The unique identifier of the resume."
- }
+ "type": "string"
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
},
{
- "name": "days",
+ "name": "resumeId",
"in": "query",
"schema": {
- "type": "integer",
- "minimum": 1,
- "maximum": 365,
- "default": 30,
- "description": "Number of trailing days to include."
+ "type": "string"
},
"allowEmptyValue": true,
"allowReserved": true
- }
- ],
- "responses": {
- "200": {
- "description": "The resume's daily view and download statistics.",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "date": {
- "type": "string",
- "description": "The UTC day in YYYY-MM-DD format."
- },
- "views": {
- "type": "number",
- "description": "Number of views recorded on this day."
- },
- "downloads": {
- "type": "number",
- "description": "Number of downloads recorded on this day."
- }
- },
- "required": [
- "date",
- "views",
- "downloads"
- ]
- }
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{id}/updates": {
- "get": {
- "operationId": "subscribeResumeUpdates",
- "summary": "Subscribe to resume updates",
- "description": "Streams lightweight invalidation events when the specified resume changes. The event payload contains metadata only; clients should refetch the resume for canonical data.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
+ },
{
- "name": "id",
- "in": "path",
- "required": true,
+ "name": "applicationId",
+ "in": "query",
"schema": {
- "type": "string",
- "description": "The unique identifier of the resume."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "A stream of resume update invalidation events.",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {},
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/resumes": {
- "get": {
- "operationId": "listResumes",
- "summary": "List all resumes",
- "description": "Returns a list of all resumes belonging to the authenticated user. Results can be filtered by tags and sorted by last updated date, creation date, or name. Resume data is not included in the response for performance; use the get endpoint to fetch full resume data. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
+ "type": "string"
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
+ },
{
- "name": "tags",
+ "name": "limit",
"in": "query",
"schema": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
+ "type": "number",
+ "default": 20
},
- "style": "deepObject",
- "explode": true,
"allowEmptyValue": true,
"allowReserved": true
},
{
- "name": "sort",
+ "name": "offset",
"in": "query",
"schema": {
- "enum": [
- "lastUpdatedAt",
- "createdAt",
- "name"
- ],
- "type": "string",
- "default": "lastUpdatedAt"
+ "type": "number",
+ "default": 0
},
"allowEmptyValue": true,
"allowReserved": true
@@ -10215,3308 +7092,2509 @@
],
"responses": {
"200": {
- "description": "A list of resumes with their metadata (without full resume data).",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The tags of the resume."
- },
- "isPublic": {
- "type": "boolean",
- "description": "Whether the resume is public."
- },
- "isLocked": {
- "type": "boolean",
- "description": "Whether the resume is locked."
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date",
- "description": "The date and time the resume was created."
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date",
- "description": "The date and time the resume was last updated."
- },
- "showDownloadButtons": {
- "type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
- }
- },
- "required": [
- "id",
- "name",
- "slug",
- "tags",
- "isPublic",
- "isLocked",
- "createdAt",
- "updatedAt",
- "showDownloadButtons"
- ]
- }
- }
- }
- }
- }
- }
- },
- "post": {
- "operationId": "createResume",
- "summary": "Create a new resume",
- "description": "Creates a new resume with the given name, slug, and tags. Optionally initializes the resume with sample data by setting withSampleData to true. The slug must be unique across the user's resumes. Returns the ID of the newly created resume. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The tags of the resume."
- },
- "withSampleData": {
- "type": "boolean",
- "default": false
- }
- },
- "required": [
- "name",
- "slug",
- "tags"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The ID of the newly created resume.",
- "content": {
- "application/json": {
- "schema": {
- "type": "string",
- "description": "The ID of the created resume."
- }
- }
- }
- },
- "400": {
- "description": "400",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "RESUME_SLUG_ALREADY_EXISTS"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "A resume with this slug already exists."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{id}": {
- "get": {
- "operationId": "getResume",
- "summary": "Get resume by ID",
- "description": "Returns a single resume with its full data, identified by its unique ID. Only resumes belonging to the authenticated user can be retrieved. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The resume with its full data.",
+ "description": "A paginated list of cover letters.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The ID of the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- },
- "tags": {
+ "items": {
"type": "array",
"items": {
- "type": "string"
- },
- "description": "The tags of the resume."
- },
- "isPublic": {
- "type": "boolean",
- "description": "Whether the resume is public."
- },
- "isLocked": {
- "type": "boolean",
- "description": "Whether the resume is locked."
- },
- "data": {
- "type": "object",
- "properties": {
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
},
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ],
- "description": "Configuration for photograph displayed on the resume"
- },
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
"type": "object",
"properties": {
- "id": {
+ "name": {
"type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ "description": "The full name of the author of the resume."
},
- "icon": {
+ "headline": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "The headline of the author of the resume."
},
- "text": {
+ "email": {
"type": "string",
- "description": "The text to display for the custom field."
+ "description": "The email address of the author of the resume."
},
- "link": {
+ "phone": {
"type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
- }
- },
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ],
- "description": "Basic information about the author, such as name, email, phone, location, and website"
- },
- "summary": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the summary of the resume."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the summary should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the summary from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the summary is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the summary always begins on a new page."
- },
- "content": {
- "type": "string",
- "description": "The content of the summary of the resume. This should be a HTML-formatted string."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "content"
- ],
- "description": "Summary section of the resume, useful for a short bio or introduction"
- },
- "sections": {
- "type": "object",
- "properties": {
- "profiles": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "network": {
+ "url": {
"type": "string",
- "minLength": 1,
- "description": "The name of the network or platform."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "username": {
+ "label": {
"type": "string",
- "description": "The username of the author on the network or platform."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the profile of the author on the network or platform, if any."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
}
},
"required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "network",
- "username",
- "website"
- ]
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
},
- "description": "The items to display in the profiles section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the profiles of the author."
- },
- "experience": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text to display for the custom field."
+ },
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
+ }
+ },
+ "required": [
+ "id",
+ "icon",
+ "text",
+ "link"
+ ]
+ },
+ "description": "The custom fields to display on the resume."
+ }
},
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
},
- "items": {
- "type": "array",
- "items": {
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
},
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the company or organization."
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
},
- "position": {
- "type": "string",
- "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
},
- "location": {
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
"type": "string",
- "description": "The location of the company or organization."
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
},
- "period": {
+ "locale": {
"type": "string",
- "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
},
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the company or organization, if any."
+ "hideLinkUnderline": {
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
},
- "description": {
- "type": "string",
- "description": "The description of the experience. This should be a HTML-formatted string."
+ "hideIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
},
- "roles": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the role. Usually generated as a UUID."
- },
- "position": {
- "type": "string",
- "description": "The position or job title for this role."
- },
- "period": {
- "type": "string",
- "description": "The period of time this role was held."
- },
- "description": {
- "type": "string",
- "description": "The description of this specific role. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "position",
- "period",
- "description"
- ]
- },
- "description": "List of individual roles held at this company to show career progression."
+ "hideSectionIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
}
},
"required": [
- "id",
- "hidden",
- "company",
- "position",
- "location",
- "period",
- "website",
- "description",
- "roles"
- ]
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
},
- "description": "The items to display in the experience section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the experience of the author."
- },
- "education": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
+ "design": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "school": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the school or institution."
- },
- "degree": {
- "type": "string",
- "description": "The degree or qualification obtained."
- },
- "area": {
- "type": "string",
- "description": "The area of study or specialization."
- },
- "grade": {
- "type": "string",
- "description": "The grade or score achieved."
- },
- "location": {
- "type": "string",
- "description": "The location of the school or institution."
- },
- "period": {
- "type": "string",
- "description": "The period of time the education was obtained over."
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
+ },
+ "required": [
+ "icon",
+ "type"
+ ]
},
- "website": {
+ "colors": {
"type": "object",
"properties": {
- "url": {
+ "primary": {
"type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
},
- "label": {
+ "text": {
"type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
},
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
}
},
"required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the school or institution, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the education. This should be a HTML-formatted string."
+ "primary",
+ "text",
+ "background"
+ ]
}
},
"required": [
- "id",
- "hidden",
- "school",
- "degree",
- "area",
- "grade",
- "location",
- "period",
- "website",
- "description"
- ]
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
},
- "description": "The items to display in the education section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the education of the author."
- },
- "projects": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
+ "typography": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the project."
- },
- "period": {
- "type": "string",
- "description": "The period of time the project was worked on."
- },
- "website": {
+ "body": {
"type": "object",
"properties": {
- "url": {
+ "fontFamily": {
"type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ "description": "The family of the font to use. Must be a supported resume font."
},
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
"required": [
- "url",
- "label",
- "inlineLink"
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
],
- "description": "The link to the project, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the project. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "name",
- "period",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the projects section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the projects of the author."
- },
- "skills": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ]
- },
- "description": "The items to display in the skills section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the skills of the author."
- },
- "languages": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
- },
- "fluency": {
- "type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- }
- },
- "required": [
- "id",
- "hidden",
- "language",
- "fluency",
- "level"
- ]
- },
- "description": "The items to display in the languages section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the languages of the author."
- },
- "interests": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "keywords"
- ]
- },
- "description": "The items to display in the interests section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the interests of the author."
- },
- "awards": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the award."
- },
- "awarder": {
- "type": "string",
- "description": "The awarder of the award."
- },
- "date": {
- "type": "string",
- "description": "The date when the award was received."
+ "description": "The typography for the body of the resume."
},
- "website": {
+ "heading": {
"type": "object",
"properties": {
- "url": {
+ "fontFamily": {
"type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ "description": "The family of the font to use. Must be a supported resume font."
},
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
"required": [
- "url",
- "label",
- "inlineLink"
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
],
- "description": "The website of the award, if any."
+ "description": "The typography for the headings of the resume."
},
- "description": {
- "type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
}
},
"required": [
- "id",
- "hidden",
- "title",
- "awarder",
- "date",
- "website",
- "description"
- ]
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
},
- "description": "The items to display in the awards section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the awards of the author."
- },
- "certifications": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
- },
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
- },
- "date": {
- "type": "string",
- "description": "The date when the certification was received."
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
},
- "website": {
+ "source": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ "languageVersion": {
+ "type": "number"
},
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ "text": {
+ "type": "string"
}
},
"required": [
- "url",
- "label",
- "inlineLink"
+ "languageVersion",
+ "text"
],
- "description": "The website of the certification, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
+ "additionalProperties": false
}
},
"required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the certifications section."
- }
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the certifications of the author."
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
},
- "publications": {
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "total"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "createCoverLetter",
+ "summary": "Create a cover letter",
+ "description": "Creates a saved cover letter, optionally linked to a resume or job application.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string",
+ "default": ""
+ },
+ "content": {
+ "type": "string",
+ "default": ""
+ },
+ "resumeId": {
+ "type": "string"
+ },
+ "applicationId": {
+ "type": "string"
+ },
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The newly created cover letter.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
"type": "object",
"properties": {
- "title": {
+ "url": {
"type": "string",
- "description": "The title of the section."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "icon": {
+ "label": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
- },
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the publication, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the publications section."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "url",
+ "label"
],
- "description": "The section to display the publications of the author."
+ "description": "The website of the author of the resume."
},
- "volunteer": {
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text to display for the custom field."
+ },
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
+ }
+ },
+ "required": [
+ "id",
+ "icon",
+ "text",
+ "link"
+ ]
+ },
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "icon": {
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
},
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
},
- "hidden": {
+ "hideLinkUnderline": {
"type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "description": "Whether to hide the underlines of the links."
},
- "keepTogether": {
+ "hideIcons": {
"type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
},
- "startOnNewPage": {
+ "hideSectionIcons": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
- },
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
- },
- "period": {
- "type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the organization or company, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the volunteer experience. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "organization",
- "location",
- "period",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the volunteer section."
+ "description": "Whether to hide the section heading icons displayed before section titles."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
],
- "description": "The section to display the volunteer experience of the author."
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
},
- "references": {
+ "design": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
+ },
+ "required": [
+ "icon",
+ "type"
+ ]
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
+ },
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
},
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
},
- "startOnNewPage": {
+ "hyphenation": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
+ }
+ },
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the reference, or a note such as 'Available upon request'."
- },
- "position": {
- "type": "string",
- "description": "The position or job title of the reference."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website or LinkedIn profile of the reference, if any."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the reference."
- },
- "description": {
- "type": "string",
- "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
- }
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
},
- "required": [
- "id",
- "hidden",
- "name",
- "position",
- "website",
- "phone",
- "description"
- ]
+ "text": {
+ "type": "string"
+ }
},
- "description": "The items to display in the references section."
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "mode",
+ "source"
],
- "description": "The section to display the references of the author."
+ "additionalProperties": false
}
},
"required": [
- "profiles",
- "experience",
- "education",
- "projects",
- "skills",
- "languages",
- "interests",
- "awards",
- "certifications",
- "publications",
- "volunteer",
- "references"
- ],
- "description": "Various sections of the resume, such as experience, education, projects, etc."
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
},
- "customSections": {
- "type": "array",
- "items": {
- "anyOf": [
- {
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/cover-letters/{id}": {
+ "get": {
+ "operationId": "getCoverLetter",
+ "summary": "Get cover letter by ID",
+ "description": "Returns a single saved cover letter belonging to the authenticated user.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The cover letter.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
+ },
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "title": {
+ "id": {
"type": "string",
- "description": "The title of the section."
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
},
"icon": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "id": {
+ "text": {
"type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "cover-letter",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "description": "The text to display for the custom field."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "recipient": {
- "type": "string",
- "description": "The recipient's address block as HTML (name, title, company, address, email)."
- },
- "content": {
- "type": "string",
- "description": "The cover letter body as HTML (salutation, paragraphs, closing, signature)."
- }
- },
- "required": [
- "id",
- "hidden",
- "recipient",
- "content"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
"id",
- "type",
- "items"
+ "icon",
+ "text",
+ "link"
]
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "summary",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "content": {
- "type": "string",
- "description": "The rich text content of the summary item. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "content"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
+ "type": "object",
+ "properties": {
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
+ "type": "string",
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
+ },
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
+ },
+ "hideLinkUnderline": {
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
+ },
+ "hideIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ },
+ "hideSectionIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
},
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ "required": [
+ "icon",
+ "type"
+ ]
+ },
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "type": {
- "const": "profiles",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "network": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the network or platform."
- },
- "username": {
- "type": "string",
- "description": "The username of the author on the network or platform."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the profile of the author on the network or platform, if any."
- }
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
},
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "network",
- "username",
- "website"
- ],
- "additionalProperties": {}
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "experience",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the company or organization."
- },
- "position": {
- "type": "string",
- "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
- },
- "location": {
- "type": "string",
- "description": "The location of the company or organization."
- },
- "period": {
- "type": "string",
- "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the company or organization, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the experience. This should be a HTML-formatted string."
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the role. Usually generated as a UUID."
- },
- "position": {
- "type": "string",
- "description": "The position or job title for this role."
- },
- "period": {
- "type": "string",
- "description": "The period of time this role was held."
- },
- "description": {
- "type": "string",
- "description": "The description of this specific role. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "position",
- "period",
- "description"
- ]
- },
- "description": "List of individual roles held at this company to show career progression."
- }
- },
- "required": [
- "id",
- "hidden",
- "company",
- "position",
- "location",
- "period",
- "website",
- "description",
- "roles"
- ],
- "additionalProperties": {}
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "updateCoverLetter",
+ "summary": "Update a cover letter",
+ "description": "Updates the supplied fields of a saved cover letter using its expected revision.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "expectedRevision": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "expectedRevision"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The updated cover letter.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
},
- {
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "title": {
+ "id": {
"type": "string",
- "description": "The title of the section."
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
},
"icon": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "id": {
+ "text": {
"type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "education",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "description": "The text to display for the custom field."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "school": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the school or institution."
- },
- "degree": {
- "type": "string",
- "description": "The degree or qualification obtained."
- },
- "area": {
- "type": "string",
- "description": "The area of study or specialization."
- },
- "grade": {
- "type": "string",
- "description": "The grade or score achieved."
- },
- "location": {
- "type": "string",
- "description": "The location of the school or institution."
- },
- "period": {
- "type": "string",
- "description": "The period of time the education was obtained over."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the school or institution, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the education. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "school",
- "degree",
- "area",
- "grade",
- "location",
- "period",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
"id",
- "type",
- "items"
+ "icon",
+ "text",
+ "link"
]
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "projects",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the project."
- },
- "period": {
- "type": "string",
- "description": "The period of time the project was worked on."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the project, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the project. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "name",
- "period",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
+ "type": "object",
+ "properties": {
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
+ "type": "string",
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
+ },
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
+ },
+ "hideLinkUnderline": {
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
+ },
+ "hideIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ },
+ "hideSectionIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
},
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ "required": [
+ "icon",
+ "type"
+ ]
+ },
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "type": {
- "const": "skills",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
},
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ],
- "additionalProperties": {}
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "languages",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
- },
- "fluency": {
- "type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- }
- },
- "required": [
- "id",
- "hidden",
- "language",
- "fluency",
- "level"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "interests",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "keywords"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "required": [
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "deleteCoverLetter",
+ "summary": "Delete a cover letter",
+ "description": "Permanently deletes a saved cover letter using its expected revision.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "expectedRevision": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "expectedRevision"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The cover letter was deleted successfully.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {
+ "not": {}
+ },
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/cover-letters/{id}/refresh-style": {
+ "post": {
+ "operationId": "refreshCoverLetterStyle",
+ "summary": "Refresh cover letter style",
+ "description": "Refreshes a cover letter's style from a selected resume while preserving its content and template.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "expectedRevision": {
+ "type": "number"
+ },
+ "resumeId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "expectedRevision",
+ "resumeId"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The cover letter with refreshed style.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
},
- {
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "title": {
+ "id": {
"type": "string",
- "description": "The title of the section."
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
},
"icon": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "id": {
+ "text": {
"type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "awards",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "description": "The text to display for the custom field."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the award."
- },
- "awarder": {
- "type": "string",
- "description": "The awarder of the award."
- },
- "date": {
- "type": "string",
- "description": "The date when the award was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the award, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "awarder",
- "date",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
"id",
- "type",
- "items"
+ "icon",
+ "text",
+ "link"
]
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "certifications",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
- },
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
- },
- "date": {
- "type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the certification, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "publications",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
- },
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the publication, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "volunteer",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
- },
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
- },
- "period": {
- "type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the organization or company, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the volunteer experience. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "organization",
- "location",
- "period",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "references",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the reference, or a note such as 'Available upon request'."
- },
- "position": {
- "type": "string",
- "description": "The position or job title of the reference."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website or LinkedIn profile of the reference, if any."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the reference."
- },
- "description": {
- "type": "string",
- "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "name",
- "position",
- "website",
- "phone",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- }
- ]
+ "description": "The custom fields to display on the resume."
+ }
},
- "description": "Custom sections of the resume, such as a custom section for notes, etc."
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
},
"metadata": {
"type": "object",
@@ -13542,77 +9620,23 @@
"type": "string",
"description": "The template to use for the resume. Determines the overall design and appearance of the resume."
},
- "layout": {
+ "page": {
"type": "object",
"properties": {
- "sidebarWidth": {
+ "gapX": {
"type": "number",
- "minimum": 10,
- "maximum": 50,
- "description": "The width of the sidebar column, defined as a percentage of the page width."
- },
- "pages": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "fullWidth": {
- "type": "boolean",
- "description": "Whether the layout of the page should be full width. If true, the main column will span the entire width of the page. This means that there should be no items in the sidebar column."
- },
- "main": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The items to display in the main column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
- },
- "sidebar": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The items to display in the sidebar column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
- }
- },
- "required": [
- "fullWidth",
- "main",
- "sidebar"
- ]
- },
- "description": "The pages to display in the layout."
- }
- },
- "required": [
- "sidebarWidth",
- "pages"
- ],
- "description": "The layout of the resume. Determines the structure and arrangement of the sections on the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
"gapY": {
"type": "number",
- "minimum": 0,
"description": "The vertical gap between the sections of the page, defined in points (pt)."
},
"marginX": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The horizontal margin of the page, defined in points (pt)."
},
"marginY": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The vertical margin of the page, defined in points (pt)."
},
"format": {
@@ -13742,14 +9766,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -13788,14 +9808,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -13818,10 +9834,6 @@
],
"description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
},
- "notes": {
- "type": "string",
- "description": "Personal notes for the resume. Can be used to add any additional information or instructions for the resume. These notes are not displayed on the resume, they are only visible to the author of the resume when editing the resume. This should be a HTML-formatted string."
- },
"styleRules": {
"description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
},
@@ -13839,10 +9851,7 @@
"type": "object",
"properties": {
"languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
+ "type": "number"
},
"text": {
"type": "string"
@@ -13864,63 +9873,89 @@
},
"required": [
"template",
- "layout",
"page",
"design",
- "typography",
- "notes"
- ],
- "description": "Metadata for the resume, such as template, layout, typography, etc. This section describes the overall design and appearance of the resume."
+ "typography"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
}
},
"required": [
- "picture",
"basics",
- "summary",
- "sections",
- "customSections",
- "metadata"
- ],
- "additionalProperties": {}
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
},
- "updatedAt": {
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
"type": "string",
"format": "date-time",
- "x-native-type": "date",
- "description": "The date and time the resume was last updated."
- },
- "hasPassword": {
- "type": "boolean"
+ "x-native-type": "date"
},
- "showDownloadButtons": {
- "type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
}
},
"required": [
- "id",
"name",
- "slug",
- "tags",
- "isPublic",
- "isLocked",
- "data",
- "updatedAt",
- "hasPassword",
- "showDownloadButtons"
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
]
}
}
}
}
}
- },
- "put": {
- "operationId": "updateResume",
- "summary": "Update a resume",
- "description": "Updates one or more fields of a resume identified by its ID. All fields are optional; only provided fields will be updated. Locked resumes cannot be updated. Requires authentication.",
+ }
+ },
+ "/cover-letters/{id}/duplicate": {
+ "post": {
+ "operationId": "duplicateCoverLetter",
+ "summary": "Duplicate a cover letter",
+ "description": "Creates a copy of an existing saved cover letter, optionally with a new name.",
"tags": [
- "Resumes"
+ "Cover Letters"
],
"parameters": [
{
@@ -13940,32 +9975,7 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The tags of the resume."
- },
- "data": {
- "$ref": "#/components/schemas/ResumeData"
- },
- "isPublic": {
- "type": "boolean",
- "description": "Whether the resume is public."
- },
- "showDownloadButtons": {
- "type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
+ "type": "string"
}
}
}
@@ -13974,112 +9984,24 @@
},
"responses": {
"200": {
- "description": "The updated resume with its full data.",
+ "description": "The duplicated cover letter.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "The ID of the resume."
- },
"name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The tags of the resume."
+ "type": "string"
},
- "isPublic": {
- "type": "boolean",
- "description": "Whether the resume is public."
+ "recipient": {
+ "type": "string"
},
- "isLocked": {
- "type": "boolean",
- "description": "Whether the resume is locked."
+ "content": {
+ "type": "string"
},
- "data": {
+ "style": {
"type": "object",
"properties": {
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
- },
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ],
- "description": "Configuration for photograph displayed on the resume"
- },
"basics": {
"type": "object",
"properties": {
@@ -14161,3358 +10083,2571 @@
"location",
"website",
"customFields"
- ],
- "description": "Basic information about the author, such as name, email, phone, location, and website"
+ ]
},
- "summary": {
+ "picture": {
"type": "object",
"properties": {
- "title": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
"type": "string",
- "description": "The title of the summary of the resume."
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
},
- "icon": {
+ "url": {
"type": "string",
- "description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
},
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the summary should span across."
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the summary from the resume."
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
},
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the summary is kept on a single page instead of splitting across a page break."
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
},
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the summary always begins on a new page."
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
},
- "content": {
+ "borderColor": {
"type": "string",
- "description": "The content of the summary of the resume. This should be a HTML-formatted string."
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
}
},
"required": [
- "title",
- "icon",
- "columns",
"hidden",
- "keepTogether",
- "startOnNewPage",
- "content"
- ],
- "description": "Summary section of the resume, useful for a short bio or introduction"
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
},
- "sections": {
+ "metadata": {
"type": "object",
"properties": {
- "profiles": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "icon": {
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
},
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
},
- "hidden": {
+ "hideLinkUnderline": {
"type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "description": "Whether to hide the underlines of the links."
},
- "keepTogether": {
+ "hideIcons": {
"type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
},
- "startOnNewPage": {
+ "hideSectionIcons": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "network": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the network or platform."
- },
- "username": {
- "type": "string",
- "description": "The username of the author on the network or platform."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the profile of the author on the network or platform, if any."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "network",
- "username",
- "website"
- ]
- },
- "description": "The items to display in the profiles section."
+ "description": "Whether to hide the section heading icons displayed before section titles."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
],
- "description": "The section to display the profiles of the author."
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
},
- "experience": {
+ "design": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
+ },
+ "required": [
+ "icon",
+ "type"
+ ]
},
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the company or organization."
- },
- "position": {
- "type": "string",
- "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
- },
- "location": {
- "type": "string",
- "description": "The location of the company or organization."
- },
- "period": {
- "type": "string",
- "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the company or organization, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the experience. This should be a HTML-formatted string."
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the role. Usually generated as a UUID."
- },
- "position": {
- "type": "string",
- "description": "The position or job title for this role."
- },
- "period": {
- "type": "string",
- "description": "The period of time this role was held."
- },
- "description": {
- "type": "string",
- "description": "The description of this specific role. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "position",
- "period",
- "description"
- ]
- },
- "description": "List of individual roles held at this company to show career progression."
- }
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
},
- "required": [
- "id",
- "hidden",
- "company",
- "position",
- "location",
- "period",
- "website",
- "description",
- "roles"
- ]
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "description": "The items to display in the experience section."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "level",
+ "colors"
],
- "description": "The section to display the experience of the author."
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
},
- "education": {
+ "typography": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "school": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the school or institution."
- },
- "degree": {
- "type": "string",
- "description": "The degree or qualification obtained."
- },
- "area": {
- "type": "string",
- "description": "The area of study or specialization."
- },
- "grade": {
- "type": "string",
- "description": "The grade or score achieved."
- },
- "location": {
- "type": "string",
- "description": "The location of the school or institution."
- },
- "period": {
- "type": "string",
- "description": "The period of time the education was obtained over."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
],
- "description": "The website of the school or institution, if any."
+ "type": "string"
},
- "description": {
- "type": "string",
- "description": "The description of the education. This should be a HTML-formatted string."
- }
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "required": [
- "id",
- "hidden",
- "school",
- "degree",
- "area",
- "grade",
- "location",
- "period",
- "website",
- "description"
- ]
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "description": "The items to display in the education section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the education of the author."
- },
- "projects": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the project."
- },
- "period": {
- "type": "string",
- "description": "The period of time the project was worked on."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
],
- "description": "The link to the project, if any."
+ "type": "string"
},
- "description": {
- "type": "string",
- "description": "The description of the project. This should be a HTML-formatted string."
- }
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "required": [
- "id",
- "hidden",
- "name",
- "period",
- "website",
- "description"
- ]
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "description": "The items to display in the projects section."
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
+ },
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "body",
+ "heading"
],
- "description": "The section to display the projects of the author."
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
},
- "skills": {
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
},
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ]
+ "text": {
+ "type": "string"
+ }
},
- "description": "The items to display in the skills section."
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "mode",
+ "source"
],
- "description": "The section to display the skills of the author."
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/cover-letters/from-resume": {
+ "post": {
+ "operationId": "copyEmbeddedCoverLetter",
+ "summary": "Copy an embedded cover letter",
+ "description": "Creates a saved cover letter by copying an embedded cover-letter item from a resume.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "resumeId": {
+ "type": "string"
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "resumeId",
+ "sectionId",
+ "itemId"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The newly created cover letter.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
},
- "languages": {
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
"type": "object",
"properties": {
- "title": {
+ "url": {
"type": "string",
- "description": "The title of the section."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "icon": {
+ "label": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
- },
- "fluency": {
- "type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- }
- },
- "required": [
- "id",
- "hidden",
- "language",
- "fluency",
- "level"
- ]
- },
- "description": "The items to display in the languages section."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "url",
+ "label"
],
- "description": "The section to display the languages of the author."
+ "description": "The website of the author of the resume."
},
- "interests": {
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text to display for the custom field."
+ },
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
+ }
+ },
+ "required": [
+ "id",
+ "icon",
+ "text",
+ "link"
+ ]
+ },
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "icon": {
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
},
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
},
- "hidden": {
+ "hideLinkUnderline": {
"type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "description": "Whether to hide the underlines of the links."
},
- "keepTogether": {
+ "hideIcons": {
"type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
},
- "startOnNewPage": {
+ "hideSectionIcons": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "keywords"
- ]
- },
- "description": "The items to display in the interests section."
+ "description": "Whether to hide the section heading icons displayed before section titles."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
],
- "description": "The section to display the interests of the author."
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
},
- "awards": {
+ "design": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
+ },
+ "required": [
+ "icon",
+ "type"
+ ]
},
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the award."
- },
- "awarder": {
- "type": "string",
- "description": "The awarder of the award."
- },
- "date": {
- "type": "string",
- "description": "The date when the award was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the award, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
- }
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
},
- "required": [
- "id",
- "hidden",
- "title",
- "awarder",
- "date",
- "website",
- "description"
- ]
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "description": "The items to display in the awards section."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "level",
+ "colors"
],
- "description": "The section to display the awards of the author."
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
},
- "certifications": {
+ "typography": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
- },
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
- },
- "date": {
- "type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
],
- "description": "The website of the certification, if any."
+ "type": "string"
},
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "website",
- "description"
- ]
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "description": "The items to display in the certifications section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the certifications of the author."
- },
- "publications": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
- },
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
],
- "description": "The link to the publication, if any."
+ "type": "string"
},
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "website",
- "description"
- ]
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "description": "The items to display in the publications section."
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
+ },
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "body",
+ "heading"
],
- "description": "The section to display the publications of the author."
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
},
- "volunteer": {
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
- },
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
- },
- "period": {
- "type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the organization or company, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the volunteer experience. This should be a HTML-formatted string."
- }
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
},
- "required": [
- "id",
- "hidden",
- "organization",
- "location",
- "period",
- "website",
- "description"
- ]
+ "text": {
+ "type": "string"
+ }
},
- "description": "The items to display in the volunteer section."
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
+ "mode",
+ "source"
],
- "description": "The section to display the volunteer experience of the author."
- },
- "references": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the reference, or a note such as 'Available upon request'."
- },
- "position": {
- "type": "string",
- "description": "The position or job title of the reference."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website or LinkedIn profile of the reference, if any."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the reference."
- },
- "description": {
- "type": "string",
- "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "name",
- "position",
- "website",
- "phone",
- "description"
- ]
- },
- "description": "The items to display in the references section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the references of the author."
+ "additionalProperties": false
}
},
"required": [
- "profiles",
- "experience",
- "education",
- "projects",
- "skills",
- "languages",
- "interests",
- "awards",
- "certifications",
- "publications",
- "volunteer",
- "references"
- ],
- "description": "Various sections of the resume, such as experience, education, projects, etc."
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
},
- "customSections": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "cover-letter",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "recipient": {
- "type": "string",
- "description": "The recipient's address block as HTML (name, title, company, address, email)."
- },
- "content": {
- "type": "string",
- "description": "The cover letter body as HTML (salutation, paragraphs, closing, signature)."
- }
- },
- "required": [
- "id",
- "hidden",
- "recipient",
- "content"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/cover-letters/{id}/export": {
+ "get": {
+ "operationId": "exportCoverLetter",
+ "summary": "Export a cover letter",
+ "description": "Exports a saved cover letter as a standalone Reactive Resume cover-letter document.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The exported cover letter document.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
},
- {
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
"id": {
"type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "summary",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "content": {
- "type": "string",
- "description": "The rich text content of the summary item. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "content"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
},
"icon": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "id": {
+ "text": {
"type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "profiles",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "description": "The text to display for the custom field."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "network": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the network or platform."
- },
- "username": {
- "type": "string",
- "description": "The username of the author on the network or platform."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the profile of the author on the network or platform, if any."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "network",
- "username",
- "website"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
"id",
- "type",
- "items"
+ "icon",
+ "text",
+ "link"
]
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
+ "type": "object",
+ "properties": {
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
+ },
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
+ "type": "string",
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
+ },
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
+ },
+ "hideLinkUnderline": {
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
+ },
+ "hideIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ },
+ "hideSectionIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
+ },
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
},
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ "required": [
+ "icon",
+ "type"
+ ]
+ },
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "type": {
- "const": "experience",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "company": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the company or organization."
- },
- "position": {
- "type": "string",
- "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
- },
- "location": {
- "type": "string",
- "description": "The location of the company or organization."
- },
- "period": {
- "type": "string",
- "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the company or organization, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the experience. This should be a HTML-formatted string."
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the role. Usually generated as a UUID."
- },
- "position": {
- "type": "string",
- "description": "The position or job title for this role."
- },
- "period": {
- "type": "string",
- "description": "The period of time this role was held."
- },
- "description": {
- "type": "string",
- "description": "The description of this specific role. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "position",
- "period",
- "description"
- ]
- },
- "description": "List of individual roles held at this company to show career progression."
- }
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
},
- "required": [
- "id",
- "hidden",
- "company",
- "position",
- "location",
- "period",
- "website",
- "description",
- "roles"
- ],
- "additionalProperties": {}
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "education",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "school": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the school or institution."
- },
- "degree": {
- "type": "string",
- "description": "The degree or qualification obtained."
- },
- "area": {
- "type": "string",
- "description": "The area of study or specialization."
- },
- "grade": {
- "type": "string",
- "description": "The grade or score achieved."
- },
- "location": {
- "type": "string",
- "description": "The location of the school or institution."
- },
- "period": {
- "type": "string",
- "description": "The period of time the education was obtained over."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the school or institution, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the education. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "school",
- "degree",
- "area",
- "grade",
- "location",
- "period",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "page",
+ "design",
+ "typography"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "format": {
+ "const": "reactive-resume-cover-letter"
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "format",
+ "version"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/cover-letters/import": {
+ "post": {
+ "operationId": "importCoverLetter",
+ "summary": "Import a cover letter",
+ "description": "Creates a saved cover letter from an exported Reactive Resume cover-letter document.",
+ "tags": [
+ "Cover Letters"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "document": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
},
- {
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text to display for the custom field."
+ },
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
+ }
+ },
+ "required": [
+ "id",
+ "icon",
+ "text",
+ "link"
+ ]
+ },
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "icon": {
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
},
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
},
- "hidden": {
+ "hideLinkUnderline": {
"type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "description": "Whether to hide the underlines of the links."
},
- "keepTogether": {
+ "hideIcons": {
"type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
},
- "startOnNewPage": {
+ "hideSectionIcons": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "projects",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
+ },
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
+ },
+ "required": [
+ "icon",
+ "type"
+ ]
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the project."
- },
- "period": {
- "type": "string",
- "description": "The period of time the project was worked on."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the project, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the project. This should be a HTML-formatted string."
- }
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
},
- "required": [
- "id",
- "hidden",
- "name",
- "period",
- "website",
- "description"
- ],
- "additionalProperties": {}
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
},
- {
+ "typography": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "skills",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
},
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
},
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ],
- "additionalProperties": {}
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
+ },
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
},
- {
+ "styleRules": {
+ "type": "array",
+ "items": {},
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
"type": "object",
"properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "languages",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
- },
- "fluency": {
- "type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- }
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
},
- "required": [
- "id",
- "hidden",
- "language",
- "fluency",
- "level"
- ],
- "additionalProperties": {}
+ "text": {
+ "type": "string"
+ }
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "page",
+ "design",
+ "typography",
+ "styleRules"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "basics",
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "format": {
+ "const": "reactive-resume-cover-letter"
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "format",
+ "version"
+ ]
+ }
+ },
+ "required": [
+ "document"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The imported cover letter.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "style": {
+ "type": "object",
+ "properties": {
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
},
- {
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "title": {
+ "id": {
"type": "string",
- "description": "The title of the section."
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
},
"icon": {
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "id": {
+ "text": {
"type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "interests",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "description": "The text to display for the custom field."
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "keywords"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
}
},
"required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
"id",
- "type",
- "items"
+ "icon",
+ "text",
+ "link"
]
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "awards",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the award."
- },
- "awarder": {
- "type": "string",
- "description": "The awarder of the award."
- },
- "date": {
- "type": "string",
- "description": "The date when the award was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the award, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "awarder",
- "date",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ]
+ },
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ]
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "page": {
+ "type": "object",
+ "properties": {
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
+ "type": "string",
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
+ },
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
+ },
+ "hideLinkUnderline": {
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
+ },
+ "hideIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ },
+ "hideSectionIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
},
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ "required": [
+ "icon",
+ "type"
+ ]
+ },
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "type": {
- "const": "certifications",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
},
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
- },
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
- },
- "date": {
- "type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the certification, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
},
- "required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "website",
- "description"
- ],
- "additionalProperties": {}
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
},
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
},
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
+ }
},
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
},
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "publications",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
- },
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the publication, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "volunteer",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
- },
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
- },
- "period": {
- "type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the organization or company, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the volunteer experience. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "organization",
- "location",
- "period",
- "website",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "references",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the reference, or a note such as 'Available upon request'."
- },
- "position": {
- "type": "string",
- "description": "The position or job title of the reference."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website or LinkedIn profile of the reference, if any."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the reference."
- },
- "description": {
- "type": "string",
- "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "name",
- "position",
- "website",
- "phone",
- "description"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- }
- ]
- },
- "description": "Custom sections of the resume, such as a custom section for notes, etc."
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "layout": {
- "type": "object",
- "properties": {
- "sidebarWidth": {
- "type": "number",
- "minimum": 10,
- "maximum": 50,
- "description": "The width of the sidebar column, defined as a percentage of the page width."
- },
- "pages": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "fullWidth": {
- "type": "boolean",
- "description": "Whether the layout of the page should be full width. If true, the main column will span the entire width of the page. This means that there should be no items in the sidebar column."
- },
- "main": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The items to display in the main column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
- },
- "sidebar": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The items to display in the sidebar column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
- }
- },
- "required": [
- "fullWidth",
- "main",
- "sidebar"
- ]
- },
- "description": "The pages to display in the layout."
- }
- },
- "required": [
- "sidebarWidth",
- "pages"
- ],
- "description": "The layout of the resume. Determines the structure and arrangement of the sections on the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
+ "required": [
+ "languageVersion",
+ "text"
],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
+ "additionalProperties": false
}
},
"required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- },
- "hyphenation": {
- "type": "boolean",
- "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "notes": {
- "type": "string",
- "description": "Personal notes for the resume. Can be used to add any additional information or instructions for the resume. These notes are not displayed on the resume, they are only visible to the author of the resume when editing the resume. This should be a HTML-formatted string."
- },
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
- },
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
+ "mode",
+ "source"
],
"additionalProperties": false
}
},
"required": [
"template",
- "layout",
"page",
"design",
- "typography",
- "notes"
- ],
- "description": "Metadata for the resume, such as template, layout, typography, etc. This section describes the overall design and appearance of the resume."
+ "typography"
+ ]
+ },
+ "sectionId": {
+ "type": "string"
+ },
+ "itemId": {
+ "type": "string"
}
},
"required": [
- "picture",
"basics",
- "summary",
- "sections",
- "customSections",
- "metadata"
- ],
- "additionalProperties": {}
+ "picture",
+ "metadata",
+ "sectionId",
+ "itemId"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "sourceResumeId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceApplicationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
},
"updatedAt": {
"type": "string",
"format": "date-time",
- "x-native-type": "date",
- "description": "The date and time the resume was last updated."
+ "x-native-type": "date"
+ }
+ },
+ "required": [
+ "name",
+ "recipient",
+ "content",
+ "style",
+ "id",
+ "sourceResumeId",
+ "sourceApplicationId",
+ "revision",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/flags": {
+ "get": {
+ "operationId": "getFeatureFlags",
+ "summary": "Get feature flags",
+ "description": "Returns the current feature flags for this Reactive Resume instance. Feature flags control instance-wide settings such as whether new user signups or email-based authentication are disabled. No authentication required.",
+ "tags": [
+ "Feature Flags"
+ ],
+ "responses": {
+ "200": {
+ "description": "The current feature flags for this instance.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "disableSignups": {
+ "type": "boolean",
+ "description": "Whether new user signups are disabled on this instance."
},
- "hasPassword": {
- "type": "boolean"
+ "disableEmailAuth": {
+ "type": "boolean",
+ "description": "Whether email-based authentication is disabled on this instance."
},
- "showDownloadButtons": {
+ "smtpEnabled": {
"type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
+ "description": "Whether outbound email (SMTP) is configured on this instance."
}
},
"required": [
- "id",
- "name",
- "slug",
- "tags",
- "isPublic",
- "isLocked",
- "data",
- "updatedAt",
- "hasPassword",
- "showDownloadButtons"
+ "disableSignups",
+ "disableEmailAuth",
+ "smtpEnabled"
]
}
}
}
- },
- "400": {
- "description": "400",
+ }
+ }
+ }
+ },
+ "/resume/getRoot": {
+ "post": {
+ "operationId": "resume.getRoot",
+ "responses": {
+ "200": {
+ "description": "OK",
"content": {
"application/json": {
"schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "RESUME_SLUG_ALREADY_EXISTS"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "A resume with this slug already exists."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
+ "anyOf": [
+ {},
{
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
+ "not": {}
}
]
}
@@ -17520,14 +12655,81 @@
}
}
}
- },
- "patch": {
- "operationId": "patchResume",
- "summary": "Patch resume data",
- "description": "Applies JSON Patch (RFC 6902) operations to partially update a resume's data. This allows small, targeted changes (e.g. updating a single field) without sending the entire resume object. Locked resumes cannot be patched. Requires authentication.",
+ }
+ },
+ "/resumes/tags": {
+ "get": {
+ "operationId": "listResumeTags",
+ "summary": "List all resume tags",
+ "description": "Returns a sorted list of all unique tags across the authenticated user's resumes. Useful for populating tag filters in the dashboard. Requires authentication.",
"tags": [
"Resumes"
],
+ "responses": {
+ "200": {
+ "description": "A sorted array of unique tag strings.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{username}/{slug}/statistics/download": {
+ "post": {
+ "operationId": "recordResumeDownload",
+ "summary": "Record a public resume PDF download",
+ "description": "Records a visitor's explicit PDF download after the browser starts saving the file. Requires access to the public resume. For password-protected resumes, first call verifyResumePassword (POST /resumes/{username}/{slug}/password/verify) with the password, then send the returned HttpOnly resume_access_<resumeId> cookie with this request. A missing or invalid access cookie returns NEED_PASSWORD (HTTP 401); the cookie expires after 10 minutes. Owner downloads are excluded. Rate limited per resume and visitor.",
+ "tags": [
+ "Resume Statistics"
+ ],
+ "parameters": [
+ {
+ "name": "username",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "slug",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The download event was accepted.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/statistics": {
+ "get": {
+ "operationId": "getResumeStatistics",
+ "summary": "Get resume statistics",
+ "description": "Returns view and download statistics for the specified resume, including total counts and the timestamps of the last view and download. Requires authentication.",
+ "tags": [
+ "Resume Statistics"
+ ],
"parameters": [
{
"name": "id",
@@ -17535,136 +12737,325 @@
"required": true,
"schema": {
"type": "string",
- "description": "The ID of the resume to patch."
+ "description": "The unique identifier of the resume."
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "expectedUpdatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date",
- "description": "If provided, the patch only applies when the resume version still matches this timestamp."
- },
- "operations": {
- "type": "array",
- "minItems": 1,
- "items": {
+ "responses": {
+ "200": {
+ "description": "The resume's view and download statistics.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "isPublic": {
+ "type": "boolean",
+ "description": "Whether the resume is currently public."
+ },
+ "views": {
+ "type": "number",
+ "description": "Total number of times the resume has been viewed."
+ },
+ "downloads": {
+ "type": "number",
+ "description": "Total number of times the resume has been downloaded."
+ },
+ "lastViewedAt": {
"anyOf": [
{
- "type": "object",
- "properties": {
- "op": {
- "const": "add"
- },
- "path": {
- "type": "string"
- },
- "value": {}
- },
- "required": [
- "op",
- "path"
- ]
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
},
{
- "type": "object",
- "properties": {
- "op": {
- "const": "remove"
- },
- "path": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "path"
- ]
- },
+ "type": "null"
+ }
+ ],
+ "description": "Timestamp of the last view, or null if never viewed."
+ },
+ "lastDownloadedAt": {
+ "anyOf": [
{
- "type": "object",
- "properties": {
- "op": {
- "const": "replace"
- },
- "path": {
- "type": "string"
- },
- "value": {}
- },
- "required": [
- "op",
- "path"
- ]
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date"
},
{
- "type": "object",
- "properties": {
- "op": {
- "const": "move"
- },
- "path": {
- "type": "string"
- },
- "from": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "path",
- "from"
- ]
- },
- {
- "type": "object",
- "properties": {
- "op": {
- "const": "copy"
- },
- "path": {
- "type": "string"
- },
- "from": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "path",
- "from"
- ]
- },
- {
- "type": "object",
- "properties": {
- "op": {
- "const": "test"
- },
- "path": {
- "type": "string"
- },
- "value": {}
- },
- "required": [
- "op",
- "path"
- ]
+ "type": "null"
}
- ]
+ ],
+ "description": "Timestamp of the last download, or null if never downloaded."
+ }
+ },
+ "required": [
+ "isPublic",
+ "views",
+ "downloads",
+ "lastViewedAt",
+ "lastDownloadedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/statistics/daily": {
+ "get": {
+ "operationId": "getResumeDailyStatistics",
+ "summary": "Get resume daily statistics",
+ "description": "Returns a continuous, zero-filled per-day series of view and download counts for the specified resume over the last `days` days (UTC). Requires authentication and resume ownership.",
+ "tags": [
+ "Resume Statistics"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The unique identifier of the resume."
+ }
+ },
+ {
+ "name": "days",
+ "in": "query",
+ "schema": {
+ "type": "number",
+ "default": 30,
+ "description": "Number of trailing days to include."
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The resume's daily view and download statistics.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "date": {
+ "type": "string",
+ "description": "The UTC day in YYYY-MM-DD format."
+ },
+ "views": {
+ "type": "number",
+ "description": "Number of views recorded on this day."
+ },
+ "downloads": {
+ "type": "number",
+ "description": "Number of downloads recorded on this day."
+ }
},
- "description": "An array of JSON Patch (RFC 6902) operations to apply to the resume data."
+ "required": [
+ "date",
+ "views",
+ "downloads"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/updates": {
+ "get": {
+ "operationId": "subscribeResumeUpdates",
+ "summary": "Subscribe to resume updates",
+ "description": "Streams lightweight invalidation events when the specified resume changes. The event payload contains metadata only; clients should refetch the resume for canonical data.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The unique identifier of the resume."
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A stream of resume update invalidation events.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {},
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes": {
+ "get": {
+ "operationId": "listResumes",
+ "summary": "List all resumes",
+ "description": "Returns a list of all resumes belonging to the authenticated user. Results can be filtered by tags and sorted by last updated date, creation date, or name. Resume data is not included in the response for performance; use the get endpoint to fetch full resume data. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "tags",
+ "in": "query",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "style": "deepObject",
+ "explode": true,
+ "allowEmptyValue": true,
+ "allowReserved": true
+ },
+ {
+ "name": "sort",
+ "in": "query",
+ "schema": {
+ "enum": [
+ "lastUpdatedAt",
+ "createdAt",
+ "name"
+ ],
+ "type": "string",
+ "default": "lastUpdatedAt"
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of resumes with their metadata (without full resume data).",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
+ "slug": {
+ "type": "string",
+ "description": "The slug of the resume."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The tags of the resume."
+ },
+ "isPublic": {
+ "type": "boolean",
+ "description": "Whether the resume is public."
+ },
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
+ },
+ "isLocked": {
+ "type": "boolean",
+ "description": "Whether the resume is locked."
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date",
+ "description": "The date and time the resume was created."
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date",
+ "description": "The date and time the resume was last updated."
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "tags",
+ "isPublic",
+ "showDownloadButtons",
+ "isLocked",
+ "createdAt",
+ "updatedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "createResume",
+ "summary": "Create a new resume",
+ "description": "Creates a new resume with the given name, slug, and tags. Optionally initializes the resume with sample data by setting withSampleData to true. The slug must be unique across the user's resumes. Returns the ID of the newly created resume. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
+ "slug": {
+ "type": "string",
+ "description": "The slug of the resume."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The tags of the resume."
+ },
+ "withSampleData": {
+ "type": "boolean",
+ "default": false
}
},
"required": [
- "operations"
+ "name",
+ "slug",
+ "tags"
]
}
}
@@ -17672,7 +13063,101 @@
},
"responses": {
"200": {
- "description": "The patched resume with its full data.",
+ "description": "The ID of the newly created resume.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string",
+ "description": "The ID of the created resume."
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "RESUME_SLUG_ALREADY_EXISTS"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "A resume with this slug already exists."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}": {
+ "get": {
+ "operationId": "getResume",
+ "summary": "Get resume by ID",
+ "description": "Returns a single resume with its full data, identified by its unique ID. Only resumes belonging to the authenticated user can be retrieved. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The resume with its full data.",
"content": {
"application/json": {
"schema": {
@@ -17684,12 +13169,10 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the resume."
},
"slug": {
"type": "string",
- "minLength": 1,
"description": "The slug of the resume."
},
"tags": {
@@ -17703,6 +13186,10 @@
"type": "boolean",
"description": "Whether the resume is public."
},
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
+ },
"isLocked": {
"type": "boolean",
"description": "Whether the resume is locked."
@@ -17717,32 +13204,32 @@
"type": "boolean",
"description": "Whether to hide the picture from the resume."
},
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
"url": {
"type": "string",
"description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
},
"size": {
"type": "number",
- "minimum": 32,
- "maximum": 512,
"description": "The size of the picture to display on the resume, defined in points (pt)."
},
"rotation": {
"type": "number",
- "minimum": 0,
- "maximum": 360,
"description": "The rotation of the picture to display on the resume, defined in degrees (°)."
},
"aspectRatio": {
"type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
"description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
},
"borderRadius": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The border radius of the picture to display on the resume, defined in points (pt)."
},
"borderColor": {
@@ -17751,7 +13238,6 @@
},
"borderWidth": {
"type": "number",
- "minimum": 0,
"description": "The width of the border of the picture to display on the resume, defined in points (pt)."
},
"shadowColor": {
@@ -17760,12 +13246,12 @@
},
"shadowWidth": {
"type": "number",
- "minimum": 0,
"description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
}
},
"required": [
"hidden",
+ "fit",
"url",
"size",
"rotation",
@@ -17874,15 +13360,17 @@
"description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the summary should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the summary from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the summary heading, icon, and decoration while retaining summary content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the summary is kept on a single page instead of splitting across a page break."
@@ -17922,15 +13410,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -17962,7 +13452,6 @@
},
"network": {
"type": "string",
- "minLength": 1,
"description": "The name of the network or platform."
},
"username": {
@@ -18029,15 +13518,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18061,7 +13552,6 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The name of the company or organization."
},
"position": {
@@ -18173,15 +13663,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18205,7 +13697,6 @@
},
"school": {
"type": "string",
- "minLength": 1,
"description": "The name of the school or institution."
},
"degree": {
@@ -18295,15 +13786,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18327,7 +13820,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the project."
},
"period": {
@@ -18386,101 +13878,6 @@
"description": "The section to display the projects of the author."
},
"skills": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ]
- },
- "description": "The items to display in the skills section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
"description": "The section to display the skills of the author."
},
"languages": {
@@ -18495,15 +13892,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18527,7 +13926,6 @@
},
"language": {
"type": "string",
- "minLength": 1,
"description": "The name of the language the author knows."
},
"fluency": {
@@ -18536,8 +13934,6 @@
},
"level": {
"type": "number",
- "minimum": 0,
- "maximum": 5,
"description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
}
},
@@ -18575,15 +13971,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18615,7 +14013,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the interest/hobby."
},
"keywords": {
@@ -18661,15 +14058,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18693,7 +14092,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the award."
},
"awarder": {
@@ -18768,15 +14166,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18800,7 +14200,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the certification."
},
"issuer": {
@@ -18875,15 +14274,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -18907,7 +14308,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the publication."
},
"publisher": {
@@ -18982,15 +14382,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19014,7 +14416,6 @@
},
"organization": {
"type": "string",
- "minLength": 1,
"description": "The name of the organization or company."
},
"location": {
@@ -19089,15 +14490,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19121,7 +14524,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the reference, or a note such as 'Available upon request'."
},
"position": {
@@ -19190,7 +14592,6 @@
"experience",
"education",
"projects",
- "skills",
"languages",
"interests",
"awards",
@@ -19217,15 +14618,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19234,6 +14637,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19299,15 +14705,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19316,6 +14724,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19376,15 +14787,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19393,6 +14806,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19424,7 +14840,6 @@
},
"network": {
"type": "string",
- "minLength": 1,
"description": "The name of the network or platform."
},
"username": {
@@ -19493,15 +14908,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19510,6 +14927,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19533,7 +14953,6 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The name of the company or organization."
},
"position": {
@@ -19647,15 +15066,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19664,6 +15085,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19687,7 +15111,6 @@
},
"school": {
"type": "string",
- "minLength": 1,
"description": "The name of the school or institution."
},
"degree": {
@@ -19779,15 +15202,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19796,6 +15221,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19819,7 +15247,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the project."
},
"period": {
@@ -19891,15 +15318,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -19908,6 +15337,15 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "enum": [
+ "inline",
+ "list"
+ ],
+ "type": "string",
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword."
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -19939,7 +15377,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the skill."
},
"proficiency": {
@@ -19948,8 +15385,6 @@
},
"level": {
"type": "number",
- "minimum": 0,
- "maximum": 5,
"description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
},
"keywords": {
@@ -19999,15 +15434,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20016,6 +15453,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20039,7 +15479,6 @@
},
"language": {
"type": "string",
- "minLength": 1,
"description": "The name of the language the author knows."
},
"fluency": {
@@ -20048,8 +15487,6 @@
},
"level": {
"type": "number",
- "minimum": 0,
- "maximum": 5,
"description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
}
},
@@ -20089,15 +15526,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20106,6 +15545,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20137,7 +15579,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the interest/hobby."
},
"keywords": {
@@ -20185,15 +15626,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20202,6 +15645,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20225,7 +15671,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the award."
},
"awarder": {
@@ -20302,15 +15747,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20319,6 +15766,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20342,7 +15792,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the certification."
},
"issuer": {
@@ -20419,15 +15868,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20436,6 +15887,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20459,7 +15913,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the publication."
},
"publisher": {
@@ -20536,15 +15989,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20553,6 +16008,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20576,7 +16034,6 @@
},
"organization": {
"type": "string",
- "minLength": 1,
"description": "The name of the organization or company."
},
"location": {
@@ -20653,15 +16110,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -20670,6 +16129,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -20693,7 +16155,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the reference, or a note such as 'Available upon request'."
},
"position": {
@@ -20791,8 +16252,6 @@
"properties": {
"sidebarWidth": {
"type": "number",
- "minimum": 10,
- "maximum": 50,
"description": "The width of the sidebar column, defined as a percentage of the page width."
},
"pages": {
@@ -20839,24 +16298,18 @@
"properties": {
"gapX": {
"type": "number",
- "minimum": 0,
"description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
"gapY": {
"type": "number",
- "minimum": 0,
"description": "The vertical gap between the sections of the page, defined in points (pt)."
},
"marginX": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The horizontal margin of the page, defined in points (pt)."
},
"marginY": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The vertical margin of the page, defined in points (pt)."
},
"format": {
@@ -20986,14 +16439,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -21032,14 +16481,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -21083,10 +16528,7 @@
"type": "object",
"properties": {
"languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
+ "type": "number"
},
"text": {
"type": "string"
@@ -21135,10 +16577,6 @@
},
"hasPassword": {
"type": "boolean"
- },
- "showDownloadButtons": {
- "type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
}
},
"required": [
@@ -21147,131 +16585,11 @@
"slug",
"tags",
"isPublic",
+ "showDownloadButtons",
"isLocked",
"data",
"updatedAt",
- "hasPassword",
- "showDownloadButtons"
- ]
- }
- }
- }
- },
- "400": {
- "description": "400",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "INVALID_PATCH_OPERATIONS"
- },
- "status": {
- "const": 400
- },
- "message": {
- "type": "string",
- "default": "The patch operations are invalid or produced an invalid resume."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
- ]
- }
- }
- }
- },
- "409": {
- "description": "409",
- "content": {
- "application/json": {
- "schema": {
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": true
- },
- "code": {
- "const": "RESUME_VERSION_CONFLICT"
- },
- "status": {
- "const": 409
- },
- "message": {
- "type": "string",
- "default": "The resume changed after this patch was generated."
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- },
- {
- "type": "object",
- "properties": {
- "defined": {
- "const": false
- },
- "code": {
- "type": "string"
- },
- "status": {
- "type": "number"
- },
- "message": {
- "type": "string"
- },
- "data": {}
- },
- "required": [
- "defined",
- "code",
- "status",
- "message"
- ]
- }
+ "hasPassword"
]
}
}
@@ -21279,10 +16597,10 @@
}
}
},
- "delete": {
- "operationId": "deleteResume",
- "summary": "Delete a resume",
- "description": "Permanently deletes a resume and its associated files (screenshots, PDFs) from storage. Locked resumes cannot be deleted; unlock the resume first. Requires authentication.",
+ "put": {
+ "operationId": "updateResume",
+ "summary": "Update a resume",
+ "description": "Updates one or more fields of a resume identified by its ID. All fields are optional; only provided fields will be updated. Locked resumes cannot be updated. Requires authentication.",
"tags": [
"Resumes"
],
@@ -21292,61 +16610,51 @@
"in": "path",
"required": true,
"schema": {
- "type": "string",
- "description": "The ID of the resume."
+ "type": "string"
}
}
],
- "responses": {
- "200": {
- "description": "The resume and its associated files were deleted successfully.",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
+ "requestBody": {
+ "required": false,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
+ "slug": {
+ "type": "string",
+ "description": "The slug of the resume."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- {
- "not": {}
- }
- ]
+ "description": "The tags of the resume."
+ },
+ "data": {
+ "$ref": "#/components/schemas/ResumeData"
+ },
+ "isPublic": {
+ "type": "boolean",
+ "description": "Whether the resume is public."
+ },
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
+ }
}
}
}
}
- }
- }
- },
- "/resumes/{username}/{slug}": {
- "get": {
- "operationId": "getResumeBySlug",
- "summary": "Get public resume by username and slug",
- "description": "Returns a publicly shared resume identified by the owner's username and the resume's slug. If the resume is password-protected and the viewer has not yet verified the password, a 401 error with code NEED_PASSWORD is returned. No authentication required for public resumes; if authenticated as the owner, private resumes are also accessible.",
- "tags": [
- "Resume Sharing"
- ],
- "parameters": [
- {
- "name": "username",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "slug",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
+ },
"responses": {
"200": {
- "description": "The public resume with its full data.",
+ "description": "The updated resume with its full data.",
"content": {
"application/json": {
"schema": {
@@ -21356,9 +16664,12 @@
"type": "string",
"description": "The ID of the resume."
},
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
"slug": {
"type": "string",
- "minLength": 1,
"description": "The slug of the resume."
},
"tags": {
@@ -21372,6 +16683,10 @@
"type": "boolean",
"description": "Whether the resume is public."
},
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
+ },
"isLocked": {
"type": "boolean",
"description": "Whether the resume is locked."
@@ -21386,32 +16701,32 @@
"type": "boolean",
"description": "Whether to hide the picture from the resume."
},
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
"url": {
"type": "string",
"description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
},
"size": {
"type": "number",
- "minimum": 32,
- "maximum": 512,
"description": "The size of the picture to display on the resume, defined in points (pt)."
},
"rotation": {
"type": "number",
- "minimum": 0,
- "maximum": 360,
"description": "The rotation of the picture to display on the resume, defined in degrees (°)."
},
"aspectRatio": {
"type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
"description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
},
"borderRadius": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The border radius of the picture to display on the resume, defined in points (pt)."
},
"borderColor": {
@@ -21420,7 +16735,6 @@
},
"borderWidth": {
"type": "number",
- "minimum": 0,
"description": "The width of the border of the picture to display on the resume, defined in points (pt)."
},
"shadowColor": {
@@ -21429,12 +16743,12 @@
},
"shadowWidth": {
"type": "number",
- "minimum": 0,
"description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
}
},
"required": [
"hidden",
+ "fit",
"url",
"size",
"rotation",
@@ -21543,15 +16857,17 @@
"description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the summary should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the summary from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the summary heading, icon, and decoration while retaining summary content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the summary is kept on a single page instead of splitting across a page break."
@@ -21591,15 +16907,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -21631,7 +16949,6 @@
},
"network": {
"type": "string",
- "minLength": 1,
"description": "The name of the network or platform."
},
"username": {
@@ -21698,15 +17015,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -21730,7 +17049,6 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The name of the company or organization."
},
"position": {
@@ -21842,15 +17160,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -21874,7 +17194,6 @@
},
"school": {
"type": "string",
- "minLength": 1,
"description": "The name of the school or institution."
},
"degree": {
@@ -21964,15 +17283,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -21996,7 +17317,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the project."
},
"period": {
@@ -22055,6 +17375,88 @@
"description": "The section to display the projects of the author."
},
"skills": {
+ "description": "The section to display the skills of the author."
+ },
+ "languages": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ]
+ },
+ "description": "The items to display in the languages section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the languages of the author."
+ },
+ "interests": {
"type": "object",
"properties": {
"title": {
@@ -22066,15 +17468,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22106,25 +17510,14 @@
},
"name": {
"type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ "description": "The name of the interest/hobby."
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
}
},
"required": [
@@ -22133,12 +17526,10 @@
"icon",
"iconColor",
"name",
- "proficiency",
- "level",
"keywords"
]
},
- "description": "The items to display in the skills section."
+ "description": "The items to display in the interests section."
}
},
"required": [
@@ -22150,9 +17541,9 @@
"startOnNewPage",
"items"
],
- "description": "The section to display the skills of the author."
+ "description": "The section to display the interests of the author."
},
- "languages": {
+ "awards": {
"type": "object",
"properties": {
"title": {
@@ -22164,15 +17555,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22194,31 +17587,57 @@
"type": "boolean",
"description": "Whether to hide the item from the resume."
},
- "language": {
+ "title": {
"type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
+ "description": "The title of the award."
},
- "fluency": {
+ "awarder": {
"type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ "description": "The awarder of the award."
},
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the award, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
}
},
"required": [
"id",
"hidden",
- "language",
- "fluency",
- "level"
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
]
},
- "description": "The items to display in the languages section."
+ "description": "The items to display in the awards section."
}
},
"required": [
@@ -22230,9 +17649,9 @@
"startOnNewPage",
"items"
],
- "description": "The section to display the languages of the author."
+ "description": "The section to display the awards of the author."
},
- "interests": {
+ "certifications": {
"type": "object",
"properties": {
"title": {
@@ -22244,15 +17663,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22274,37 +17695,57 @@
"type": "boolean",
"description": "Whether to hide the item from the resume."
},
- "icon": {
+ "title": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "The title of the certification."
},
- "iconColor": {
+ "issuer": {
"type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ "description": "The issuer of the certification."
},
- "name": {
+ "date": {
"type": "string",
- "minLength": 1,
- "description": "The name of the interest/hobby."
+ "description": "The date when the certification was received."
},
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
},
- "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the certification, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
}
},
"required": [
"id",
"hidden",
- "icon",
- "iconColor",
- "name",
- "keywords"
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
]
},
- "description": "The items to display in the interests section."
+ "description": "The items to display in the certifications section."
}
},
"required": [
@@ -22316,9 +17757,9 @@
"startOnNewPage",
"items"
],
- "description": "The section to display the interests of the author."
+ "description": "The section to display the certifications of the author."
},
- "awards": {
+ "publications": {
"type": "object",
"properties": {
"title": {
@@ -22330,15 +17771,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22362,16 +17805,15 @@
},
"title": {
"type": "string",
- "minLength": 1,
- "description": "The title of the award."
+ "description": "The title of the publication."
},
- "awarder": {
+ "publisher": {
"type": "string",
- "description": "The awarder of the award."
+ "description": "The publisher of the publication."
},
"date": {
"type": "string",
- "description": "The date when the award was received."
+ "description": "The date when the publication was published."
},
"website": {
"type": "object",
@@ -22394,24 +17836,24 @@
"label",
"inlineLink"
],
- "description": "The website of the award, if any."
+ "description": "The link to the publication, if any."
},
"description": {
"type": "string",
- "description": "The description of the award. This should be a HTML-formatted string."
+ "description": "The description of the publication. This should be a HTML-formatted string."
}
},
"required": [
"id",
"hidden",
"title",
- "awarder",
+ "publisher",
"date",
"website",
"description"
]
},
- "description": "The items to display in the awards section."
+ "description": "The items to display in the publications section."
}
},
"required": [
@@ -22423,9 +17865,9 @@
"startOnNewPage",
"items"
],
- "description": "The section to display the awards of the author."
+ "description": "The section to display the publications of the author."
},
- "certifications": {
+ "volunteer": {
"type": "object",
"properties": {
"title": {
@@ -22437,15 +17879,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22467,232 +17911,17 @@
"type": "boolean",
"description": "Whether to hide the item from the resume."
},
- "title": {
+ "organization": {
"type": "string",
- "minLength": 1,
- "description": "The title of the certification."
+ "description": "The name of the organization or company."
},
- "issuer": {
+ "location": {
"type": "string",
- "description": "The issuer of the certification."
+ "description": "The location of the organization or company."
},
- "date": {
+ "period": {
"type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the certification, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the certifications section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the certifications of the author."
- },
- "publications": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the publication."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the publication."
- },
- "date": {
- "type": "string",
- "description": "The date when the publication was published."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The link to the publication, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the publication. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "publisher",
- "date",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the publications section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the publications of the author."
- },
- "volunteer": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "organization": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the organization or company."
- },
- "location": {
- "type": "string",
- "description": "The location of the organization or company."
- },
- "period": {
- "type": "string",
- "description": "The period of time the author was volunteered at the organization or company."
+ "description": "The period of time the author was volunteered at the organization or company."
},
"website": {
"type": "object",
@@ -22758,15 +17987,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22790,7 +18021,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the reference, or a note such as 'Available upon request'."
},
"position": {
@@ -22859,7 +18089,6 @@
"experience",
"education",
"projects",
- "skills",
"languages",
"interests",
"awards",
@@ -22886,15 +18115,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22903,6 +18134,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -22968,15 +18202,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -22985,6 +18221,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23045,15 +18284,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23062,6 +18303,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23093,7 +18337,6 @@
},
"network": {
"type": "string",
- "minLength": 1,
"description": "The name of the network or platform."
},
"username": {
@@ -23162,15 +18405,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23179,6 +18424,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23202,7 +18450,6 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The name of the company or organization."
},
"position": {
@@ -23316,15 +18563,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23333,6 +18582,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23356,7 +18608,6 @@
},
"school": {
"type": "string",
- "minLength": 1,
"description": "The name of the school or institution."
},
"degree": {
@@ -23448,15 +18699,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23465,6 +18718,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23488,7 +18744,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the project."
},
"period": {
@@ -23560,15 +18815,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23577,6 +18834,15 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "enum": [
+ "inline",
+ "list"
+ ],
+ "type": "string",
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword."
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23608,7 +18874,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the skill."
},
"proficiency": {
@@ -23617,8 +18882,6 @@
},
"level": {
"type": "number",
- "minimum": 0,
- "maximum": 5,
"description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
},
"keywords": {
@@ -23668,15 +18931,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23685,6 +18950,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23708,7 +18976,6 @@
},
"language": {
"type": "string",
- "minLength": 1,
"description": "The name of the language the author knows."
},
"fluency": {
@@ -23717,8 +18984,6 @@
},
"level": {
"type": "number",
- "minimum": 0,
- "maximum": 5,
"description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
}
},
@@ -23758,15 +19023,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23775,6 +19042,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23806,7 +19076,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the interest/hobby."
},
"keywords": {
@@ -23854,15 +19123,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23871,6 +19142,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -23894,7 +19168,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the award."
},
"awarder": {
@@ -23971,15 +19244,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -23988,6 +19263,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -24011,7 +19289,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the certification."
},
"issuer": {
@@ -24088,15 +19365,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -24105,6 +19384,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -24128,7 +19410,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the publication."
},
"publisher": {
@@ -24205,15 +19486,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -24222,6 +19505,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -24245,7 +19531,6 @@
},
"organization": {
"type": "string",
- "minLength": 1,
"description": "The name of the organization or company."
},
"location": {
@@ -24322,15 +19607,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -24339,6 +19626,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -24362,7 +19652,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the reference, or a note such as 'Available upon request'."
},
"position": {
@@ -24460,8 +19749,6 @@
"properties": {
"sidebarWidth": {
"type": "number",
- "minimum": 10,
- "maximum": 50,
"description": "The width of the sidebar column, defined as a percentage of the page width."
},
"pages": {
@@ -24508,24 +19795,18 @@
"properties": {
"gapX": {
"type": "number",
- "minimum": 0,
"description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
"gapY": {
"type": "number",
- "minimum": 0,
"description": "The vertical gap between the sections of the page, defined in points (pt)."
},
"marginX": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The horizontal margin of the page, defined in points (pt)."
},
"marginY": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The vertical margin of the page, defined in points (pt)."
},
"format": {
@@ -24655,14 +19936,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -24701,14 +19978,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -24752,10 +20025,7 @@
"type": "object",
"properties": {
"languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
+ "type": "number"
},
"text": {
"type": "string"
@@ -24796,68 +20066,31 @@
],
"additionalProperties": {}
},
- "name": {
- "type": "string"
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date",
+ "description": "The date and time the resume was last updated."
},
- "showDownloadButtons": {
- "type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
+ "hasPassword": {
+ "type": "boolean"
}
},
"required": [
"id",
+ "name",
"slug",
"tags",
"isPublic",
+ "showDownloadButtons",
"isLocked",
"data",
- "name",
- "showDownloadButtons"
+ "updatedAt",
+ "hasPassword"
]
}
}
}
- }
- }
- }
- },
- "/resumes/import": {
- "post": {
- "operationId": "importResume",
- "summary": "Import a resume",
- "description": "Creates a new resume from an existing ResumeData object (e.g. from a previously exported JSON file). A random name and slug are generated automatically. Returns the ID of the imported resume. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/components/schemas/ResumeData"
- }
- },
- "required": [
- "data"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The ID of the imported resume.",
- "content": {
- "application/json": {
- "schema": {
- "type": "string",
- "description": "The ID of the imported resume."
- }
- }
- }
},
"400": {
"description": "400",
@@ -24920,234 +20153,11 @@
}
}
}
- }
- },
- "/resumes/{id}/lock": {
- "post": {
- "operationId": "setResumeLocked",
- "summary": "Set resume lock status",
- "description": "Toggles the locked status of a resume. When locked, a resume cannot be updated, patched, or deleted. Useful for protecting finalized resumes from accidental edits. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume."
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "isLocked": {
- "type": "boolean",
- "description": "Whether the resume is locked."
- }
- },
- "required": [
- "isLocked"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The resume lock status was updated successfully.",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
- },
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{id}/password": {
- "put": {
- "operationId": "setResumePassword",
- "summary": "Set resume password",
- "description": "Sets or updates a password on a resume. When a password is set, viewers of the public resume must enter the password before the resume data is revealed. The password must be between 6 and 64 characters. Requires authentication.",
- "tags": [
- "Resume Sharing"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume."
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string",
- "minLength": 6,
- "maxLength": 64
- }
- },
- "required": [
- "password"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The resume password was set successfully.",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
- },
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
},
- "delete": {
- "operationId": "removeResumePassword",
- "summary": "Remove resume password",
- "description": "Removes password protection from a resume. After removal, the resume (if public) can be viewed without entering a password. Requires authentication.",
- "tags": [
- "Resume Sharing"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The resume password was removed successfully.",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
- },
- {
- "not": {}
- }
- ]
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{username}/{slug}/password/verify": {
- "post": {
- "operationId": "verifyResumePassword",
- "summary": "Verify resume password",
- "description": "Verifies a password for a password-protected public resume. On success, the viewer is granted access to view the resume data for the duration of their session. No authentication required.",
- "tags": [
- "Resume Sharing"
- ],
- "parameters": [
- {
- "name": "username",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "minLength": 1,
- "description": "The username of the resume owner."
- }
- },
- {
- "name": "slug",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string",
- "minLength": 1,
- "description": "The password to verify."
- }
- },
- "required": [
- "password"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "The password was verified successfully and access has been granted.",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{id}/duplicate": {
- "post": {
- "operationId": "duplicateResume",
- "summary": "Duplicate a resume",
- "description": "Creates a copy of an existing resume with the same data. Optionally override the name, slug, and tags for the duplicate. If not provided, the original resume's name, slug, and tags are used. Returns the ID of the duplicated resume. Requires authentication.",
+ "patch": {
+ "operationId": "patchResume",
+ "summary": "Patch resume data",
+ "description": "Applies JSON Patch (RFC 6902) operations to partially update a resume's data. This allows small, targeted changes (e.g. updating a single field) without sending the entire resume object. Locked resumes cannot be patched. Requires authentication.",
"tags": [
"Resumes"
],
@@ -25158,7 +20168,7 @@
"required": true,
"schema": {
"type": "string",
- "description": "The ID of the resume."
+ "description": "The ID of the resume to patch."
}
}
],
@@ -25169,28 +20179,124 @@
"schema": {
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
+ "expectedUpdatedAt": {
"type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
+ "format": "date-time",
+ "x-native-type": "date",
+ "description": "If provided, the patch only applies when the resume version still matches this timestamp."
},
- "tags": {
+ "operations": {
"type": "array",
"items": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "op": {
+ "const": "add"
+ },
+ "path": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "op",
+ "path"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "op": {
+ "const": "remove"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "path"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "op": {
+ "const": "replace"
+ },
+ "path": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "op",
+ "path"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "op": {
+ "const": "move"
+ },
+ "path": {
+ "type": "string"
+ },
+ "from": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "path",
+ "from"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "op": {
+ "const": "copy"
+ },
+ "path": {
+ "type": "string"
+ },
+ "from": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "path",
+ "from"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "op": {
+ "const": "test"
+ },
+ "path": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "op",
+ "path"
+ ]
+ }
+ ]
},
- "description": "The tags of the resume."
+ "description": "An array of JSON Patch (RFC 6902) operations to apply to the resume data."
}
},
"required": [
- "name",
- "slug",
- "tags"
+ "operations"
]
}
}
@@ -25198,137 +20304,39 @@
},
"responses": {
"200": {
- "description": "The ID of the duplicated resume.",
- "content": {
- "application/json": {
- "schema": {
- "type": "string",
- "description": "The ID of the duplicated resume."
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{resumeId}/versions": {
- "get": {
- "operationId": "listResumeVersions",
- "summary": "List resume version history",
- "description": "Returns the recent version-history snapshots for a resume (id, label, and timestamp only). Snapshots are taken at milestones such as imports, AI edits, and periodic manual saves. Only the resume owner can list versions. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
- {
- "name": "resumeId",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume whose version history to list."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "A list of recent version snapshots, newest first.",
+ "description": "The patched resume with its full data.",
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the version snapshot."
- },
- "label": {
- "type": "string",
- "description": "A short description of what triggered the snapshot."
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
+ "slug": {
+ "type": "string",
+ "description": "The slug of the resume."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date",
- "description": "The date and time the snapshot was taken."
- }
- },
- "required": [
- "id",
- "label",
- "createdAt"
- ]
- }
- }
- }
- }
- }
- }
- }
- },
- "/resumes/{resumeId}/versions/{versionId}/restore": {
- "post": {
- "operationId": "restoreResumeVersion",
- "summary": "Restore a resume version",
- "description": "Non-destructively restores a resume to a previous version snapshot by writing that snapshot's data back through the normal update path. Prior versions are preserved and the restore itself becomes a new snapshot. Only the resume owner can restore versions. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
- {
- "name": "resumeId",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume to restore."
- }
- },
- {
- "name": "versionId",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the version snapshot to restore."
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The restored resume with its full data.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the resume."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the resume."
- },
- "slug": {
- "type": "string",
- "minLength": 1,
- "description": "The slug of the resume."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The tags of the resume."
+ "description": "The tags of the resume."
},
"isPublic": {
"type": "boolean",
"description": "Whether the resume is public."
},
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
+ },
"isLocked": {
"type": "boolean",
"description": "Whether the resume is locked."
@@ -25343,32 +20351,32 @@
"type": "boolean",
"description": "Whether to hide the picture from the resume."
},
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
"url": {
"type": "string",
"description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
},
"size": {
"type": "number",
- "minimum": 32,
- "maximum": 512,
"description": "The size of the picture to display on the resume, defined in points (pt)."
},
"rotation": {
"type": "number",
- "minimum": 0,
- "maximum": 360,
"description": "The rotation of the picture to display on the resume, defined in degrees (°)."
},
"aspectRatio": {
"type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
"description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
},
"borderRadius": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The border radius of the picture to display on the resume, defined in points (pt)."
},
"borderColor": {
@@ -25377,7 +20385,6 @@
},
"borderWidth": {
"type": "number",
- "minimum": 0,
"description": "The width of the border of the picture to display on the resume, defined in points (pt)."
},
"shadowColor": {
@@ -25386,12 +20393,12 @@
},
"shadowWidth": {
"type": "number",
- "minimum": 0,
"description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
}
},
"required": [
"hidden",
+ "fit",
"url",
"size",
"rotation",
@@ -25500,15 +20507,17 @@
"description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the summary should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the summary from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the summary heading, icon, and decoration while retaining summary content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the summary is kept on a single page instead of splitting across a page break."
@@ -25548,15 +20557,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -25588,7 +20599,6 @@
},
"network": {
"type": "string",
- "minLength": 1,
"description": "The name of the network or platform."
},
"username": {
@@ -25655,15 +20665,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -25687,7 +20699,6 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The name of the company or organization."
},
"position": {
@@ -25799,15 +20810,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -25831,7 +20844,6 @@
},
"school": {
"type": "string",
- "minLength": 1,
"description": "The name of the school or institution."
},
"degree": {
@@ -25921,15 +20933,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -25953,7 +20967,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the project."
},
"period": {
@@ -26012,101 +21025,6 @@
"description": "The section to display the projects of the author."
},
"skills": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ]
- },
- "description": "The items to display in the skills section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
"description": "The section to display the skills of the author."
},
"languages": {
@@ -26121,15 +21039,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26153,7 +21073,6 @@
},
"language": {
"type": "string",
- "minLength": 1,
"description": "The name of the language the author knows."
},
"fluency": {
@@ -26162,8 +21081,6 @@
},
"level": {
"type": "number",
- "minimum": 0,
- "maximum": 5,
"description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
}
},
@@ -26201,15 +21118,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26241,7 +21160,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the interest/hobby."
},
"keywords": {
@@ -26287,15 +21205,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26319,7 +21239,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the award."
},
"awarder": {
@@ -26394,121 +21313,124 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
+ "showHeading": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "title": {
- "type": "string",
- "minLength": 1,
- "description": "The title of the certification."
- },
- "issuer": {
- "type": "string",
- "description": "The issuer of the certification."
- },
- "date": {
- "type": "string",
- "description": "The date when the certification was received."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- },
- "inlineLink": {
- "type": "boolean",
- "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
- }
- },
- "required": [
- "url",
- "label",
- "inlineLink"
- ],
- "description": "The website of the certification, if any."
- },
- "description": {
- "type": "string",
- "description": "The description of the certification. This should be a HTML-formatted string."
- }
- },
- "required": [
- "id",
- "hidden",
- "title",
- "issuer",
- "date",
- "website",
- "description"
- ]
- },
- "description": "The items to display in the certifications section."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "items"
- ],
- "description": "The section to display the certifications of the author."
- },
- "publications": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the certification, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the certifications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the certifications of the author."
+ },
+ "publications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
},
"keepTogether": {
"type": "boolean",
@@ -26533,7 +21455,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the publication."
},
"publisher": {
@@ -26608,15 +21529,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26640,7 +21563,6 @@
},
"organization": {
"type": "string",
- "minLength": 1,
"description": "The name of the organization or company."
},
"location": {
@@ -26715,15 +21637,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26747,7 +21671,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the reference, or a note such as 'Available upon request'."
},
"position": {
@@ -26816,7 +21739,6 @@
"experience",
"education",
"projects",
- "skills",
"languages",
"interests",
"awards",
@@ -26843,15 +21765,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26860,6 +21784,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -26925,15 +21852,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -26942,6 +21871,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27002,15 +21934,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -27019,6 +21953,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27050,7 +21987,6 @@
},
"network": {
"type": "string",
- "minLength": 1,
"description": "The name of the network or platform."
},
"username": {
@@ -27119,15 +22055,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -27136,6 +22074,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27159,7 +22100,6 @@
},
"company": {
"type": "string",
- "minLength": 1,
"description": "The name of the company or organization."
},
"position": {
@@ -27273,15 +22213,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -27290,6 +22232,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27313,7 +22258,6 @@
},
"school": {
"type": "string",
- "minLength": 1,
"description": "The name of the school or institution."
},
"degree": {
@@ -27405,15 +22349,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -27422,6 +22368,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27445,7 +22394,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the project."
},
"period": {
@@ -27517,122 +22465,16 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
+ "showHeading": {
"type": "boolean",
- "description": "If true, the section always begins on a new page."
- },
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "skills",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "iconColor": {
- "type": "string",
- "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the skill."
- },
- "proficiency": {
- "type": "string",
- "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- },
- "keywords": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
- }
- },
- "required": [
- "id",
- "hidden",
- "icon",
- "iconColor",
- "name",
- "proficiency",
- "level",
- "keywords"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
- "type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
},
"keepTogether": {
"type": "boolean",
@@ -27642,102 +22484,223 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom section. Usually generated as a UUID."
- },
- "type": {
- "const": "languages",
- "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
- },
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the item. Usually generated as a UUID."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the item from the resume."
- },
- "language": {
- "type": "string",
- "minLength": 1,
- "description": "The name of the language the author knows."
- },
- "fluency": {
- "type": "string",
- "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
- },
- "level": {
- "type": "number",
- "minimum": 0,
- "maximum": 5,
- "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
- }
- },
- "required": [
- "id",
- "hidden",
- "language",
- "fluency",
- "level"
- ],
- "additionalProperties": {}
- },
- "description": "The items to display in the custom section. Items follow the schema of the section type."
- }
- },
- "required": [
- "title",
- "icon",
- "columns",
- "hidden",
- "keepTogether",
- "startOnNewPage",
- "id",
- "type",
- "items"
- ]
- },
- {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the section."
- },
- "icon": {
+ "keywordLayout": {
+ "enum": [
+ "inline",
+ "list"
+ ],
"type": "string",
- "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
- },
- "columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
- "description": "The number of columns the section should span across."
- },
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the section from the resume."
- },
- "keepTogether": {
- "type": "boolean",
- "description": "If true, the section is kept on a single page instead of splitting across a page break."
- },
- "startOnNewPage": {
- "type": "boolean",
- "description": "If true, the section always begins on a new page."
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword."
},
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
},
"type": {
- "const": "interests",
+ "const": "skills",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the skill."
+ },
+ "proficiency": {
+ "type": "string",
+ "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "proficiency",
+ "level",
+ "keywords"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "languages",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "interests",
"description": "The type of items this custom section contains. Determines which item schema and form fields to use."
},
"items": {
@@ -27763,7 +22726,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the interest/hobby."
},
"keywords": {
@@ -27811,15 +22773,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -27828,6 +22792,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27851,7 +22818,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the award."
},
"awarder": {
@@ -27928,15 +22894,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -27945,6 +22913,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -27968,7 +22939,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the certification."
},
"issuer": {
@@ -28045,15 +23015,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -28062,6 +23034,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -28085,7 +23060,6 @@
},
"title": {
"type": "string",
- "minLength": 1,
"description": "The title of the publication."
},
"publisher": {
@@ -28162,15 +23136,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -28179,6 +23155,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -28202,7 +23181,6 @@
},
"organization": {
"type": "string",
- "minLength": 1,
"description": "The name of the organization or company."
},
"location": {
@@ -28279,15 +23257,17 @@
"description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
"columns": {
- "type": "integer",
- "minimum": 1,
- "maximum": 6,
+ "type": "number",
"description": "The number of columns the section should span across."
},
"hidden": {
"type": "boolean",
"description": "Whether to hide the section from the resume."
},
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
"keepTogether": {
"type": "boolean",
"description": "If true, the section is kept on a single page instead of splitting across a page break."
@@ -28296,6 +23276,9 @@
"type": "boolean",
"description": "If true, the section always begins on a new page."
},
+ "keywordLayout": {
+ "not": {}
+ },
"id": {
"type": "string",
"description": "The unique identifier for the custom section. Usually generated as a UUID."
@@ -28319,7 +23302,6 @@
},
"name": {
"type": "string",
- "minLength": 1,
"description": "The name of the reference, or a note such as 'Available upon request'."
},
"position": {
@@ -28417,8 +23399,6 @@
"properties": {
"sidebarWidth": {
"type": "number",
- "minimum": 10,
- "maximum": 50,
"description": "The width of the sidebar column, defined as a percentage of the page width."
},
"pages": {
@@ -28465,24 +23445,18 @@
"properties": {
"gapX": {
"type": "number",
- "minimum": 0,
"description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
"gapY": {
"type": "number",
- "minimum": 0,
"description": "The vertical gap between the sections of the page, defined in points (pt)."
},
"marginX": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The horizontal margin of the page, defined in points (pt)."
},
"marginY": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The vertical margin of the page, defined in points (pt)."
},
"format": {
@@ -28612,14 +23586,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -28658,14 +23628,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -28709,10 +23675,7 @@
"type": "object",
"properties": {
"languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
+ "type": "number"
},
"text": {
"type": "string"
@@ -28761,10 +23724,6 @@
},
"hasPassword": {
"type": "boolean"
- },
- "showDownloadButtons": {
- "type": "boolean",
- "description": "Whether download buttons are shown on the public resume page."
}
},
"required": [
@@ -28773,137 +23732,170 @@
"slug",
"tags",
"isPublic",
+ "showDownloadButtons",
"isLocked",
"data",
"updatedAt",
- "hasPassword",
- "showDownloadButtons"
+ "hasPassword"
]
}
}
}
- }
- }
- }
- },
- "/resumes/{id}/pdf": {
- "get": {
- "operationId": "downloadResumePdf",
- "summary": "Download resume as PDF",
- "description": "Generates a PDF for the specified resume and returns it as a forced download. Only resumes belonging to the authenticated user can be downloaded. Requires authentication.",
- "tags": [
- "Resumes"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "description": "The ID of the resume."
- }
},
- {
- "name": "target",
- "in": "query",
- "schema": {
- "enum": [
- "resume",
- "cover-letter"
- ],
- "type": "string",
- "description": "Which document to download."
- },
- "allowEmptyValue": true,
- "allowReserved": true
- }
- ],
- "responses": {
- "200": {
- "description": "The generated resume PDF.",
- "headers": {
- "content-disposition": {
- "schema": {
- "type": "string"
- },
- "required": true
- }
- },
+ "400": {
+ "description": "400",
"content": {
- "application/pdf": {
+ "application/json": {
"schema": {
- "type": "string",
- "contentMediaType": "application/pdf"
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "INVALID_PATCH_OPERATIONS"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "The patch operations are invalid or produced an invalid resume."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
}
}
}
- }
- }
- }
- },
- "/statistics/users": {
- "get": {
- "operationId": "getUserCount",
- "summary": "Get total number of users",
- "description": "Returns the total number of registered users on this Reactive Resume instance. The count is cached for up to 6 hours for performance. No authentication required.",
- "tags": [
- "Platform Statistics"
- ],
- "responses": {
- "200": {
- "description": "The total number of registered users.",
+ },
+ "409": {
+ "description": "409",
"content": {
"application/json": {
"schema": {
- "type": "number",
- "description": "The total number of registered users."
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "RESUME_VERSION_CONFLICT"
+ },
+ "status": {
+ "const": 409
+ },
+ "message": {
+ "type": "string",
+ "default": "The resume changed after this patch was generated."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
}
}
}
}
}
- }
- },
- "/statistics/resumes": {
- "get": {
- "operationId": "getResumeCount",
- "summary": "Get total number of resumes",
- "description": "Returns the total number of resumes created on this Reactive Resume instance. The count is cached for up to 6 hours for performance. No authentication required.",
+ },
+ "delete": {
+ "operationId": "deleteResume",
+ "summary": "Delete a resume",
+ "description": "Permanently deletes a resume and its associated files (screenshots, PDFs) from storage. Locked resumes cannot be deleted; unlock the resume first. Requires authentication.",
"tags": [
- "Platform Statistics"
+ "Resumes"
],
- "responses": {
- "200": {
- "description": "The total number of resumes created.",
- "content": {
- "application/json": {
- "schema": {
- "type": "number",
- "description": "The total number of resumes created."
- }
- }
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
}
}
- }
- }
- },
- "/statistics/github/stars": {
- "get": {
- "operationId": "getGitHubStarCount",
- "summary": "Get GitHub star count",
- "description": "Returns the number of GitHub stars for the Reactive Resume repository. The count is cached for up to 6 hours and falls back to a last-known value if the GitHub API is unavailable. No authentication required.",
- "tags": [
- "Platform Statistics"
],
"responses": {
"200": {
- "description": "The number of GitHub stars for the Reactive Resume repository.",
+ "description": "The resume and its associated files were deleted successfully.",
"content": {
"application/json": {
"schema": {
- "type": "number",
- "description": "The number of GitHub stars."
+ "anyOf": [
+ {
+ "not": {}
+ },
+ {
+ "not": {}
+ }
+ ]
}
}
}
@@ -28911,13 +23903,13 @@
}
}
},
- "/resumes/{username}/{slug}/statistics/download": {
- "post": {
- "operationId": "recordResumeDownload",
- "summary": "Record a public resume PDF download",
- "description": "Records a visitor's explicit PDF download after the browser starts saving the file. Requires access to the public resume. For password-protected resumes, first call verifyResumePassword (POST /resumes/{username}/{slug}/password/verify) with the password, then send the returned HttpOnly resume_access_<resumeId> cookie with this request. A missing or invalid access cookie returns NEED_PASSWORD (HTTP 401); the cookie expires after 10 minutes. Owner downloads are excluded. Rate limited per resume and visitor.",
+ "/resumes/{username}/{slug}": {
+ "get": {
+ "operationId": "getResumeBySlug",
+ "summary": "Get public resume by username and slug",
+ "description": "Returns a publicly shared resume identified by the owner's username and the resume's slug. If the resume is password-protected and the viewer has not yet verified the password, a 401 error with code NEED_PASSWORD is returned. No authentication required for public resumes; if authenticated as the owner, private resumes are also accessible.",
"tags": [
- "Resume Statistics"
+ "Resume Sharing"
],
"parameters": [
{
@@ -28939,2189 +23931,6970 @@
],
"responses": {
"200": {
- "description": "The download event was accepted.",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- }
- }
- },
- "/api/health": {
- "get": {
- "operationId": "getHealth",
- "tags": [
- "System"
- ],
- "summary": "Get application health and version",
- "description": "Checks database and storage availability. Does not require authentication.",
- "servers": [
- {
- "url": "https://rxresu.me"
- }
- ],
- "security": [],
- "responses": {
- "200": {
- "description": "The application and its dependencies are healthy.",
+ "description": "The public resume with its full data.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "service": {
- "type": "string",
- "enum": [
- "reactive-resume"
- ]
- },
- "version": {
- "type": "string",
- "description": "The running application's build version."
- },
- "status": {
+ "id": {
"type": "string",
- "enum": [
- "healthy",
- "unhealthy"
- ]
+ "description": "The ID of the resume."
},
- "timestamp": {
+ "slug": {
"type": "string",
- "format": "date-time"
- },
- "uptime": {
- "type": "string"
- },
- "database": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string",
- "enum": [
- "healthy",
- "unhealthy"
- ]
- },
- "latencyMs": {
- "type": "number"
- },
- "error": {
- "type": "string",
- "description": "Generic failure message. Detailed diagnostics are logged on the server."
- }
- },
- "required": [
- "status",
- "latencyMs"
- ],
- "additionalProperties": true
+ "description": "The slug of the resume."
},
- "storage": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string",
- "enum": [
- "healthy",
- "unhealthy"
- ]
- },
- "latencyMs": {
- "type": "number"
- },
- "error": {
- "type": "string",
- "description": "Generic failure message. Detailed diagnostics are logged on the server."
- }
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "required": [
- "status",
- "latencyMs"
- ],
- "additionalProperties": true
- }
- },
- "required": [
- "service",
- "version",
- "status",
- "timestamp",
- "uptime",
- "database",
- "storage"
- ]
- }
- }
- }
- },
- "503": {
- "description": "One or more application dependencies are unhealthy.",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "service": {
- "type": "string",
- "enum": [
- "reactive-resume"
- ]
- },
- "version": {
- "type": "string",
- "description": "The running application's build version."
- },
- "status": {
- "type": "string",
- "enum": [
- "healthy",
- "unhealthy"
- ]
+ "description": "The tags of the resume."
},
- "timestamp": {
- "type": "string",
- "format": "date-time"
+ "isPublic": {
+ "type": "boolean",
+ "description": "Whether the resume is public."
},
- "uptime": {
- "type": "string"
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
},
- "database": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string",
- "enum": [
- "healthy",
- "unhealthy"
- ]
- },
- "latencyMs": {
- "type": "number"
- },
- "error": {
- "type": "string",
- "description": "Generic failure message. Detailed diagnostics are logged on the server."
- }
- },
- "required": [
- "status",
- "latencyMs"
- ],
- "additionalProperties": true
+ "isLocked": {
+ "type": "boolean",
+ "description": "Whether the resume is locked."
},
- "storage": {
+ "data": {
"type": "object",
"properties": {
- "status": {
- "type": "string",
- "enum": [
- "healthy",
- "unhealthy"
- ]
- },
- "latencyMs": {
- "type": "number"
- },
- "error": {
- "type": "string",
- "description": "Generic failure message. Detailed diagnostics are logged on the server."
- }
- },
- "required": [
- "status",
- "latencyMs"
- ],
- "additionalProperties": true
- }
- },
- "required": [
- "service",
- "version",
- "status",
- "timestamp",
- "uptime",
- "database",
- "storage"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/list": {
- "post": {
- "operationId": "coverLetters.list",
- "requestBody": {
- "required": false,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "search": {
- "type": "string",
- "maxLength": 100
- },
- "resumeId": {
- "type": "string",
- "minLength": 1
- },
- "applicationId": {
- "type": "string",
- "minLength": 1
- },
- "limit": {
- "type": "integer",
- "minimum": 1,
- "maximum": 100,
- "default": 20
- },
- "offset": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991,
- "default": 0
- }
- },
- "default": {
- "limit": 20,
- "offset": 0
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
},
- "recipient": {
- "type": "string",
- "maxLength": 20000
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ],
+ "description": "Configuration for photograph displayed on the resume"
+ },
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
+ },
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text to display for the custom field."
+ },
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
+ }
+ },
+ "required": [
+ "id",
+ "icon",
+ "text",
+ "link"
+ ]
+ },
+ "description": "The custom fields to display on the resume."
+ }
},
- "content": {
- "type": "string",
- "maxLength": 100000
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ],
+ "description": "Basic information about the author, such as name, email, phone, location, and website"
+ },
+ "summary": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the summary of the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the summary should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the summary from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the summary heading, icon, and decoration while retaining summary content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the summary is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the summary always begins on a new page."
+ },
+ "content": {
+ "type": "string",
+ "description": "The content of the summary of the resume. This should be a HTML-formatted string."
+ }
},
- "style": {
- "type": "object",
- "properties": {
- "basics": {
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "content"
+ ],
+ "description": "Summary section of the resume, useful for a short bio or introduction"
+ },
+ "sections": {
+ "type": "object",
+ "properties": {
+ "profiles": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "network": {
+ "type": "string",
+ "description": "The name of the network or platform."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username of the author on the network or platform."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the profile of the author on the network or platform, if any."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "network",
+ "username",
+ "website"
+ ]
+ },
+ "description": "The items to display in the profiles section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the profiles of the author."
+ },
+ "experience": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "company": {
+ "type": "string",
+ "description": "The name of the company or organization."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the company or organization."
+ },
+ "period": {
+ "type": "string",
+ "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the company or organization, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the experience. This should be a HTML-formatted string."
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the role. Usually generated as a UUID."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title for this role."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time this role was held."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of this specific role. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "period",
+ "description"
+ ]
+ },
+ "description": "List of individual roles held at this company to show career progression."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "company",
+ "position",
+ "location",
+ "period",
+ "website",
+ "description",
+ "roles"
+ ]
+ },
+ "description": "The items to display in the experience section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the experience of the author."
+ },
+ "education": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "school": {
+ "type": "string",
+ "description": "The name of the school or institution."
+ },
+ "degree": {
+ "type": "string",
+ "description": "The degree or qualification obtained."
+ },
+ "area": {
+ "type": "string",
+ "description": "The area of study or specialization."
+ },
+ "grade": {
+ "type": "string",
+ "description": "The grade or score achieved."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the school or institution."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the education was obtained over."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the school or institution, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the education. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "school",
+ "degree",
+ "area",
+ "grade",
+ "location",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the education section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the education of the author."
+ },
+ "projects": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the project."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the project was worked on."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the project, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the project. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the projects section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the projects of the author."
+ },
+ "skills": {
+ "description": "The section to display the skills of the author."
+ },
+ "languages": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ]
+ },
+ "description": "The items to display in the languages section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the languages of the author."
+ },
+ "interests": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the interest/hobby."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "keywords"
+ ]
+ },
+ "description": "The items to display in the interests section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the interests of the author."
+ },
+ "awards": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the award."
+ },
+ "awarder": {
+ "type": "string",
+ "description": "The awarder of the award."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the award, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the awards section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the awards of the author."
+ },
+ "certifications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the certification, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the certifications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the certifications of the author."
+ },
+ "publications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the publication."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the publication."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the publication was published."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the publication, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the publication. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "publisher",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the publications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the publications of the author."
+ },
+ "volunteer": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "organization": {
+ "type": "string",
+ "description": "The name of the organization or company."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the organization or company."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the author was volunteered at the organization or company."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the organization or company, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the volunteer experience. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "organization",
+ "location",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the volunteer section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the volunteer experience of the author."
+ },
+ "references": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the reference, or a note such as 'Available upon request'."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title of the reference."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website or LinkedIn profile of the reference, if any."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the reference."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "position",
+ "website",
+ "phone",
+ "description"
+ ]
+ },
+ "description": "The items to display in the references section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the references of the author."
+ }
+ },
+ "required": [
+ "profiles",
+ "experience",
+ "education",
+ "projects",
+ "languages",
+ "interests",
+ "awards",
+ "certifications",
+ "publications",
+ "volunteer",
+ "references"
+ ],
+ "description": "Various sections of the resume, such as experience, education, projects, etc."
+ },
+ "customSections": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "cover-letter",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "recipient": {
+ "type": "string",
+ "description": "The recipient's address block as HTML (name, title, company, address, email)."
+ },
+ "content": {
+ "type": "string",
+ "description": "The cover letter body as HTML (salutation, paragraphs, closing, signature)."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "recipient",
+ "content"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "summary",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "content": {
+ "type": "string",
+ "description": "The rich text content of the summary item. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "content"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "profiles",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "network": {
+ "type": "string",
+ "description": "The name of the network or platform."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username of the author on the network or platform."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the profile of the author on the network or platform, if any."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "network",
+ "username",
+ "website"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "experience",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "company": {
+ "type": "string",
+ "description": "The name of the company or organization."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the company or organization."
+ },
+ "period": {
+ "type": "string",
+ "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the company or organization, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the experience. This should be a HTML-formatted string."
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the role. Usually generated as a UUID."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title for this role."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time this role was held."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of this specific role. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "period",
+ "description"
+ ]
+ },
+ "description": "List of individual roles held at this company to show career progression."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "company",
+ "position",
+ "location",
+ "period",
+ "website",
+ "description",
+ "roles"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "education",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "school": {
+ "type": "string",
+ "description": "The name of the school or institution."
+ },
+ "degree": {
+ "type": "string",
+ "description": "The degree or qualification obtained."
+ },
+ "area": {
+ "type": "string",
+ "description": "The area of study or specialization."
+ },
+ "grade": {
+ "type": "string",
+ "description": "The grade or score achieved."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the school or institution."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the education was obtained over."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the school or institution, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the education. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "school",
+ "degree",
+ "area",
+ "grade",
+ "location",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "projects",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the project."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the project was worked on."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the project, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the project. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "enum": [
+ "inline",
+ "list"
+ ],
+ "type": "string",
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword."
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "skills",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the skill."
+ },
+ "proficiency": {
+ "type": "string",
+ "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "proficiency",
+ "level",
+ "keywords"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "languages",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "interests",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the interest/hobby."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "keywords"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "awards",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the award."
+ },
+ "awarder": {
+ "type": "string",
+ "description": "The awarder of the award."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the award, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "certifications",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the certification, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "publications",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the publication."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the publication."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the publication was published."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the publication, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the publication. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "publisher",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "volunteer",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "organization": {
+ "type": "string",
+ "description": "The name of the organization or company."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the organization or company."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the author was volunteered at the organization or company."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the organization or company, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the volunteer experience. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "organization",
+ "location",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "references",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the reference, or a note such as 'Available upon request'."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title of the reference."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website or LinkedIn profile of the reference, if any."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the reference."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "position",
+ "website",
+ "phone",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ }
+ ]
+ },
+ "description": "Custom sections of the resume, such as a custom section for notes, etc."
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ],
+ "type": "string",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ },
+ "layout": {
+ "type": "object",
+ "properties": {
+ "sidebarWidth": {
+ "type": "number",
+ "description": "The width of the sidebar column, defined as a percentage of the page width."
+ },
+ "pages": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "fullWidth": {
+ "type": "boolean",
+ "description": "Whether the layout of the page should be full width. If true, the main column will span the entire width of the page. This means that there should be no items in the sidebar column."
+ },
+ "main": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The items to display in the main column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
+ },
+ "sidebar": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The items to display in the sidebar column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
+ }
+ },
+ "required": [
+ "fullWidth",
+ "main",
+ "sidebar"
+ ]
+ },
+ "description": "The pages to display in the layout."
+ }
+ },
+ "required": [
+ "sidebarWidth",
+ "pages"
+ ],
+ "description": "The layout of the resume. Determines the structure and arrangement of the sections on the resume."
+ },
+ "page": {
+ "type": "object",
+ "properties": {
+ "gapX": {
+ "type": "number",
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
+ },
+ "gapY": {
+ "type": "number",
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "type": "number",
+ "description": "The horizontal margin of the page, defined in points (pt)."
+ },
+ "marginY": {
+ "type": "number",
+ "description": "The vertical margin of the page, defined in points (pt)."
+ },
+ "format": {
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
+ "type": "string",
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
+ },
+ "locale": {
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
+ },
+ "hideLinkUnderline": {
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
+ },
+ "hideIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ },
+ "hideSectionIcons": {
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
+ },
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "type": "string",
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
+ },
+ "required": [
+ "icon",
+ "type"
+ ]
+ },
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
+ },
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ],
+ "type": "string"
+ },
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
+ },
+ "fontSize": {
+ "type": "number",
+ "description": "The size of the font to use, defined in points (pt)."
+ },
+ "lineHeight": {
+ "type": "number",
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
+ }
+ },
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
+ },
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
+ }
+ },
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "notes": {
+ "type": "string",
+ "description": "Personal notes for the resume. Can be used to add any additional information or instructions for the resume. These notes are not displayed on the resume, they are only visible to the author of the resume when editing the resume. This should be a HTML-formatted string."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "enum": [
+ "legacy",
+ "semantic"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "template",
+ "layout",
+ "page",
+ "design",
+ "typography",
+ "notes"
+ ],
+ "description": "Metadata for the resume, such as template, layout, typography, etc. This section describes the overall design and appearance of the resume."
+ }
+ },
+ "required": [
+ "picture",
+ "basics",
+ "summary",
+ "sections",
+ "customSections",
+ "metadata"
+ ],
+ "additionalProperties": {}
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "slug",
+ "tags",
+ "isPublic",
+ "showDownloadButtons",
+ "isLocked",
+ "data",
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/import": {
+ "post": {
+ "operationId": "importResume",
+ "summary": "Import a resume",
+ "description": "Creates a new resume from an existing ResumeData object (e.g. from a previously exported JSON file). A random name and slug are generated automatically. Returns the ID of the imported resume. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/components/schemas/ResumeData"
+ }
+ },
+ "required": [
+ "data"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The ID of the imported resume.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string",
+ "description": "The ID of the imported resume."
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": true
+ },
+ "code": {
+ "const": "RESUME_SLUG_ALREADY_EXISTS"
+ },
+ "status": {
+ "const": 400
+ },
+ "message": {
+ "type": "string",
+ "default": "A resume with this slug already exists."
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "defined": {
+ "const": false
+ },
+ "code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "data": {}
+ },
+ "required": [
+ "defined",
+ "code",
+ "status",
+ "message"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/lock": {
+ "post": {
+ "operationId": "setResumeLocked",
+ "summary": "Set resume lock status",
+ "description": "Toggles the locked status of a resume. When locked, a resume cannot be updated, patched, or deleted. Useful for protecting finalized resumes from accidental edits. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "isLocked": {
+ "type": "boolean",
+ "description": "Whether the resume is locked."
+ }
+ },
+ "required": [
+ "isLocked"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The resume lock status was updated successfully.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {
+ "not": {}
+ },
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/password": {
+ "put": {
+ "operationId": "setResumePassword",
+ "summary": "Set resume password",
+ "description": "Sets or updates a password on a resume. When a password is set, viewers of the public resume must enter the password before the resume data is revealed. The password must be between 6 and 64 characters. Requires authentication.",
+ "tags": [
+ "Resume Sharing"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "password"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The resume password was set successfully.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {
+ "not": {}
+ },
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "removeResumePassword",
+ "summary": "Remove resume password",
+ "description": "Removes password protection from a resume. After removal, the resume (if public) can be viewed without entering a password. Requires authentication.",
+ "tags": [
+ "Resume Sharing"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The resume password was removed successfully.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {
+ "not": {}
+ },
+ {
+ "not": {}
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{username}/{slug}/password/verify": {
+ "post": {
+ "operationId": "verifyResumePassword",
+ "summary": "Verify resume password",
+ "description": "Verifies a password for a password-protected public resume. On success, the viewer is granted access to view the resume data for the duration of their session. No authentication required.",
+ "tags": [
+ "Resume Sharing"
+ ],
+ "parameters": [
+ {
+ "name": "username",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The username of the resume owner."
+ }
+ },
+ {
+ "name": "slug",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The slug of the resume."
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "The password to verify."
+ }
+ },
+ "required": [
+ "password"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The password was verified successfully and access has been granted.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/duplicate": {
+ "post": {
+ "operationId": "duplicateResume",
+ "summary": "Duplicate a resume",
+ "description": "Creates a copy of an existing resume with the same data. Optionally override the name, slug, and tags for the duplicate. If not provided, the original resume's name, slug, and tags are used. Returns the ID of the duplicated resume. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
+ "slug": {
+ "type": "string",
+ "description": "The slug of the resume."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The tags of the resume."
+ }
+ },
+ "required": [
+ "name",
+ "slug",
+ "tags"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The ID of the duplicated resume.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string",
+ "description": "The ID of the duplicated resume."
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{resumeId}/versions": {
+ "get": {
+ "operationId": "listResumeVersions",
+ "summary": "List resume version history",
+ "description": "Returns the recent version-history snapshots for a resume (id, label, and timestamp only). Snapshots are taken at milestones such as imports, AI edits, and periodic manual saves. Only the resume owner can list versions. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "resumeId",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume whose version history to list."
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of recent version snapshots, newest first.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the version snapshot."
+ },
+ "label": {
+ "type": "string",
+ "description": "A short description of what triggered the snapshot."
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date",
+ "description": "The date and time the snapshot was taken."
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "createdAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{resumeId}/versions/{versionId}/restore": {
+ "post": {
+ "operationId": "restoreResumeVersion",
+ "summary": "Restore a resume version",
+ "description": "Non-destructively restores a resume to a previous version snapshot by writing that snapshot's data back through the normal update path. Prior versions are preserved and the restore itself becomes a new snapshot. Only the resume owner can restore versions. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "resumeId",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume to restore."
+ }
+ },
+ {
+ "name": "versionId",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the version snapshot to restore."
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The restored resume with its full data.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resume."
+ },
+ "slug": {
+ "type": "string",
+ "description": "The slug of the resume."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The tags of the resume."
+ },
+ "isPublic": {
+ "type": "boolean",
+ "description": "Whether the resume is public."
+ },
+ "showDownloadButtons": {
+ "type": "boolean",
+ "description": "Whether download buttons are shown on the public resume page."
+ },
+ "isLocked": {
+ "type": "boolean",
+ "description": "Whether the resume is locked."
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image."
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "fit",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ],
+ "description": "Configuration for photograph displayed on the resume"
+ },
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
+ },
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text to display for the custom field."
+ },
+ "link": {
+ "type": "string",
+ "description": "If the custom field should be a link, the URL to link to."
+ }
+ },
+ "required": [
+ "id",
+ "icon",
+ "text",
+ "link"
+ ]
+ },
+ "description": "The custom fields to display on the resume."
+ }
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ],
+ "description": "Basic information about the author, such as name, email, phone, location, and website"
+ },
+ "summary": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the summary of the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the summary should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the summary from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the summary heading, icon, and decoration while retaining summary content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the summary is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the summary always begins on a new page."
+ },
+ "content": {
+ "type": "string",
+ "description": "The content of the summary of the resume. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "content"
+ ],
+ "description": "Summary section of the resume, useful for a short bio or introduction"
+ },
+ "sections": {
+ "type": "object",
+ "properties": {
+ "profiles": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "network": {
+ "type": "string",
+ "description": "The name of the network or platform."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username of the author on the network or platform."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the profile of the author on the network or platform, if any."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "network",
+ "username",
+ "website"
+ ]
+ },
+ "description": "The items to display in the profiles section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the profiles of the author."
+ },
+ "experience": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "company": {
+ "type": "string",
+ "description": "The name of the company or organization."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the company or organization."
+ },
+ "period": {
+ "type": "string",
+ "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the company or organization, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the experience. This should be a HTML-formatted string."
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the role. Usually generated as a UUID."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title for this role."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time this role was held."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of this specific role. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "period",
+ "description"
+ ]
+ },
+ "description": "List of individual roles held at this company to show career progression."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "company",
+ "position",
+ "location",
+ "period",
+ "website",
+ "description",
+ "roles"
+ ]
+ },
+ "description": "The items to display in the experience section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the experience of the author."
+ },
+ "education": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "school": {
+ "type": "string",
+ "description": "The name of the school or institution."
+ },
+ "degree": {
+ "type": "string",
+ "description": "The degree or qualification obtained."
+ },
+ "area": {
+ "type": "string",
+ "description": "The area of study or specialization."
+ },
+ "grade": {
+ "type": "string",
+ "description": "The grade or score achieved."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the school or institution."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the education was obtained over."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the school or institution, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the education. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "school",
+ "degree",
+ "area",
+ "grade",
+ "location",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the education section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the education of the author."
+ },
+ "projects": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the project."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the project was worked on."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the project, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the project. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the projects section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the projects of the author."
+ },
+ "skills": {
+ "description": "The section to display the skills of the author."
+ },
+ "languages": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ]
+ },
+ "description": "The items to display in the languages section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the languages of the author."
+ },
+ "interests": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the interest/hobby."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "keywords"
+ ]
+ },
+ "description": "The items to display in the interests section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the interests of the author."
+ },
+ "awards": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the award."
+ },
+ "awarder": {
+ "type": "string",
+ "description": "The awarder of the award."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the award, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the awards section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the awards of the author."
+ },
+ "certifications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the certification, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the certifications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the certifications of the author."
+ },
+ "publications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the publication."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the publication."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the publication was published."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the publication, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the publication. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "publisher",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the publications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the publications of the author."
+ },
+ "volunteer": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "organization": {
+ "type": "string",
+ "description": "The name of the organization or company."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the organization or company."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the author was volunteered at the organization or company."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the organization or company, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the volunteer experience. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "organization",
+ "location",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the volunteer section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the volunteer experience of the author."
+ },
+ "references": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the reference, or a note such as 'Available upon request'."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title of the reference."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website or LinkedIn profile of the reference, if any."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the reference."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "position",
+ "website",
+ "phone",
+ "description"
+ ]
+ },
+ "description": "The items to display in the references section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the references of the author."
+ }
+ },
+ "required": [
+ "profiles",
+ "experience",
+ "education",
+ "projects",
+ "languages",
+ "interests",
+ "awards",
+ "certifications",
+ "publications",
+ "volunteer",
+ "references"
+ ],
+ "description": "Various sections of the resume, such as experience, education, projects, etc."
+ },
+ "customSections": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "cover-letter",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "recipient": {
+ "type": "string",
+ "description": "The recipient's address block as HTML (name, title, company, address, email)."
+ },
+ "content": {
+ "type": "string",
+ "description": "The cover letter body as HTML (salutation, paragraphs, closing, signature)."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "recipient",
+ "content"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "summary",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "content": {
+ "type": "string",
+ "description": "The rich text content of the summary item. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "content"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "profiles",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "network": {
+ "type": "string",
+ "description": "The name of the network or platform."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username of the author on the network or platform."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the profile of the author on the network or platform, if any."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "network",
+ "username",
+ "website"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "experience",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "company": {
+ "type": "string",
+ "description": "The name of the company or organization."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the company or organization."
+ },
+ "period": {
+ "type": "string",
+ "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the company or organization, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the experience. This should be a HTML-formatted string."
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the role. Usually generated as a UUID."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title for this role."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time this role was held."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of this specific role. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "period",
+ "description"
+ ]
+ },
+ "description": "List of individual roles held at this company to show career progression."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "company",
+ "position",
+ "location",
+ "period",
+ "website",
+ "description",
+ "roles"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
"type": "object",
"properties": {
- "name": {
+ "title": {
"type": "string",
- "description": "The full name of the author of the resume."
+ "description": "The title of the section."
},
- "headline": {
+ "icon": {
"type": "string",
- "description": "The headline of the author of the resume."
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
},
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
},
- "location": {
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
"type": "string",
- "description": "The location of the author of the resume."
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
},
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
+ "type": {
+ "const": "education",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
},
- "customFields": {
+ "items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- "icon": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "school": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "The name of the school or institution."
},
- "text": {
+ "degree": {
"type": "string",
- "description": "The text to display for the custom field."
+ "description": "The degree or qualification obtained."
},
- "link": {
+ "area": {
"type": "string",
- "description": "If the custom field should be a link, the URL to link to."
+ "description": "The area of study or specialization."
+ },
+ "grade": {
+ "type": "string",
+ "description": "The grade or score achieved."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the school or institution."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the education was obtained over."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the school or institution, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the education. This should be a HTML-formatted string."
}
},
"required": [
"id",
- "icon",
- "text",
- "link"
- ]
+ "hidden",
+ "school",
+ "degree",
+ "area",
+ "grade",
+ "location",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
},
- "description": "The custom fields to display on the resume."
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
]
},
- "picture": {
+ {
"type": "object",
"properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
+ "title": {
"type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ "description": "The title of the section."
},
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
- "rotation": {
+ "columns": {
"type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ "description": "The number of columns the section should span across."
},
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
},
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
},
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
},
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
},
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ "keywordLayout": {
+ "not": {}
},
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
- },
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
+ "id": {
"type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
},
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ "type": {
+ "const": "projects",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
},
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
},
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
+ "name": {
+ "type": "string",
+ "description": "The name of the project."
},
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
+ "period": {
+ "type": "string",
+ "description": "The period of time the project was worked on."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
},
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the project, if any."
},
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
- },
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
+ "description": {
+ "type": "string",
+ "description": "The description of the project. This should be a HTML-formatted string."
+ }
},
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
},
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "template",
- "page",
- "design",
- "typography"
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
]
},
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
- },
- "id": {
- "type": "string"
- },
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
- },
{
- "type": "null"
- }
- ]
- },
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- }
- },
- "required": [
- "name",
- "recipient",
- "content",
- "style",
- "id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
- ]
- }
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "items",
- "total"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/getById": {
- "post": {
- "operationId": "coverLetters.getById",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "id"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- },
- "style": {
- "type": "object",
- "properties": {
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
"type": "object",
"properties": {
- "id": {
+ "title": {
"type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ "description": "The title of the section."
},
"icon": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
- "text": {
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "enum": [
+ "inline",
+ "list"
+ ],
"type": "string",
- "description": "The text to display for the custom field."
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword."
},
- "link": {
+ "id": {
"type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
- }
- },
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ]
- },
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
- },
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "skills",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the skill."
+ },
+ "proficiency": {
+ "type": "string",
+ "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the skill, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
"hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
+ "icon",
+ "iconColor",
+ "name",
+ "proficiency",
+ "level",
+ "keywords"
],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ "additionalProperties": {}
},
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
},
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "languages",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "type": "number",
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden."
+ }
},
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ],
+ "additionalProperties": {}
},
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
- },
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
},
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "template",
- "page",
- "design",
- "typography"
- ]
- },
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
- },
- "id": {
- "type": "string"
- },
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- }
- },
- "required": [
- "name",
- "recipient",
- "content",
- "style",
- "id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/create": {
- "post": {
- "operationId": "coverLetters.create",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000,
- "default": ""
- },
- "content": {
- "type": "string",
- "maxLength": 100000,
- "default": ""
- },
- "resumeId": {
- "type": "string",
- "minLength": 1
- },
- "applicationId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "name"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- },
- "style": {
- "type": "object",
- "properties": {
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "interests",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "type": "string",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the interest/hobby."
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "keywords"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
+ {
"type": "object",
"properties": {
- "id": {
+ "title": {
"type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ "description": "The title of the section."
},
"icon": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
},
- "link": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
"type": "string",
- "description": "If the custom field should be a link, the URL to link to."
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "awards",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the award."
+ },
+ "awarder": {
+ "type": "string",
+ "description": "The awarder of the award."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the award, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "id",
+ "title",
"icon",
- "text",
- "link"
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
]
},
- "description": "The custom fields to display on the resume."
- }
- },
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ]
- },
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
- },
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "certifications",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website of the certification, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
},
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
+ },
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "publications",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "description": "The title of the publication."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the publication."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the publication was published."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the publication, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the publication. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "publisher",
+ "date",
+ "website",
+ "description"
],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ "additionalProperties": {}
},
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
},
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
+ "icon": {
+ "type": "string",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
- },
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
},
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "template",
- "page",
- "design",
- "typography"
- ]
- },
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
- },
- "id": {
- "type": "string"
- },
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- }
- },
- "required": [
- "name",
- "recipient",
- "content",
- "style",
- "id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/update": {
- "post": {
- "operationId": "coverLetters.update",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "expectedRevision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- }
- },
- "required": [
- "id",
- "expectedRevision"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- },
- "style": {
- "type": "object",
- "properties": {
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "volunteer",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "organization": {
+ "type": "string",
+ "description": "The name of the organization or company."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the organization or company."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the author was volunteered at the organization or company."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The link to the organization or company, if any."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the volunteer experience. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "organization",
+ "location",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
},
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
+ {
"type": "object",
"properties": {
- "id": {
+ "title": {
"type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
+ "description": "The title of the section."
},
"icon": {
"type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon."
},
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
+ "columns": {
+ "type": "number",
+ "description": "The number of columns the section should span across."
},
- "link": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "type": "boolean",
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content."
+ },
+ "keepTogether": {
+ "type": "boolean",
+ "description": "If true, the section is kept on a single page instead of splitting across a page break."
+ },
+ "startOnNewPage": {
+ "type": "boolean",
+ "description": "If true, the section always begins on a new page."
+ },
+ "keywordLayout": {
+ "not": {}
+ },
+ "id": {
"type": "string",
- "description": "If the custom field should be a link, the URL to link to."
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "const": "references",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the reference, or a note such as 'Available upon request'."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title of the reference."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "type": "boolean",
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom."
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ],
+ "description": "The website or LinkedIn profile of the reference, if any."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the reference."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "position",
+ "website",
+ "phone",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "id",
+ "title",
"icon",
- "text",
- "link"
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
]
- },
- "description": "The custom fields to display on the resume."
- }
- },
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ]
- },
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
+ }
+ ]
},
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
+ "description": "Custom sections of the resume, such as a custom section for notes, etc."
},
"metadata": {
"type": "object",
@@ -31147,29 +30920,69 @@
"type": "string",
"description": "The template to use for the resume. Determines the overall design and appearance of the resume."
},
+ "layout": {
+ "type": "object",
+ "properties": {
+ "sidebarWidth": {
+ "type": "number",
+ "description": "The width of the sidebar column, defined as a percentage of the page width."
+ },
+ "pages": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "fullWidth": {
+ "type": "boolean",
+ "description": "Whether the layout of the page should be full width. If true, the main column will span the entire width of the page. This means that there should be no items in the sidebar column."
+ },
+ "main": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The items to display in the main column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
+ },
+ "sidebar": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The items to display in the sidebar column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
+ }
+ },
+ "required": [
+ "fullWidth",
+ "main",
+ "sidebar"
+ ]
+ },
+ "description": "The pages to display in the layout."
+ }
+ },
+ "required": [
+ "sidebarWidth",
+ "pages"
+ ],
+ "description": "The layout of the resume. Determines the structure and arrangement of the sections on the resume."
+ },
"page": {
"type": "object",
"properties": {
"gapX": {
"type": "number",
- "minimum": 0,
"description": "The horizontal gap between the sections of the page, defined in points (pt)."
},
"gapY": {
"type": "number",
- "minimum": 0,
"description": "The vertical gap between the sections of the page, defined in points (pt)."
},
"marginX": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The horizontal margin of the page, defined in points (pt)."
},
"marginY": {
"type": "number",
- "minimum": 0,
- "maximum": 100,
"description": "The vertical margin of the page, defined in points (pt)."
},
"format": {
@@ -31299,14 +31112,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -31345,14 +31154,10 @@
},
"fontSize": {
"type": "number",
- "minimum": 6,
- "maximum": 24,
"description": "The size of the font to use, defined in points (pt)."
},
"lineHeight": {
"type": "number",
- "minimum": 0.5,
- "maximum": 4,
"description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
}
},
@@ -31363,6 +31168,10 @@
"lineHeight"
],
"description": "The typography for the headings of the resume."
+ },
+ "hyphenation": {
+ "type": "boolean",
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false."
}
},
"required": [
@@ -31371,6 +31180,10 @@
],
"description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
},
+ "notes": {
+ "type": "string",
+ "description": "Personal notes for the resume. Can be used to add any additional information or instructions for the resume. These notes are not displayed on the resume, they are only visible to the author of the resume when editing the resume. This should be a HTML-formatted string."
+ },
"styleRules": {
"description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
},
@@ -31388,10 +31201,7 @@
"type": "object",
"properties": {
"languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
+ "type": "number"
},
"text": {
"type": "string"
@@ -31413,3455 +31223,4117 @@
},
"required": [
"template",
+ "layout",
"page",
"design",
- "typography"
- ]
- },
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
- "type": "string",
- "minLength": 1
+ "typography",
+ "notes"
+ ],
+ "description": "Metadata for the resume, such as template, layout, typography, etc. This section describes the overall design and appearance of the resume."
}
},
"required": [
- "basics",
"picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
+ "basics",
+ "summary",
+ "sections",
+ "customSections",
+ "metadata"
+ ],
+ "additionalProperties": {}
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time",
+ "x-native-type": "date",
+ "description": "The date and time the resume was last updated."
+ },
+ "hasPassword": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "tags",
+ "isPublic",
+ "showDownloadButtons",
+ "isLocked",
+ "data",
+ "updatedAt",
+ "hasPassword"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/resumes/{id}/pdf": {
+ "get": {
+ "operationId": "downloadResumePdf",
+ "summary": "Download resume as PDF",
+ "description": "Generates a PDF for the specified resume and returns it as a forced download. Only resumes belonging to the authenticated user can be downloaded. Requires authentication.",
+ "tags": [
+ "Resumes"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the resume."
+ }
+ },
+ {
+ "name": "target",
+ "in": "query",
+ "schema": {
+ "enum": [
+ "resume",
+ "cover-letter"
+ ],
+ "type": "string",
+ "description": "Which document to download."
+ },
+ "allowEmptyValue": true,
+ "allowReserved": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The generated resume PDF.",
+ "headers": {
+ "content-disposition": {
+ "schema": {
+ "type": "string"
+ },
+ "required": true
+ }
+ },
+ "content": {
+ "*/*": {
+ "schema": {
+ "type": "string",
+ "contentMediaType": "*/*"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/statistics": {
+ "get": {
+ "operationId": "getStatisticsTotals",
+ "summary": "Get user and resume totals with their cache timestamp",
+ "tags": [
+ "Platform Statistics"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "users": {
+ "type": "number"
},
+ "resumes": {
+ "type": "number"
+ },
+ "cachedAt": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Oldest count's cache timestamp in Unix milliseconds, or null for fallback totals."
+ }
+ },
+ "required": [
+ "users",
+ "resumes",
+ "cachedAt"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/statistics/users": {
+ "get": {
+ "operationId": "getUserCount",
+ "summary": "Get total number of users",
+ "description": "Returns the total number of registered users on this Reactive Resume instance. The count is cached for up to 6 hours for performance. No authentication required.",
+ "tags": [
+ "Platform Statistics"
+ ],
+ "responses": {
+ "200": {
+ "description": "The total number of registered users.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "number",
+ "description": "The total number of registered users."
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/statistics/resumes": {
+ "get": {
+ "operationId": "getResumeCount",
+ "summary": "Get total number of resumes",
+ "description": "Returns the total number of resumes created on this Reactive Resume instance. The count is cached for up to 6 hours for performance. No authentication required.",
+ "tags": [
+ "Platform Statistics"
+ ],
+ "responses": {
+ "200": {
+ "description": "The total number of resumes created.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "number",
+ "description": "The total number of resumes created."
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/statistics/github/stars": {
+ "get": {
+ "operationId": "getGitHubStarCount",
+ "summary": "Get GitHub star count",
+ "description": "Returns the number of GitHub stars for the Reactive Resume repository. The count is cached for up to 6 hours and falls back to a last-known value if the GitHub API is unavailable. No authentication required.",
+ "tags": [
+ "Platform Statistics"
+ ],
+ "responses": {
+ "200": {
+ "description": "The number of GitHub stars for the Reactive Resume repository.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "number",
+ "description": "The number of GitHub stars."
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.rxresu.me",
+ "description": "Reactive Resume Documentation"
+ },
+ "components": {
+ "securitySchemes": {
+ "apiKey": {
+ "type": "apiKey",
+ "name": "x-api-key",
+ "in": "header",
+ "description": "The API key to authenticate requests."
+ }
+ },
+ "schemas": {
+ "ResumeData": {
+ "type": "object",
+ "properties": {
+ "picture": {
+ "type": "object",
+ "properties": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the picture from the resume."
+ },
+ "fit": {
+ "default": "cover",
+ "description": "How the picture fits its frame: cover crops overflow, while contain preserves the whole image.",
+ "type": "string",
+ "enum": [
+ "cover",
+ "contain"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
+ },
+ "size": {
+ "type": "number",
+ "minimum": 32,
+ "maximum": 512,
+ "description": "The size of the picture to display on the resume, defined in points (pt)."
+ },
+ "rotation": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 360,
+ "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
+ },
+ "aspectRatio": {
+ "type": "number",
+ "minimum": 0.5,
+ "maximum": 2.5,
+ "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
+ },
+ "borderRadius": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 100,
+ "description": "The border radius of the picture to display on the resume, defined in points (pt)."
+ },
+ "borderColor": {
+ "type": "string",
+ "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "borderWidth": {
+ "type": "number",
+ "minimum": 0,
+ "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ },
+ "shadowColor": {
+ "type": "string",
+ "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ },
+ "shadowWidth": {
+ "type": "number",
+ "minimum": 0,
+ "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ }
+ },
+ "required": [
+ "hidden",
+ "url",
+ "size",
+ "rotation",
+ "aspectRatio",
+ "borderRadius",
+ "borderColor",
+ "borderWidth",
+ "shadowColor",
+ "shadowWidth"
+ ],
+ "description": "Configuration for photograph displayed on the resume"
+ },
+ "basics": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The full name of the author of the resume."
+ },
+ "headline": {
+ "type": "string",
+ "description": "The headline of the author of the resume."
+ },
+ "email": {
+ "type": "string",
+ "description": "The email address of the author of the resume."
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the author of the resume."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the author of the resume."
+ },
+ "website": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ }
+ },
+ "required": [
+ "url",
+ "label"
+ ],
+ "description": "The website of the author of the resume."
+ },
+ "customFields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
"id": {
- "type": "string"
- },
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "string",
+ "description": "The unique identifier for the custom field. Usually generated as a UUID."
},
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "createdAt": {
+ "text": {
"type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "description": "The text to display for the custom field."
},
- "updatedAt": {
+ "link": {
+ "default": "",
"type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "description": "If the custom field should be a link, the URL to link to."
}
},
"required": [
- "name",
- "recipient",
- "content",
- "style",
"id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
+ "icon",
+ "text",
+ "link"
]
- }
+ },
+ "description": "The custom fields to display on the resume."
}
- }
- }
- }
- }
- },
- "/coverLetters/refreshStyle": {
- "post": {
- "operationId": "coverLetters.refreshStyle",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
+ },
+ "required": [
+ "name",
+ "headline",
+ "email",
+ "phone",
+ "location",
+ "website",
+ "customFields"
+ ],
+ "description": "Basic information about the author, such as name, email, phone, location, and website"
+ },
+ "summary": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the summary of the resume."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the summary section title in the PDF output. Empty string uses the default summary icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the summary should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the summary from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the summary heading, icon, and decoration while retaining summary content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the summary is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the summary always begins on a new page.",
+ "type": "boolean"
+ },
+ "content": {
+ "type": "string",
+ "description": "The content of the summary of the resume. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "content"
+ ],
+ "description": "Summary section of the resume, useful for a short bio or introduction"
+ },
+ "sections": {
+ "type": "object",
+ "properties": {
+ "profiles": {
"type": "object",
"properties": {
- "id": {
+ "title": {
"type": "string",
- "minLength": 1
+ "description": "The title of the section."
},
- "expectedRevision": {
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
"type": "integer",
"minimum": 1,
- "maximum": 9007199254740991
+ "maximum": 6
},
- "resumeId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "id",
- "expectedRevision",
- "resumeId"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- },
- "style": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "basics": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "default": "",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "type": "string"
+ },
+ "network": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the network or platform."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username of the author on the network or platform."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the profile of the author on the network or platform, if any.",
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
+ "url": {
"type": "string",
- "description": "The headline of the author of the resume."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "email": {
+ "label": {
"type": "string",
- "description": "The email address of the author of the resume."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "phone": {
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "network",
+ "username",
+ "website"
+ ]
+ },
+ "description": "The items to display in the profiles section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the profiles of the author."
+ },
+ "experience": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "company": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the company or organization."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the company or organization."
+ },
+ "period": {
+ "type": "string",
+ "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the company or organization, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
"type": "string",
- "description": "The phone number of the author of the resume."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "location": {
+ "label": {
"type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "customFields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
- },
- "link": {
- "type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
+ "url",
+ "label",
+ "inlineLink"
]
},
- "picture": {
+ "description": {
+ "type": "string",
+ "description": "The description of the experience. This should be a HTML-formatted string."
+ },
+ "roles": {
+ "default": [],
+ "description": "List of individual roles held at this company to show career progression.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the role. Usually generated as a UUID."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title for this role."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time this role was held."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of this specific role. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "period",
+ "description"
+ ]
+ }
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "company",
+ "position",
+ "location",
+ "period",
+ "website",
+ "description",
+ "roles"
+ ]
+ },
+ "description": "The items to display in the experience section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the experience of the author."
+ },
+ "education": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "school": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the school or institution."
+ },
+ "degree": {
+ "type": "string",
+ "description": "The degree or qualification obtained."
+ },
+ "area": {
+ "type": "string",
+ "description": "The area of study or specialization."
+ },
+ "grade": {
+ "type": "string",
+ "description": "The grade or score achieved."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the school or institution."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the education was obtained over."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the school or institution, if any.",
"type": "object",
"properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
"url": {
"type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "shadowColor": {
+ "label": {
"type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "hidden",
"url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
+ "label",
+ "inlineLink"
]
},
- "metadata": {
+ "description": {
+ "type": "string",
+ "description": "The description of the education. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "school",
+ "degree",
+ "area",
+ "grade",
+ "location",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the education section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the education of the author."
+ },
+ "projects": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the project."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the project was worked on."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the project, if any.",
"type": "object",
"properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
+ "url": {
"type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "template",
- "page",
- "design",
- "typography"
+ "url",
+ "label",
+ "inlineLink"
]
},
- "sectionId": {
+ "description": {
+ "type": "string",
+ "description": "The description of the project. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "period",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the projects section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the projects of the author."
+ },
+ "skills": {
+ "description": "The section to display the skills of the author.",
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
"type": "string",
- "minLength": 1
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
},
- "itemId": {
+ "iconColor": {
+ "default": "",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the skill."
+ },
+ "proficiency": {
"type": "string",
- "minLength": 1
+ "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ },
+ "level": {
+ "default": 0,
+ "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 5
+ },
+ "keywords": {
+ "default": [],
+ "description": "The keywords associated with the skill, if any. These are displayed as tags below the name.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
"required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "proficiency",
+ "level",
+ "keywords"
]
},
- "id": {
- "type": "string"
- },
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
+ "description": "The items to display in the skills section."
+ },
+ "keywordLayout": {
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword.",
+ "type": "string",
+ "enum": [
+ "inline",
+ "list"
+ ]
+ },
+ "layout": {
+ "default": "default",
+ "description": "The layout style for skill items. 'inline' places item fields next to name",
+ "type": "string",
+ "enum": [
+ "default",
+ "inline"
+ ]
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ]
+ },
+ "languages": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- {
- "type": "null"
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "default": 0,
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 5
}
+ },
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
]
},
- "sourceApplicationId": {
- "anyOf": [
- {
+ "description": "The items to display in the languages section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the languages of the author."
+ },
+ "interests": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "default": "",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
"type": "string"
},
- {
- "type": "null"
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the interest/hobby."
+ },
+ "keywords": {
+ "default": [],
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "keywords"
]
},
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- }
- },
- "required": [
- "name",
- "recipient",
- "content",
- "style",
- "id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
- ]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/duplicate": {
- "post": {
- "operationId": "coverLetters.duplicate",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
+ "description": "The items to display in the interests section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the interests of the author."
+ },
+ "awards": {
"type": "object",
"properties": {
- "id": {
+ "title": {
"type": "string",
- "minLength": 1
+ "description": "The title of the section."
},
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The title of the award."
+ },
+ "awarder": {
+ "type": "string",
+ "description": "The awarder of the award."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the award, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the awards section."
}
},
"required": [
- "id"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- },
- "style": {
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the awards of the author."
+ },
+ "certifications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "basics": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the certification, if any.",
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
+ "url": {
"type": "string",
- "description": "The phone number of the author of the resume."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "location": {
+ "label": {
"type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "customFields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
- },
- "link": {
- "type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
+ "url",
+ "label",
+ "inlineLink"
]
},
- "picture": {
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the certifications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the certifications of the author."
+ },
+ "publications": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The title of the publication."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the publication."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the publication was published."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the publication, if any.",
"type": "object",
"properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
"url": {
"type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "shadowColor": {
+ "label": {
"type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "hidden",
"url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
+ "label",
+ "inlineLink"
]
},
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ "description": {
+ "type": "string",
+ "description": "The description of the publication. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "publisher",
+ "date",
+ "website",
+ "description"
+ ]
+ },
+ "description": "The items to display in the publications section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the publications of the author."
+ },
+ "volunteer": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "organization": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the organization or company."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the organization or company."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the author was volunteered at the organization or company."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the organization or company, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "template",
- "page",
- "design",
- "typography"
+ "url",
+ "label",
+ "inlineLink"
]
},
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
+ "description": {
"type": "string",
- "minLength": 1
+ "description": "The description of the volunteer experience. This should be a HTML-formatted string."
}
},
"required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
+ "id",
+ "hidden",
+ "organization",
+ "location",
+ "period",
+ "website",
+ "description"
]
},
- "id": {
- "type": "string"
- },
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
+ "description": "The items to display in the volunteer section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the volunteer experience of the author."
+ },
+ "references": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- {
- "type": "null"
- }
- ]
- },
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
},
- {
- "type": "null"
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the reference, or a note such as 'Available upon request'."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title of the reference."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website or LinkedIn profile of the reference, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ },
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the reference."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
}
+ },
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "position",
+ "website",
+ "phone",
+ "description"
]
},
- "revision": {
+ "description": "The items to display in the references section."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "items"
+ ],
+ "description": "The section to display the references of the author."
+ }
+ },
+ "required": [
+ "profiles",
+ "experience",
+ "education",
+ "projects",
+ "skills",
+ "languages",
+ "interests",
+ "awards",
+ "certifications",
+ "publications",
+ "volunteer",
+ "references"
+ ],
+ "description": "Various sections of the resume, such as experience, education, projects, etc."
+ },
+ "customSections": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
"type": "integer",
"minimum": 1,
- "maximum": 9007199254740991
+ "maximum": 6
},
- "createdAt": {
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
"type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
},
- "updatedAt": {
+ "type": {
"type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "const": "cover-letter",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "recipient": {
+ "type": "string",
+ "description": "The recipient's address block as HTML (name, title, company, address, email)."
+ },
+ "content": {
+ "type": "string",
+ "description": "The cover letter body as HTML (salutation, paragraphs, closing, signature)."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "recipient",
+ "content"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "name",
- "recipient",
- "content",
- "style",
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
"id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
+ "type",
+ "items"
]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/delete": {
- "post": {
- "operationId": "coverLetters.delete",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "expectedRevision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- }
},
- "required": [
- "id",
- "expectedRevision"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "anyOf": [
- {
- "not": {}
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
},
- {
- "not": {}
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "summary",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "content": {
+ "type": "string",
+ "description": "The rich text content of the summary item. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "content"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
- ]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/copyEmbedded": {
- "post": {
- "operationId": "coverLetters.copyEmbedded",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "resumeId": {
- "type": "string",
- "minLength": 1
- },
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
- "type": "string",
- "minLength": 1
},
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- }
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "resumeId",
- "sectionId",
- "itemId"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
+ {
"type": "object",
"properties": {
- "name": {
+ "title": {
"type": "string",
- "minLength": 1,
- "maxLength": 100
+ "description": "The title of the section."
},
- "recipient": {
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
"type": "string",
- "maxLength": 20000
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
},
- "content": {
+ "type": {
"type": "string",
- "maxLength": 100000
+ "const": "profiles",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
},
- "style": {
- "type": "object",
- "properties": {
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
- },
- "link": {
- "type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
- }
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ]
- },
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
},
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "default": "",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "type": "string"
+ },
+ "network": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the network or platform."
+ },
+ "username": {
+ "type": "string",
+ "description": "The username of the author on the network or platform."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
},
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
+ "description": "The link to the profile of the author on the network or platform, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
},
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "network",
+ "username",
+ "website"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "experience",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "company": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the company or organization."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position held at the company or organization. Used when there is only a single role. If multiple roles are provided in the 'roles' field, this serves as a summary title or can be left blank."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the company or organization."
+ },
+ "period": {
+ "type": "string",
+ "description": "The overall period of time at the company. When multiple roles are used, this should reflect the total tenure."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
},
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ "description": "The website of the company or organization, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
},
- "stylesheet": {
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the experience. This should be a HTML-formatted string."
+ },
+ "roles": {
+ "default": [],
+ "description": "List of individual roles held at this company to show career progression.",
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the role. Usually generated as a UUID."
},
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
+ "position": {
+ "type": "string",
+ "description": "The position or job title for this role."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time this role was held."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of this specific role. This should be a HTML-formatted string."
}
},
"required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
+ "id",
+ "position",
+ "period",
+ "description"
+ ]
}
- },
- "required": [
- "template",
- "page",
- "design",
- "typography"
- ]
- },
- "sectionId": {
- "type": "string",
- "minLength": 1
+ }
},
- "itemId": {
- "type": "string",
- "minLength": 1
- }
+ "required": [
+ "id",
+ "hidden",
+ "company",
+ "position",
+ "location",
+ "period",
+ "website",
+ "description",
+ "roles"
+ ],
+ "additionalProperties": {}
},
- "required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
},
+ "keywordLayout": {},
"id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "education",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "school": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the school or institution."
+ },
+ "degree": {
+ "type": "string",
+ "description": "The degree or qualification obtained."
+ },
+ "area": {
+ "type": "string",
+ "description": "The area of study or specialization."
+ },
+ "grade": {
+ "type": "string",
+ "description": "The grade or score achieved."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the school or institution."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the education was obtained over."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the school or institution, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the education. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "school",
+ "degree",
+ "area",
+ "grade",
+ "location",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
"type": "string"
},
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "projects",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the project."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the project was worked on."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the project, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the project. This should be a HTML-formatted string."
+ }
},
- {
- "type": "null"
- }
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {
+ "default": "inline",
+ "description": "How skill keywords are displayed: inline separated by commas, or one bullet per keyword.",
+ "type": "string",
+ "enum": [
+ "inline",
+ "list"
]
},
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "skills",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "default": "",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the skill."
+ },
+ "proficiency": {
+ "type": "string",
+ "description": "The proficiency level of the skill. Can be any text, such as 'Beginner', 'Intermediate', 'Advanced', etc."
+ },
+ "level": {
+ "default": 0,
+ "description": "The proficiency level of the skill, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 5
+ },
+ "keywords": {
+ "default": [],
+ "description": "The keywords associated with the skill, if any. These are displayed as tags below the name.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
},
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "proficiency",
+ "level",
+ "keywords"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "name",
- "recipient",
- "content",
- "style",
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
"id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
+ "type",
+ "items"
]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/export": {
- "post": {
- "operationId": "coverLetters.export",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- }
},
- "required": [
- "id"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
+ {
"type": "object",
"properties": {
- "name": {
+ "title": {
"type": "string",
- "minLength": 1,
- "maxLength": 100
+ "description": "The title of the section."
},
- "recipient": {
- "type": "string",
- "maxLength": 20000
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
},
- "content": {
- "type": "string",
- "maxLength": 100000
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
},
- "style": {
- "type": "object",
- "properties": {
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
- },
- "link": {
- "type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
- }
- },
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ]
- },
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
- },
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
- },
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
- }
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "languages",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- "required": [
- "template",
- "page",
- "design",
- "typography"
- ]
- },
- "sectionId": {
- "type": "string",
- "minLength": 1
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "language": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the language the author knows."
+ },
+ "fluency": {
+ "type": "string",
+ "description": "The fluency level of the language. Can be any text, such as 'Native', 'Fluent', 'Conversational', etc. or can also be a CEFR level (A1, A2, B1, B2, C1, C2)."
+ },
+ "level": {
+ "default": 0,
+ "description": "The proficiency level of the language, defined as a number between 0 and 5. If set to 0, the icons displaying the level will be hidden.",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 5
+ }
},
- "itemId": {
- "type": "string",
- "minLength": 1
- }
+ "required": [
+ "id",
+ "hidden",
+ "language",
+ "fluency",
+ "level"
+ ],
+ "additionalProperties": {}
},
- "required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
},
- "format": {
- "const": "reactive-resume-cover-letter"
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
},
- "version": {
- "const": 1
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "interests",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "iconColor": {
+ "default": "",
+ "description": "Custom color for the icon, defined as rgba(r, g, b, a). Leave blank to use the template default icon color.",
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the interest/hobby."
+ },
+ "keywords": {
+ "default": [],
+ "description": "The keywords associated with the interest/hobby, if any. These are displayed as tags below the name.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "icon",
+ "iconColor",
+ "name",
+ "keywords"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
}
},
"required": [
- "name",
- "recipient",
- "content",
- "style",
- "format",
- "version"
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
]
- }
- }
- }
- }
- }
- }
- },
- "/coverLetters/import": {
- "post": {
- "operationId": "coverLetters.import",
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "document": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "minLength": 1,
- "maxLength": 100
- },
- "recipient": {
- "type": "string",
- "maxLength": 20000
- },
- "content": {
- "type": "string",
- "maxLength": 100000
- },
- "style": {
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "awards",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
"type": "object",
"properties": {
- "basics": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The title of the award."
+ },
+ "awarder": {
+ "type": "string",
+ "description": "The awarder of the award."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the award was received."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the award, if any.",
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
+ "url": {
"type": "string",
- "description": "The phone number of the author of the resume."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "location": {
+ "label": {
"type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "customFields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
- },
- "link": {
- "type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
+ "url",
+ "label",
+ "inlineLink"
]
},
- "picture": {
+ "description": {
+ "type": "string",
+ "description": "The description of the award. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "awarder",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "certifications",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The title of the certification."
+ },
+ "issuer": {
+ "type": "string",
+ "description": "The issuer of the certification."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the certification was received."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The website of the certification, if any.",
"type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "shadowColor": {
+ "label": {
"type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "hidden",
"url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
+ "label",
+ "inlineLink"
]
},
- "metadata": {
+ "description": {
+ "type": "string",
+ "description": "The description of the certification. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "issuer",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "publications",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "title": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The title of the publication."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the publication."
+ },
+ "date": {
+ "type": "string",
+ "description": "The date when the publication was published."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the publication, if any.",
"type": "object",
"properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
+ "url": {
"type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "styleRules": {
- "type": "array",
- "items": {},
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
},
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the publication. This should be a HTML-formatted string."
+ }
+ },
+ "required": [
+ "id",
+ "hidden",
+ "title",
+ "publisher",
+ "date",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the section."
+ },
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
+ },
+ "type": {
+ "type": "string",
+ "const": "volunteer",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
+ },
+ "organization": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the organization or company."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the organization or company."
+ },
+ "period": {
+ "type": "string",
+ "description": "The period of time the author was volunteered at the organization or company."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
+ },
+ "description": "The link to the organization or company, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
+ },
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
}
},
"required": [
- "template",
- "page",
- "design",
- "typography",
- "styleRules"
+ "url",
+ "label",
+ "inlineLink"
]
},
- "sectionId": {
- "type": "string",
- "minLength": 1
- },
- "itemId": {
+ "description": {
"type": "string",
- "minLength": 1
+ "description": "The description of the volunteer experience. This should be a HTML-formatted string."
}
},
"required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
- ]
- },
- "format": {
- "const": "reactive-resume-cover-letter"
+ "id",
+ "hidden",
+ "organization",
+ "location",
+ "period",
+ "website",
+ "description"
+ ],
+ "additionalProperties": {}
},
- "version": {
- "const": 1
- }
- },
- "required": [
- "name",
- "recipient",
- "content",
- "style",
- "format",
- "version"
- ]
- }
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
},
- "required": [
- "document"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
+ {
"type": "object",
"properties": {
- "name": {
+ "title": {
"type": "string",
- "minLength": 1,
- "maxLength": 100
+ "description": "The title of the section."
},
- "recipient": {
+ "icon": {
+ "default": "",
+ "description": "Phosphor icon name to display before the section title in the PDF output. Empty string uses the default section icon; 'none' hides the icon.",
+ "type": "string"
+ },
+ "columns": {
+ "default": 1,
+ "description": "The number of columns the section should span across.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 6
+ },
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the section from the resume."
+ },
+ "showHeading": {
+ "default": true,
+ "description": "Whether to show the section heading, icon, and decoration while retaining section content.",
+ "type": "boolean"
+ },
+ "keepTogether": {
+ "default": false,
+ "description": "If true, the section is kept on a single page instead of splitting across a page break.",
+ "type": "boolean"
+ },
+ "startOnNewPage": {
+ "default": false,
+ "description": "If true, the section always begins on a new page.",
+ "type": "boolean"
+ },
+ "keywordLayout": {},
+ "id": {
"type": "string",
- "maxLength": 20000
+ "description": "The unique identifier for the custom section. Usually generated as a UUID."
},
- "content": {
+ "type": {
"type": "string",
- "maxLength": 100000
+ "const": "references",
+ "description": "The type of items this custom section contains. Determines which item schema and form fields to use."
},
- "style": {
- "type": "object",
- "properties": {
- "basics": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The full name of the author of the resume."
- },
- "headline": {
- "type": "string",
- "description": "The headline of the author of the resume."
- },
- "email": {
- "type": "string",
- "description": "The email address of the author of the resume."
- },
- "phone": {
- "type": "string",
- "description": "The phone number of the author of the resume."
- },
- "location": {
- "type": "string",
- "description": "The location of the author of the resume."
- },
- "website": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
- },
- "label": {
- "type": "string",
- "description": "The label to display for the URL. Leave blank to display the URL as-is."
- }
- },
- "required": [
- "url",
- "label"
- ],
- "description": "The website of the author of the resume."
- },
- "customFields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique identifier for the custom field. Usually generated as a UUID."
- },
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "text": {
- "type": "string",
- "description": "The text to display for the custom field."
- },
- "link": {
- "type": "string",
- "description": "If the custom field should be a link, the URL to link to."
- }
- },
- "required": [
- "id",
- "icon",
- "text",
- "link"
- ]
- },
- "description": "The custom fields to display on the resume."
- }
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The unique identifier for the item. Usually generated as a UUID."
},
- "required": [
- "name",
- "headline",
- "email",
- "phone",
- "location",
- "website",
- "customFields"
- ]
- },
- "picture": {
- "type": "object",
- "properties": {
- "hidden": {
- "type": "boolean",
- "description": "Whether to hide the picture from the resume."
- },
- "url": {
- "type": "string",
- "description": "The URL to the picture to display on the resume. Prefer local app-served paths (for example /uploads/...) populated via upload."
- },
- "size": {
- "type": "number",
- "minimum": 32,
- "maximum": 512,
- "description": "The size of the picture to display on the resume, defined in points (pt)."
- },
- "rotation": {
- "type": "number",
- "minimum": 0,
- "maximum": 360,
- "description": "The rotation of the picture to display on the resume, defined in degrees (°)."
- },
- "aspectRatio": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 2.5,
- "description": "The aspect ratio of the picture to display on the resume, defined as width / height (e.g. 1.5 for 1.5:1 or 0.5 for 1:2)."
- },
- "borderRadius": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The border radius of the picture to display on the resume, defined in points (pt)."
- },
- "borderColor": {
- "type": "string",
- "description": "The color of the border of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "borderWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the border of the picture to display on the resume, defined in points (pt)."
- },
- "shadowColor": {
- "type": "string",
- "description": "The color of the shadow of the picture to display on the resume, defined as rgba(r, g, b, a)."
- },
- "shadowWidth": {
- "type": "number",
- "minimum": 0,
- "description": "The width of the shadow of the picture to display on the resume, defined in points (pt)."
- }
+ "hidden": {
+ "type": "boolean",
+ "description": "Whether to hide the item from the resume."
},
- "required": [
- "hidden",
- "url",
- "size",
- "rotation",
- "aspectRatio",
- "borderRadius",
- "borderColor",
- "borderWidth",
- "shadowColor",
- "shadowWidth"
- ]
- },
- "metadata": {
- "type": "object",
- "properties": {
- "template": {
- "enum": [
- "azurill",
- "bronzor",
- "chikorita",
- "ditgar",
- "ditto",
- "gengar",
- "glalie",
- "kakuna",
- "lapras",
- "leafish",
- "meowth",
- "onyx",
- "pikachu",
- "rhyhorn",
- "scizor"
- ],
- "type": "string",
- "description": "The template to use for the resume. Determines the overall design and appearance of the resume."
- },
- "page": {
- "type": "object",
- "properties": {
- "gapX": {
- "type": "number",
- "minimum": 0,
- "description": "The horizontal gap between the sections of the page, defined in points (pt)."
- },
- "gapY": {
- "type": "number",
- "minimum": 0,
- "description": "The vertical gap between the sections of the page, defined in points (pt)."
- },
- "marginX": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The horizontal margin of the page, defined in points (pt)."
- },
- "marginY": {
- "type": "number",
- "minimum": 0,
- "maximum": 100,
- "description": "The vertical margin of the page, defined in points (pt)."
- },
- "format": {
- "enum": [
- "a4",
- "letter",
- "free-form"
- ],
- "type": "string",
- "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
- },
- "locale": {
- "type": "string",
- "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
- },
- "hideLinkUnderline": {
- "type": "boolean",
- "description": "Whether to hide the underlines of the links."
- },
- "hideIcons": {
- "type": "boolean",
- "description": "Whether to hide the item-level icons (skills, profiles, interests)."
- },
- "hideSectionIcons": {
- "type": "boolean",
- "description": "Whether to hide the section heading icons displayed before section titles."
- }
- },
- "required": [
- "gapX",
- "gapY",
- "marginX",
- "marginY",
- "format",
- "locale",
- "hideLinkUnderline",
- "hideIcons",
- "hideSectionIcons"
- ],
- "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
- },
- "design": {
- "type": "object",
- "properties": {
- "level": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string",
- "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
- },
- "type": {
- "enum": [
- "hidden",
- "circle",
- "square",
- "rectangle",
- "rectangle-full",
- "progress-bar",
- "icon"
- ],
- "type": "string",
- "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
- }
- },
- "required": [
- "icon",
- "type"
- ]
- },
- "colors": {
- "type": "object",
- "properties": {
- "primary": {
- "type": "string",
- "description": "The primary color of the design, defined as rgba(r, g, b, a)."
- },
- "text": {
- "type": "string",
- "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
- },
- "background": {
- "type": "string",
- "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
- }
- },
- "required": [
- "primary",
- "text",
- "background"
- ]
- }
- },
- "required": [
- "level",
- "colors"
- ],
- "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
- },
- "typography": {
- "type": "object",
- "properties": {
- "body": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the body of the resume."
- },
- "heading": {
- "type": "object",
- "properties": {
- "fontFamily": {
- "type": "string",
- "description": "The family of the font to use. Must be a supported resume font."
- },
- "fontWeights": {
- "type": "array",
- "items": {
- "enum": [
- "100",
- "200",
- "300",
- "400",
- "500",
- "600",
- "700",
- "800",
- "900"
- ],
- "type": "string"
- },
- "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font."
- },
- "fontSize": {
- "type": "number",
- "minimum": 6,
- "maximum": 24,
- "description": "The size of the font to use, defined in points (pt)."
- },
- "lineHeight": {
- "type": "number",
- "minimum": 0.5,
- "maximum": 4,
- "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x)."
- }
- },
- "required": [
- "fontFamily",
- "fontWeights",
- "fontSize",
- "lineHeight"
- ],
- "description": "The typography for the headings of the resume."
- }
- },
- "required": [
- "body",
- "heading"
- ],
- "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
- },
- "styleRules": {
- "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering."
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the reference, or a note such as 'Available upon request'."
+ },
+ "position": {
+ "type": "string",
+ "description": "The position or job title of the reference."
+ },
+ "website": {
+ "default": {
+ "url": "",
+ "label": "",
+ "inlineLink": false
},
- "stylesheet": {
- "type": "object",
- "properties": {
- "mode": {
- "enum": [
- "legacy",
- "semantic"
- ],
- "type": "string"
- },
- "source": {
- "type": "object",
- "properties": {
- "languageVersion": {
- "type": "integer",
- "minimum": -9007199254740991,
- "maximum": 9007199254740991,
- "exclusiveMinimum": 0
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "languageVersion",
- "text"
- ],
- "additionalProperties": false
- }
+ "description": "The website or LinkedIn profile of the reference, if any.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to show as a link. Must be a valid URL with a protocol (http:// or https://)."
},
- "required": [
- "mode",
- "source"
- ],
- "additionalProperties": false
- }
+ "label": {
+ "type": "string",
+ "description": "The label to display for the URL. Leave blank to display the URL as-is."
+ },
+ "inlineLink": {
+ "default": false,
+ "description": "If true, the website URL is rendered as a hyperlink on the title instead of a separate link at the bottom.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "inlineLink"
+ ]
},
- "required": [
- "template",
- "page",
- "design",
- "typography"
- ]
+ "phone": {
+ "type": "string",
+ "description": "The phone number of the reference."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the reference. Can be used to display a quote, a testimonial, etc. This should be a HTML-formatted string."
+ }
},
- "sectionId": {
- "type": "string",
- "minLength": 1
+ "required": [
+ "id",
+ "hidden",
+ "name",
+ "position",
+ "website",
+ "phone",
+ "description"
+ ],
+ "additionalProperties": {}
+ },
+ "description": "The items to display in the custom section. Items follow the schema of the section type."
+ }
+ },
+ "required": [
+ "title",
+ "icon",
+ "columns",
+ "hidden",
+ "keepTogether",
+ "startOnNewPage",
+ "id",
+ "type",
+ "items"
+ ]
+ }
+ ]
+ },
+ "description": "Custom sections of the resume, such as a custom section for notes, etc."
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "template": {
+ "default": "onyx",
+ "description": "The template to use for the resume. Determines the overall design and appearance of the resume.",
+ "type": "string",
+ "enum": [
+ "azurill",
+ "bronzor",
+ "chikorita",
+ "ditgar",
+ "ditto",
+ "gengar",
+ "glalie",
+ "kakuna",
+ "lapras",
+ "leafish",
+ "meowth",
+ "onyx",
+ "pikachu",
+ "rhyhorn",
+ "scizor"
+ ]
+ },
+ "layout": {
+ "type": "object",
+ "properties": {
+ "sidebarWidth": {
+ "default": 35,
+ "description": "The width of the sidebar column, defined as a percentage of the page width.",
+ "type": "number",
+ "minimum": 10,
+ "maximum": 50
+ },
+ "pages": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "fullWidth": {
+ "type": "boolean",
+ "description": "Whether the layout of the page should be full width. If true, the main column will span the entire width of the page. This means that there should be no items in the sidebar column."
},
- "itemId": {
- "type": "string",
- "minLength": 1
+ "main": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The items to display in the main column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
+ },
+ "sidebar": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The items to display in the sidebar column of the page. A string array of section IDs (experience, education, projects, skills, languages, interests, awards, certifications, publications, volunteer, references, profiles, summary or UUIDs for custom sections)."
}
},
"required": [
- "basics",
- "picture",
- "metadata",
- "sectionId",
- "itemId"
+ "fullWidth",
+ "main",
+ "sidebar"
]
},
- "id": {
- "type": "string"
+ "description": "The pages to display in the layout."
+ }
+ },
+ "required": [
+ "sidebarWidth",
+ "pages"
+ ],
+ "description": "The layout of the resume. Determines the structure and arrangement of the sections on the resume."
+ },
+ "page": {
+ "type": "object",
+ "properties": {
+ "gapX": {
+ "type": "number",
+ "minimum": 0,
+ "description": "The horizontal gap between the sections of the page, defined in points (pt)."
+ },
+ "gapY": {
+ "type": "number",
+ "minimum": 0,
+ "description": "The vertical gap between the sections of the page, defined in points (pt)."
+ },
+ "marginX": {
+ "default": 14,
+ "description": "The horizontal margin of the page, defined in points (pt).",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 100
+ },
+ "marginY": {
+ "default": 12,
+ "description": "The vertical margin of the page, defined in points (pt).",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 100
+ },
+ "format": {
+ "default": "a4",
+ "type": "string",
+ "enum": [
+ "a4",
+ "letter",
+ "free-form"
+ ],
+ "description": "The format of the page. Can be 'a4', 'letter', or 'free-form'."
+ },
+ "locale": {
+ "default": "en-US",
+ "type": "string",
+ "description": "The locale of the page. Used for displaying pre-translated section headings, if not overridden."
+ },
+ "hideLinkUnderline": {
+ "default": false,
+ "type": "boolean",
+ "description": "Whether to hide the underlines of the links."
+ },
+ "hideIcons": {
+ "default": false,
+ "type": "boolean",
+ "description": "Whether to hide the item-level icons (skills, profiles, interests)."
+ },
+ "hideSectionIcons": {
+ "default": true,
+ "type": "boolean",
+ "description": "Whether to hide the section heading icons displayed before section titles."
+ }
+ },
+ "required": [
+ "gapX",
+ "gapY",
+ "marginX",
+ "marginY",
+ "format",
+ "locale",
+ "hideLinkUnderline",
+ "hideIcons",
+ "hideSectionIcons"
+ ],
+ "description": "The page settings of the resume. Determines the margins, format, and locale of the resume."
+ },
+ "design": {
+ "type": "object",
+ "properties": {
+ "level": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string",
+ "description": "The icon to display for the custom field. Must be a valid icon name from @phosphor-icons/web icon set, or an empty string to hide. Default to '' (empty string) when unsure which icons are available."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "hidden",
+ "circle",
+ "square",
+ "rectangle",
+ "rectangle-full",
+ "progress-bar",
+ "icon"
+ ],
+ "description": "The type of the level design. 'hidden' will hide the level design, 'circle' will display a circle, 'square' will display a square, 'rectangle' will display a rectangle, 'rectangle-full' will display a full rectangle, 'progress-bar' will display a progress bar, and 'icon' will display an icon. If 'icon' is selected, the icon to display should be specified in the 'icon' field."
+ }
},
- "sourceResumeId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "required": [
+ "icon",
+ "type"
+ ]
+ },
+ "colors": {
+ "type": "object",
+ "properties": {
+ "primary": {
+ "type": "string",
+ "description": "The primary color of the design, defined as rgba(r, g, b, a)."
+ },
+ "text": {
+ "type": "string",
+ "description": "The text color of the design, defined as rgba(r, g, b, a). Usually set to black: rgba(0, 0, 0, 1)."
+ },
+ "background": {
+ "type": "string",
+ "description": "The background color of the design, defined as rgba(r, g, b, a). Usually set to white: rgba(255, 255, 255, 1)."
+ }
},
- "sourceApplicationId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
+ "required": [
+ "primary",
+ "text",
+ "background"
+ ]
+ }
+ },
+ "required": [
+ "level",
+ "colors"
+ ],
+ "description": "The design settings of the resume. Determines the colors, level designs, and typography of the resume."
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "default": [
+ "400"
+ ],
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ]
}
- ]
- },
- "revision": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
+ },
+ "fontSize": {
+ "default": 11,
+ "description": "The size of the font to use, defined in points (pt).",
+ "type": "number",
+ "minimum": 6,
+ "maximum": 24
+ },
+ "lineHeight": {
+ "default": 1.5,
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x).",
+ "type": "number",
+ "minimum": 0.5,
+ "maximum": 4
+ }
},
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the body of the resume."
+ },
+ "heading": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "The family of the font to use. Must be a supported resume font."
+ },
+ "fontWeights": {
+ "default": [
+ "400"
+ ],
+ "description": "The weight of the font, defined as a number between 100 and 900. Default to 400 when unsure if the weight is available in the font.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "100",
+ "200",
+ "300",
+ "400",
+ "500",
+ "600",
+ "700",
+ "800",
+ "900"
+ ]
+ }
+ },
+ "fontSize": {
+ "default": 11,
+ "description": "The size of the font to use, defined in points (pt).",
+ "type": "number",
+ "minimum": 6,
+ "maximum": 24
+ },
+ "lineHeight": {
+ "default": 1.5,
+ "description": "The line height of the font to use, defined as a multiplier of the font size (e.g. 1.5 for 1.5x).",
+ "type": "number",
+ "minimum": 0.5,
+ "maximum": 4
+ }
},
- "updatedAt": {
- "type": "string",
- "format": "date-time",
- "x-native-type": "date"
- }
+ "required": [
+ "fontFamily",
+ "fontWeights",
+ "fontSize",
+ "lineHeight"
+ ],
+ "description": "The typography for the headings of the resume."
},
- "required": [
- "name",
- "recipient",
- "content",
- "style",
- "id",
- "sourceResumeId",
- "sourceApplicationId",
- "revision",
- "createdAt",
- "updatedAt"
- ]
- }
+ "hyphenation": {
+ "description": "Enable automatic PDF hyphenation using the resume language. Currently supports German. Defaults to false.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "body",
+ "heading"
+ ],
+ "description": "The typography settings of the resume. Determines the fonts and sizes of the body and headings of the resume."
+ },
+ "notes": {
+ "type": "string",
+ "description": "Personal notes for the resume. Can be used to add any additional information or instructions for the resume. These notes are not displayed on the resume, they are only visible to the author of the resume when editing the resume. This should be a HTML-formatted string."
+ },
+ "styleRules": {
+ "description": "Structured style rules that target semantic resume sections and slots for React PDF rendering.",
+ "type": "array",
+ "items": {}
+ },
+ "stylesheet": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "type": "string",
+ "enum": [
+ "legacy",
+ "semantic"
+ ]
+ },
+ "source": {
+ "type": "object",
+ "properties": {
+ "languageVersion": {
+ "type": "integer",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "languageVersion",
+ "text"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "mode",
+ "source"
+ ],
+ "additionalProperties": false
}
- }
+ },
+ "required": [
+ "template",
+ "layout",
+ "page",
+ "design",
+ "typography",
+ "notes",
+ "styleRules"
+ ],
+ "description": "Metadata for the resume, such as template, layout, typography, etc. This section describes the overall design and appearance of the resume."
}
- }
+ },
+ "required": [
+ "picture",
+ "basics",
+ "summary",
+ "sections",
+ "customSections",
+ "metadata"
+ ],
+ "additionalProperties": {}
}
}
- }
+ },
+ "security": [
+ {
+ "apiKey": []
+ }
+ ],
+ "openapi": "3.1.1"
}
diff --git a/packages/api/src/features/cover-letters/router.ts b/packages/api/src/features/cover-letters/router.ts
index b15c3f8f5..425432363 100644
--- a/packages/api/src/features/cover-letters/router.ts
+++ b/packages/api/src/features/cover-letters/router.ts
@@ -4,42 +4,133 @@ import { coverLetterService } from "./service";
export const coverLettersRouter = {
list: protectedProcedure
+ .route({
+ method: "GET",
+ path: "/cover-letters",
+ tags: ["Cover Letters"],
+ operationId: "listCoverLetters",
+ summary: "List cover letters",
+ description:
+ "Returns the authenticated user's saved cover letters, optionally filtered by search, resume, or application.",
+ successDescription: "A paginated list of cover letters.",
+ })
.input(coverLetterDto.list.input)
.output(coverLetterDto.list.output)
.handler(({ context, input }) => coverLetterService.list({ ...input, userId: context.user.id })),
getById: protectedProcedure
+ .route({
+ method: "GET",
+ path: "/cover-letters/{id}",
+ tags: ["Cover Letters"],
+ operationId: "getCoverLetter",
+ summary: "Get cover letter by ID",
+ description: "Returns a single saved cover letter belonging to the authenticated user.",
+ successDescription: "The cover letter.",
+ })
.input(coverLetterDto.getById.input)
.output(coverLetterDto.getById.output)
.handler(({ context, input }) => coverLetterService.getById({ ...input, userId: context.user.id })),
create: protectedProcedure
+ .route({
+ method: "POST",
+ path: "/cover-letters",
+ tags: ["Cover Letters"],
+ operationId: "createCoverLetter",
+ summary: "Create a cover letter",
+ description: "Creates a saved cover letter, optionally linked to a resume or job application.",
+ successDescription: "The newly created cover letter.",
+ })
.input(coverLetterDto.create.input)
.output(coverLetterDto.create.output)
.handler(({ context, input }) => coverLetterService.create({ ...input, userId: context.user.id })),
update: protectedProcedure
+ .route({
+ method: "PUT",
+ path: "/cover-letters/{id}",
+ tags: ["Cover Letters"],
+ operationId: "updateCoverLetter",
+ summary: "Update a cover letter",
+ description: "Updates the supplied fields of a saved cover letter using its expected revision.",
+ successDescription: "The updated cover letter.",
+ })
.input(coverLetterDto.update.input)
.output(coverLetterDto.update.output)
.handler(({ context, input }) => coverLetterService.update({ ...input, userId: context.user.id })),
refreshStyle: protectedProcedure
+ .route({
+ method: "POST",
+ path: "/cover-letters/{id}/refresh-style",
+ tags: ["Cover Letters"],
+ operationId: "refreshCoverLetterStyle",
+ summary: "Refresh cover letter style",
+ description: "Refreshes a cover letter's style from a selected resume while preserving its content and template.",
+ successDescription: "The cover letter with refreshed style.",
+ })
.input(coverLetterDto.refreshStyle.input)
.output(coverLetterDto.refreshStyle.output)
.handler(({ context, input }) => coverLetterService.refreshStyle({ ...input, userId: context.user.id })),
duplicate: protectedProcedure
+ .route({
+ method: "POST",
+ path: "/cover-letters/{id}/duplicate",
+ tags: ["Cover Letters"],
+ operationId: "duplicateCoverLetter",
+ summary: "Duplicate a cover letter",
+ description: "Creates a copy of an existing saved cover letter, optionally with a new name.",
+ successDescription: "The duplicated cover letter.",
+ })
.input(coverLetterDto.duplicate.input)
.output(coverLetterDto.duplicate.output)
.handler(({ context, input }) => coverLetterService.duplicate({ ...input, userId: context.user.id })),
delete: protectedProcedure
+ .route({
+ method: "DELETE",
+ path: "/cover-letters/{id}",
+ tags: ["Cover Letters"],
+ operationId: "deleteCoverLetter",
+ summary: "Delete a cover letter",
+ description: "Permanently deletes a saved cover letter using its expected revision.",
+ successDescription: "The cover letter was deleted successfully.",
+ })
.input(coverLetterDto.delete.input)
.output(coverLetterDto.delete.output)
.handler(({ context, input }) => coverLetterService.delete({ ...input, userId: context.user.id })),
copyEmbedded: protectedProcedure
+ .route({
+ method: "POST",
+ path: "/cover-letters/from-resume",
+ tags: ["Cover Letters"],
+ operationId: "copyEmbeddedCoverLetter",
+ summary: "Copy an embedded cover letter",
+ description: "Creates a saved cover letter by copying an embedded cover-letter item from a resume.",
+ successDescription: "The newly created cover letter.",
+ })
.input(coverLetterDto.copyEmbedded.input)
.output(coverLetterDto.copyEmbedded.output)
.handler(({ context, input }) => coverLetterService.copyEmbedded({ ...input, userId: context.user.id })),
export: protectedProcedure
+ .route({
+ method: "GET",
+ path: "/cover-letters/{id}/export",
+ tags: ["Cover Letters"],
+ operationId: "exportCoverLetter",
+ summary: "Export a cover letter",
+ description: "Exports a saved cover letter as a standalone Reactive Resume cover-letter document.",
+ successDescription: "The exported cover letter document.",
+ })
.input(coverLetterDto.export.input)
.output(coverLetterDto.export.output)
.handler(({ context, input }) => coverLetterService.export({ ...input, userId: context.user.id })),
import: protectedProcedure
+ .route({
+ method: "POST",
+ path: "/cover-letters/import",
+ tags: ["Cover Letters"],
+ operationId: "importCoverLetter",
+ summary: "Import a cover letter",
+ description: "Creates a saved cover letter from an exported Reactive Resume cover-letter document.",
+ successDescription: "The imported cover letter.",
+ })
.input(coverLetterDto.import.input)
.output(coverLetterDto.import.output)
.handler(({ context, input }) => coverLetterService.import({ ...input, userId: context.user.id })),