diff --git a/schemas/rum/resource-schema.json b/schemas/rum/resource-schema.json index f3a0529b..cade0094 100644 --- a/schemas/rum/resource-schema.json +++ b/schemas/rum/resource-schema.json @@ -301,6 +301,9 @@ "headers": { "type": "object", "description": "HTTP headers of the resource request", + "propertyNames": { + "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$" + }, "additionalProperties": { "type": "string" }, @@ -316,6 +319,9 @@ "headers": { "type": "object", "description": "HTTP headers of the resource response", + "propertyNames": { + "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$" + }, "additionalProperties": { "type": "string" },