From 1af982fcfae654a659acf5289026c6d2ed081bbb Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Tue, 21 Mar 2023 20:58:05 +1100 Subject: [PATCH] rtmp-services: Fix formatting and indentation of services schema Also define editorconfig for rtmp-services to match existing structure. --- .editorconfig | 4 ++++ plugins/rtmp-services/data/schema/service-schema-v4.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index e0bea7d0c..ca06b6d82 100644 --- a/.editorconfig +++ b/.editorconfig @@ -29,3 +29,7 @@ indent_size = 2 [cmake/**/*.cmake] indent_style = space indent_size = 2 + +[plugins/rtmp-services/data/**/*.json] +indent_style = space +indent_size = 4 diff --git a/plugins/rtmp-services/data/schema/service-schema-v4.json b/plugins/rtmp-services/data/schema/service-schema-v4.json index 88b33abd3..5d27f3bef 100644 --- a/plugins/rtmp-services/data/schema/service-schema-v4.json +++ b/plugins/rtmp-services/data/schema/service-schema-v4.json @@ -16,7 +16,7 @@ "description": "Name of the streaming service. Will be displayed in the Service dropdown.", "minLength": 1 }, - "protocol" : { + "protocol": { "type": "string", "description": "Protocol used by the service. If missing the service is considered using RTMP or RTMPS.", "enum": [ @@ -212,7 +212,7 @@ "required": [ "name", "servers" - ], + ], "allOf": [ { "$comment": "Require protocol field if not an RTMP(S) URL",