diff --git a/schema.json b/schema.json index 7104d11..05f142b 100644 --- a/schema.json +++ b/schema.json @@ -209,35 +209,39 @@ ] }, "sections": { - "additionalProperties": { - "items": { - "anyOf": [ - { - "$ref": "#/$defs/EducationEntry" - }, - { - "$ref": "#/$defs/ExperienceEntry" - }, - { - "$ref": "#/$defs/PublicationEntry" - }, - { - "$ref": "#/$defs/NormalEntry" - }, - { - "$ref": "#/$defs/OneLineEntry" - }, - { - "type": "string" - } - ] - }, - "type": "array" - }, "default": null, "description": "The sections of the CV.", "title": "Sections", - "type": "object" + "allOf": [ + { + "additionalProperties": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/EducationEntry" + }, + { + "$ref": "#/$defs/ExperienceEntry" + }, + { + "$ref": "#/$defs/PublicationEntry" + }, + { + "$ref": "#/$defs/NormalEntry" + }, + { + "$ref": "#/$defs/OneLineEntry" + }, + { + "type": "string" + } + ] + }, + "type": "array" + }, + "type": "object" + } + ] } }, "required": [