mirror of https://github.com/eyhc1/rendercv.git
update schema.json
This commit is contained in:
parent
910e024005
commit
d4bc6054b9
241
schema.json
241
schema.json
|
@ -415,41 +415,6 @@
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"discriminator": {
|
|
||||||
"mapping": {
|
|
||||||
"EducationEntry": "#/$defs/SectionWithEducationEntries",
|
|
||||||
"ExperienceEntry": "#/$defs/SectionWithExperienceEntries",
|
|
||||||
"NormalEntry": "#/$defs/SectionWithNormalEntries",
|
|
||||||
"OneLineEntry": "#/$defs/SectionWithOneLineEntries",
|
|
||||||
"PublicationEntry": "#/$defs/SectionWithPublicationEntries",
|
|
||||||
"TextEntry": "#/$defs/SectionWithTextEntries"
|
|
||||||
},
|
|
||||||
"propertyName": "entry_type"
|
|
||||||
},
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"$ref": "#/$defs/SectionWithEducationEntries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/$defs/SectionWithExperienceEntries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/$defs/SectionWithNormalEntries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/$defs/SectionWithOneLineEntries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/$defs/SectionWithPublicationEntries"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/$defs/SectionWithTextEntries"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"items": {
|
"items": {
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
|
@ -473,8 +438,6 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"default": null,
|
"default": null,
|
||||||
"description": "The sections of the CV.",
|
"description": "The sections of the CV.",
|
||||||
|
@ -1083,210 +1046,6 @@
|
||||||
"title": "PublicationEntry",
|
"title": "PublicationEntry",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"SectionWithEducationEntries": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"description": "This class is the data model of the section with `EducationEntry`s.",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"default": null,
|
|
||||||
"title": "Title",
|
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"entry_type": {
|
|
||||||
"const": "EducationEntry",
|
|
||||||
"description": "The type of the entries in the section.",
|
|
||||||
"title": "Entry Type"
|
|
||||||
},
|
|
||||||
"entries": {
|
|
||||||
"description": "The entries of the section. The format depends on the entry type.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/$defs/EducationEntry"
|
|
||||||
},
|
|
||||||
"title": "Entries",
|
|
||||||
"type": "array"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"entry_type",
|
|
||||||
"entries"
|
|
||||||
],
|
|
||||||
"title": "SectionWithEducationEntries",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SectionWithExperienceEntries": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"description": "This class is the data model of the section with `ExperienceEntry`s.",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"default": null,
|
|
||||||
"title": "Title",
|
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"entry_type": {
|
|
||||||
"const": "ExperienceEntry",
|
|
||||||
"description": "The type of the entries in the section.",
|
|
||||||
"title": "Entry Type"
|
|
||||||
},
|
|
||||||
"entries": {
|
|
||||||
"description": "The entries of the section. The format depends on the entry type.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/$defs/ExperienceEntry"
|
|
||||||
},
|
|
||||||
"title": "Entries",
|
|
||||||
"type": "array"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"entry_type",
|
|
||||||
"entries"
|
|
||||||
],
|
|
||||||
"title": "SectionWithExperienceEntries",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SectionWithNormalEntries": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"description": "This class is the data model of the section with `NormalEntry`s.",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"default": null,
|
|
||||||
"title": "Title",
|
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"entry_type": {
|
|
||||||
"const": "NormalEntry",
|
|
||||||
"description": "The type of the entries in the section.",
|
|
||||||
"title": "Entry Type"
|
|
||||||
},
|
|
||||||
"entries": {
|
|
||||||
"description": "The entries of the section. The format depends on the entry type.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/$defs/NormalEntry"
|
|
||||||
},
|
|
||||||
"title": "Entries",
|
|
||||||
"type": "array"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"entry_type",
|
|
||||||
"entries"
|
|
||||||
],
|
|
||||||
"title": "SectionWithNormalEntries",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SectionWithOneLineEntries": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"description": "This class is the data model of the section with `OneLineEntry`s.",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"default": null,
|
|
||||||
"title": "Title",
|
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"entry_type": {
|
|
||||||
"const": "OneLineEntry",
|
|
||||||
"description": "The type of the entries in the section.",
|
|
||||||
"title": "Entry Type"
|
|
||||||
},
|
|
||||||
"entries": {
|
|
||||||
"description": "The entries of the section. The format depends on the entry type.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/$defs/OneLineEntry"
|
|
||||||
},
|
|
||||||
"title": "Entries",
|
|
||||||
"type": "array"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"entry_type",
|
|
||||||
"entries"
|
|
||||||
],
|
|
||||||
"title": "SectionWithOneLineEntries",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SectionWithPublicationEntries": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"description": "This class is the data model of the section with `PublicationEntry`s.",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"default": null,
|
|
||||||
"title": "Title",
|
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"entry_type": {
|
|
||||||
"const": "PublicationEntry",
|
|
||||||
"description": "The type of the entries in the section.",
|
|
||||||
"title": "Entry Type"
|
|
||||||
},
|
|
||||||
"entries": {
|
|
||||||
"description": "The entries of the section. The format depends on the entry type.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/$defs/PublicationEntry"
|
|
||||||
},
|
|
||||||
"title": "Entries",
|
|
||||||
"type": "array"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"entry_type",
|
|
||||||
"entries"
|
|
||||||
],
|
|
||||||
"title": "SectionWithPublicationEntries",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SectionWithTextEntries": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"description": "This class is the data model of the section with `TextEntry`s.",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"default": null,
|
|
||||||
"title": "Title",
|
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"entry_type": {
|
|
||||||
"const": "TextEntry",
|
|
||||||
"description": "The type of the entries in the section.",
|
|
||||||
"title": "Entry Type"
|
|
||||||
},
|
|
||||||
"entries": {
|
|
||||||
"description": "The entries of the section. The format depends on the entry type.",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"title": "Entries",
|
|
||||||
"type": "array"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"entry_type",
|
|
||||||
"entries"
|
|
||||||
],
|
|
||||||
"title": "SectionWithTextEntries",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SocialNetwork": {
|
"SocialNetwork": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "This class is the data model of a social network.",
|
"description": "This class is the data model of a social network.",
|
||||||
|
|
Loading…
Reference in New Issue