obj: {"definitions": {"_DebugServiceSpec": {"patternProperties": {"^\\${{\\s*if(.*?)\\s*}}$": {"anyOf": [{"properties": {"interfaces": {"patternProperties": {"^(?!-)(?!.{0,32}--)[a-z0-9-]{1,32}(?<!-)$": {"anyOf": [{"pattern": "\\${{\\s*(.*?)\\s*}}"}]}}}}}]}}}}}