Update JSON Schema

This commit is contained in:
Sina Atalay
2025-12-09 23:19:25 +03:00
parent 607756882a
commit 9e5130ee2d
2 changed files with 24 additions and 0 deletions

View File

@@ -287,6 +287,16 @@
}
],
"default": null,
"description": "Additional header connections you define yourself. Each item has a `placeholder` (the displayed text), an optional `url`, and the Font Awesome icon name to render (from https://fontawesome.com/search).",
"examples": [
[
{
"fontawesome_icon": "calendar-days",
"placeholder": "Book a call",
"url": "https://cal.com/johndoe"
}
]
],
"title": "Custom Connections"
},
"sections": {

View File

@@ -74,6 +74,20 @@ class Cv(BaseModelWithExtraKeys):
)
custom_connections: list[CustomConnection] | None = pydantic.Field(
default=None,
description=(
"Additional header connections you define yourself. Each item has a"
" `placeholder` (the displayed text), an optional `url`, and the Font"
" Awesome icon name to render (from https://fontawesome.com/search)."
),
examples=[
[
{
"placeholder": "Book a call",
"url": "https://cal.com/johndoe",
"fontawesome_icon": "calendar-days",
}
],
],
)
sections: dict[str, Section] | None = pydantic.Field(
default=None,