diff --git a/ecs-logging-core/src/test/resources/spec/spec.json b/ecs-logging-core/src/test/resources/spec/spec.json index a082d75d..68f32d70 100644 --- a/ecs-logging-core/src/test/resources/spec/spec.json +++ b/ecs-logging-core/src/test/resources/spec/spec.json @@ -42,7 +42,12 @@ "ecs.version": { "type": "string", "required": true, - "url": "https://www.elastic.co/guide/en/ecs/current/ecs-ecs.html" + "top_level_field": true, + "url": "https://www.elastic.co/guide/en/ecs/current/ecs-ecs.html", + "comment": [ + "This field SHOULD NOT be a nested object field but at the top level with a dot in the property name.", + "This is to make the JSON logs more human-readable." + ] }, "labels": { "type": "object",