From 1f37663bb03d055cb5493c334869e4fba1f5c5e2 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sun, 18 Feb 2024 20:40:47 +0100 Subject: [PATCH] update schema.json --- schema.json | 56 ++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 26 deletions(-) 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": [