mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
Update JSON Schema
This commit is contained in:
10
schema.json
10
schema.json
@@ -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": {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user