diff --git a/authentik/blueprints/management/commands/make_blueprint_schema.py b/authentik/blueprints/management/commands/make_blueprint_schema.py index bd51128e0..ff6ccec3e 100644 --- a/authentik/blueprints/management/commands/make_blueprint_schema.py +++ b/authentik/blueprints/management/commands/make_blueprint_schema.py @@ -40,7 +40,10 @@ def __init__(self, *args, **kwargs): "$id": "#/properties/metadata", "type": "object", "required": ["name"], - "properties": {"name": {"type": "string"}, "labels": {"type": "object"}}, + "properties": { + "name": {"type": "string"}, + "labels": {"type": "object", "additionalProperties": {"type": "string"}}, + }, }, "context": { "$id": "#/properties/context", diff --git a/blueprints/schema.json b/blueprints/schema.json index da66fb904..4446c8377 100644 --- a/blueprints/schema.json +++ b/blueprints/schema.json @@ -25,7 +25,10 @@ "type": "string" }, "labels": { - "type": "object" + "type": "object", + "additionalProperties": { + "type": "string" + } } } },