<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="General">

	<!-- Allgemeiner Hinweis -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTQFCNraQgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAPsSURBVHja7ZpPSBxXHMe/v3Gc1rq1NdWGZKOGrdtiLWjTho3dXhIMiRRysEhOFqHFk7RQIaccCjm0ILKCOYgklB6So2DSPW3+kD/bQyhVW0wiNKYbaxvaXcq6/5zs7ns9pBI3zv4rb9xx33yPbx5v3vczv9/v/WYYwJYtWzKL8l0YHh6Gw+EAAHDOQUQ7ytjmPSeTSUxNTZUOYGRkBJqmFbyBpqbR2BAHAPyz5sCTTK2lgTDGMDExURzA5if/vOrrUujpvI/O/SG0vP43NgfFWuIlLP7Wius/dSGy1mDZqPD5fDlj6vOTjMwTOHoPzuHIuwvQajOGizfUJ9HTeR+ejiXcufcmZm/3WD4qDAEYhfpQ3xW81fp7znhKr8GTtAIAeEHL4kWNAQAUheNQ5xJadocxfakP8VSdpQEohSskx8kjN7eYB4DvLrsweNqLwdNeXLuzZ8t1Z1MEnxy/ghqFWafiGxTyggA+7FpEt3vZ8FqtWtzYG3sf47jnx52ZApqaRu97c1vGvzz72S4i+grAx2439gLA1QU3ri5UtLhFiOgaY+wLRVH+FAKgq/0hHHXrOWOfTww1qyqCANyWamaIXgMwQEQHGWMflAMhbwp0tD3aSktVvyYit1XDmYj2E9EZIUXQ2RwxGj6xA5rAY0IAvOpIGBFutnxvT7RPCIBMtkaKl6G8ACLRl+UGcDfUKgWAvMfg4sM2HH1/rqzFuru74XK5TN3w8vIy5ufnzQew8lcz7oZa8HbbSsmLuVwueL1e05+aSAAFW+HZWz1I6ZqcNQAAwtFXcCFwGNmsIl8N2NC9UCvO+49hqC9QUn6aLdH3UEuZtLSyD99cHCgpN0XmpyUiYEPRuKPoHKfTiaamJlM3HA6Hsbq6uv0ASpHH4zH9FAgGg5iZmdmeIih1JyiLhKaAruuIx+OmbljXdesC8Pv98Pv98kaAVbTrnY9yX+1TUaw9uG0+gP7+fkucArX1jXYRtAHYACpQBAOBAILBoKkbTiaTRef0Hnj6XfTGz38gnWHgLLM9AGKxGGKxWMWf6oH2px+vf1h8jHSGAZzZKWADkAiALjuAB1IDYIz5pAXAOf/W5/Odq1gfwDmfBbBaAe8Jxtj37Yc/vXl29pdnPYOee/4b/SIjDAARjQE4JWo9rWE3GjuOltck6Zli6WEOACIa45yfEprL6XWsR0JC1sqkouCcI5FIiAdghvmNTUd/vSUyPTE9PS0WgFnmBZ8KyGazmJycFFsEiWhsfHzc0uZNOwarxfz/AlBN5ssGUG3mywJARKg28yUD+M+8nK/D1Wy+KIBqN18QgAzm8wKQxbyhRkdHYcuWLVuy6F+GgVf0CMAbJgAAAABJRU5ErkJggg==",
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/message" disable-output-escaping="yes" />",
							"wrap": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>

  <xsl:template match="GeneralWarning">

	  <!-- Allgemeiner Hinweis - Vorwarnung -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTYH1OLZ7AAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAV8SURBVHja7ZpdTJNXGMf/p198ldZWyod8ihSEqjiGUey8gOAHczOTxbhs0ZjgzJKZLZuZF4tLluxii8aURC8Ic1EvtksWdN2WgTqVmujIgG2obFLWIRVdKyuU0rcf79mFg1J4S2G8LS3t/6qcczjv+f96nuc85wUgrrjiimWRQB1HjhyBVCoFAFBKQQiJKmPT1+xwONDU1DR/AEePHoVEIpnzARKRGwqZHQAwMiqFyyOOaCAsy6KxsTE4gOnf/EylJE2gSnMfmgITctP/xvRNMTqejN4/83Dt53JYR2URuyt0Op1fm2jmIC7zBBS1m7pQ81wPJGIP5+SyFAeqNPexubQPd+4Vo7WjKuJ3BScArq1+qK4dJXkP/donGCFcbgEAIEHiRaKEBQAIBBRbNH3IzbCg+VId7BNJEQ1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ra4PBYAjpgh2O4O8iayuevRe9/osZbg8LynrCA2BsbAxjY0v/3q+iSAUAuNU7DLeHBSgbD4E4gBgCwMQ6gP6YBsCyrC5mAVBKz+t0unNLVgdQSlsBLMWff8ZZlv2mqLrhxtnWX301A+N//nP9iwxvAAghpwAc52s+iSwDitLtCyuSGE+w8AgNAELIKUrpcV5j2e2E02riZS7PhA2UUoyPj/MPIBTmJxdte3CTz/BEc3MzvwBCZZ7nUwFerxdnzpzhNwkSQk6dPn06os2H7BhcLub/F4DlZH7BAJab+QUBIIRguZmfN4D/zMfmdXg5mw8KYLmbnxNALJgPCCBWzHPq2LFjiCuuuOKKFf0L8AXhjxhdgUwAAAAASUVORK5CYII=",
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/fragment" disable-output-escaping="yes" />",
							"wrap": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
					}
			}
		]
	}

  </xsl:template>

  <xsl:template match="GeneralUpdate">

    <!-- Allgemeiner Hinweis - Statusmeldung -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTQtPW9yuAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAVQSURBVHja7ZpfTFNXHMc/p5RLga78K4oif1btFsYmTGeAsReNRs2WPbC4JUvcTGZMtpBtmYlPPizZw0yMgUQfDJkxe3CPLOhIlqAuU+sSY6S4oJAoruIQJwyhfy9t790DI1K5pVJuobb9Jn055/T0fD/3d37nd08KGWWUUTpLROs4cOAAZrMZAFVVEUK8UMbmrtnn83Hy5MnnB9Da2ookSQv+gGQMUmTxADAxZWY6lJ3UQBRFob29PTaAuU/+WeXn+mmqHaC22kXFqsfMDYopbx79f1Xy2406xqcsSRsVbW1tEW3GZwdpmReobN/Sy7Y3+5CyQ5qTW/J9NNUO0FAzyLXbr9B1pSnpo0ITgFao79t9nlcrH0S0++UspoMGAHKkMCZJAcBgUGmsHaRi9RgdZ3fj8ecmNQDDwhlS5aNtl+aZB/jxnI29h5vZe7iZi9fWzOsvt47zya7zZBmU5Mn4Gol8QQDv1PVTbx/S7Ms2xja2fu0ouxquv5hbQDIG2b65d177Nyf2FwshvgU+sNtZC3Chz86FvhVNbuNCiIuKonxlMBge6gKgbsM9zLmBiLYv2/eVGo04APtyGiySgtRY/JSZppEMChPTRlxeE3c8uYRUgRCiBNgjhNiiKMrbi4EQFUBN1f35g43G74UQy2a+WAry3tp/2VjgRasOG5ON/PzAyoA7b3aPVwPfAfuXnATLS8e1mt9fLvNlpmla7SPUFWqbB7DmhNhvG6WxZGpu805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ElFTkSuQmCC",
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:call-template name="Common_Update_Title" />",
							"wrap": true,
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/fragment" disable-output-escaping="yes" />",
							"wrap": true,
							"spacing": "None"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/message" disable-output-escaping="yes" />",
							"wrap": true,
							"separator": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>

  <xsl:template match="GeneralResolve">

    <!-- Allgemeiner Hinweis - Abschlussmeldung -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											<xsl:choose>
												<xsl:when test="remark/contenttype = 'cancellation'">
													"url": "data:image/png;base64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fDSEwLnnEPvGgZgmLxpm8a5iCn1VQYQN0oq3oEhxsmuKUVzTiN+jMwi/+4E3fa/x4O1TBExhyBq08JQXEA3UxoPaeES4QXwfDWu3rpZBiqKI6enpVRUhiqK2YrVczOPxwOPxIJ3QIcPR9AQ0NDRoewssgdfrRVdXFzsBTAATkII9oKenB16vd1UDDoVCqStAEAQIgsBKgAlgApiAZNKf0QIkSerIWAGyLF9zuVxXk3YNyrJ8C8BwEnKfkSTpjtvtfpK07wBCSHtnZ2dbRjZBQkh7R0dHWzqWjS6Tk49bQLonH5eAtZD8igWsleRXJGAtJa+a1tbWy2AwGAwGg8FgMBhrgT/aWjEQmLeLZgAAAABJRU5ErkJggg==",
												</xsl:when>
												<xsl:otherwise>
													"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTQYa9y2mwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAXBSURBVHja7Zp7bFNVHMe/5/b2dt1K2aMDx56WVdxG2HjOMRIDGWFoooghRhIIRNxfRBNJMEaMr/hIltkp/LEMjTFRY6KgExujYxAZJQQIlMfGANkYAzZlha1d29229x7/wEFL79o9bh+0/f7Xc88993w/9/x+53dPCiSVVFKJLDLehbq6Omg0GgAApRSEkEfKmO+cnU4nmpqaJg5g+/bt4Dgu6AM41oMM7QgA4K5NA7dXGdNARFFEY2NjaAC+b/5hpaldqCrrQllRL/Jn3YbvorA5UtFxrQCHT5fDatPG7KowGo1+bezDnaTME1DULD2DVQvPglN6JQfXpjlRVdaFypJLOHHxCbQcrYr5VSEJQGqpb1l7EPMKbvi1u3gF3B4GAKDiBKRwIgCAYSieKruE/NmDaP51LUZc6pgGwATPkBQvrToSYB4Avjmgx6Zd1di0qxqHTuQEXM/VWbG59iAUjBg7GV8ikQcFsKK8AxWGbslrSja0sblzB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zGYz9u/fH7SPMi1DnlI4EZQEkOgAZM0Bra2tMJvNYZ2w0+kMXTwtuncu+te5W/B4RVDRGxkAdrsddrs96m91UfG9w+tjHQPweEWAiskQSAJIIAB8ogO4mtAARFE0JiwASunXRqPxy6jVAZTSFgA3o+DdIYrib8UrXzmyp+X8g5qB99//pf4iIxsAQkg9gJ1yjcdpZyOjZPXkiiTeGyo8wgOAEFJPKd0payx7RjFq7ZVlLK9rGJRSOBwO+QGEw/zYpIf/bpczPNHc3CwvgHCZl3lXgCAI2L17t7xJkBBS39DQENPmw7YNxov5KQGIJ/OTBhBv5icFgBCCeDM/YQD/m0/Mz+F4Nh8SQLybDwogEcyPCyBRzEtqx44dSCqppJJKFP0HmjsHpdNTIxkAAAAASUVORK5CYII=",
												</xsl:otherwise>
											</xsl:choose>
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							<xsl:choose>
								<xsl:when test="remark/contenttype = 'cancellation'">
									"text": "<xsl:call-template name="Common_Cancellation_Title" />",
								</xsl:when>
								<xsl:otherwise>
									"text": "<xsl:call-template name="Common_Resolve_Title" />",
								</xsl:otherwise>
							</xsl:choose>
							"wrap": true,
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/fragment" disable-output-escaping="yes" />",
							"wrap": true,
							"spacing": "None",
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/message" disable-output-escaping="yes" />",
							"wrap": true,
							"separator": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>

  <xsl:template match="ApplicationSpecific">

    <!-- Anwendungsspezifischer Hinweis -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTYYWerUGQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAARPSURBVHja7ZpfaFtVHMe/v+Tmzq4xs7NxuLTpiI1SK7TOjVgjyEbHWgQfKsOnSUHpU1GwsKc9CD4olJJC91CKQ3zQF6VQNfiQbeK2+DCmbZV2i7jO2HaWLWGm+dfb5J7jwywma/6u97a3uff7lnPvPfd8P+f3+51zLgEMGTKkZ1GxCwMDA7BarQAAzjmIaFcZyx1zKpXC+Ph45QAGBwchimLJF4hCBg22BADg/qoV61mLpoEwxjA6OloeQO7MP6z6ujS62m+i/VAYzU/dQ25QrCb3Yu5PJ374pQPRVZtmo8Ln8+W1CQ/fVMg8gaP76DSOvzgL0ZIt2LmtPoWu9pvwtIVw7cazmLrapfmoKAigUKj3917Ac86lvPa0ZMZ6xgQA2CPKeExkAACTiePl9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U5ErkJggg==",
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:call-template name="Common_Caption_Applications" /> <xsl:value-of select="remark/applications" />",
							"wrap": true,
							"spacing": "Small",
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/message" disable-output-escaping="yes" />",
							"wrap": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>

  <xsl:template match="ApplicationSpecificWarning">

    <!-- Anwendungsspezifischer Hinweis - Vorwarnung -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAA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7W+VVdWolCgjXnRMAABA27U6LCh8gEyRL76HH+cGHa9c9TBEwOUm1mHIaJbiq/b18Hp9w/oMRXC52bm93XgPOzfqg+xPWUDWy4l3HL6tL8Mp9Sbs2dI+EQI//1qDV9bdDBh3V5+Dj5prwDAEH+/9C2uXGwP6+4z1GDZ0RbxgnU4XWwAAoB0owRdf75j4/kvXClQVG7Ck3HdMlojdmJfnwGOzCHkS56R8ko+T3+XD5WlNPA8YN7PF96aIAcHZnxrw1obLWFb51OUL5zrw5Sc34HDykCHyHZVdZBU6B99EtSKLkwUbjUYMDQ3FHsBkc3mEOH1+I2oX/431NT0ozHta6k6I5xcAcz4AJdmL7QtEnC1Yo9GgtbV19gGMW6dWjk6tHFKxBdu3LsVyhRwQVgDCJQDhId5NwNVEZosYo+5aIFuJRDIBl5M5nU5YLJaoLtjpdMYvALVaDbVanboewJVJKutAniF/2Ia1cFuNyFu2NbB8t5sx2tcRfQCNjY1QKiPPAU3fdsNLM+GHx8gg3FYjhNkzL7l5SHFLeQBxmQMEfB68tBeba8tACUM/o867D2Ew2WYfQHt7OzQaTeQTlb4E8ClUFUuRJQq9RO3gE8APQEPN0/eiV/4wwO2hwdCe2AAYGxvD2Fjk7/1kJUxEsVlTJQMAXO8dhttDAwydzgFpACkEIKxaWRDPSk6dvzWjP2c53V7/r31JA8Du8oZ9DU3TqoQH8Oi3b57pOoZhTqtUqpOzBoBhmDYAs/Hzj5Wm6R+q1u+9erztT9/hyBm4/7OFE2cACCFHARziaj5KUoDc6g3hnQadnlDhER0AhJCjDMMc4vKR0m4HHCY9J3N57GYwDAOr1co9gGiIH1+0+d41LsMTLS0t3AKIlnhOPYmm4fV6cezYMW6TICHkaFNTU1yLj1olmCzinwlAMokPG0CyiQ8LACEEySZ+xgD+F5+ax+FkFh8SQLKLnxZAKogPCiBVxLPawYMHkba0pS1tqWL/AVnbBRCXhKQRAAAAAElFTkSuQmCC",
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:call-template name="Common_Caption_Applications" /> <xsl:value-of select="remark/applications" />",
							"wrap": true,
							"spacing": "Small",
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/fragment" disable-output-escaping="yes" />",
							"wrap": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>

  <xsl:template match="ApplicationSpecificUpdate">

    <!-- Anwendungsspezifischer Hinweis - Statusmeldung -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTY38jvpQAAAABl0RVh0Q29tbWV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Wt4YMOWG/Oq426gvAOtkGufbd+ELgWzIyjLPLPMQNFsQ6XocvjNQyNm2fRza3x5wsP7+fl0YpCpbeInBoN65OW5iVI7XHwBA32A+J745EPA5i8WCxWLRBcK7hSa2Z9r9G4e7YOIB+PyT3agcz/dDWZG5EJnVpN0U8Jm8vDyys7N1AdArVIrT+smavPWksfPcvOceOiXO3t+IM8TCzahn+FZVVYW/C8xz2A2W82C9C3MqPafPwO/WVC4/SselhJ6jjES7NlXM/DjHYWKAnlsWfr7WyYhTQiH8q/roBzCrpAxIymCi38Gw88/I3wiFIlmWsdvtEeUgy7Ku4+kKoK2tjba2NlaTojIEUs01CBF8Ypse6cPjsJL54uv+R3vnJFP3rkceQH19vS67QON3FnxK8Gd7eXwIj8NKfEqGPqXwetC6BxCVOcAYZ8Cn+KjbUYgUH/gbdf71mOGx6ZUH0N7eTkdHR/gDFbwGcRIleWkkJwSeYt/QBMwBsGfbzL3or7eG8XgVVMW7PABsNhs2my3scXLy1bBic1vJzOX1bz0jeLwKqEosB8QArCMAQdXKUX0YOvvT7SX9c5bs8fsL0r01A8Dp9gX9jqIoTasewOgf34b0nqqq55qamr5aMQCqqrYC/6wAM4eiKD+W7Prg6unWJ3cF07L//q8VTroBEEKcBI7pNZ6UupGMsr3BnQZlb6DwiAwAIcRJVVWP6flJFY8L19iALmN5nZOoqorD4dAfQCTMz0568u41PcOTlpYWfQFEyryuK0lR8Pl8nDp1St8kKIQ42djYGNXmI1YJrhXzIQFYS+aDBrDWzAcFQAjBWjO/ZAD/m1+fx+G1bD4ggLVuflEA68H8ggDWi3lNHT16lJhiiimm9aL/AAhX6YfHbKeKAAAAAElFTkSuQmCC",
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:call-template name="Common_Caption_Applications" /> <xsl:value-of select="remark/applications" />",
							"wrap": true,
							"spacing": "Small",
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:call-template name="Common_Update_Title" />",
							"wrap": true,
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/fragment" disable-output-escaping="yes" />",
							"wrap": true,
							"spacing": "None"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/message" disable-output-escaping="yes" />",
							"wrap": true,
							"separator": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>
  
  <xsl:template match="ApplicationSpecificResolve">

    <!-- Anwendungsspezifischer Hinweis - Abschlussmeldung -->

	{
		"type": "message",
		"attachments": [
			{
				"contentType": "application/vnd.microsoft.card.adaptive",
				"contentUrl": null,
				"content": {
					"type": "AdaptiveCard",
					"body": [
						{
							"type": "ColumnSet",
							"columns":[
								{
									"type": "Column",
									"items":[
										{
											"type": "Image",
											<xsl:choose>
												<xsl:when test="remark/contenttype = 'cancellation'">
													"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQ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NN38PPUNXz5y3fIuCVoJrTwqhdQ2KifB+PnIXOzWFmUzItr5iZFUcTGxsauihBF0VyxZgZLJBJIJBKoJaqyBFzhbhBivMDzi9ch51asEzA4OGjKKRC9mIKiGv+uF1fnDAuwYY+z5wVUZQ9g7DYoqoK+44+Adez8jH68sYz5TN56ARMTE0gmk+UHOvQ8YGfRHjyAfdzOW7w+lwWqQYAgCBAEoew43pBWsdqkTZAKoKdA9fLh+DQI2fn/W1FWii9n6kbApqQYnqOqarTmBfw19UlJ8zRN+ygWi31gmQBN0z4DcNsCZzlVVS/H4/FvLesBhJDzo6Ojb+zJU4AQcj4ajdZc8qYIqOXkyxZQ68mXJaAeki9ZQL0kX5KAekreMCMjI++BQqFQKBQKhUKh1AP/AIZyVIQj11E0AAAAAElFTkSuQmCC",
												</xsl:when>
												<xsl:otherwise>
													"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QAAAAAAP/UQVTyAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wEaBTYn74z5JAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAYUSURBVHja7ZptTFNXGMf/57a9pVArrzrkdRXmACP4yhCTRYMRt2RzLmaZiUYzxyezJTNxWeayt+wlIQw2/UBwZlmyLUvUbMw1ZkM0EzFGndYXEHSCCAKTVqCllNv2nrMPDm1taSm9LYX2/+2ee+7p/f/ueZ7znJMCUUUVVSSLTHSjoqICarUaAMAYAyFkRhlzfufR0VHU1tZOHsDu3bvB87zXH+DldiRoRgAAgyY1bA5FWAOhlKKmpsY3AOcv/6TiVFaUFLShILsLGfMG4DwpTJZYtNzJxKlLhTCaNGE7K6qrq13a5E928mSegKFs5WWsW3oFvMLhcXBN3ChKCtpQnNeO8zeeQf2ZkrCfFR4BeJrqOzaewKLMHpd2qyCDzc4BAJS8iBieAgA4juG5gnZkzDeg7reNGLGqwhoA5z1DMry27rSbeQD4/p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QVCQIAkZGRoIKQhCE0ByJTUU6nQ46nQ4zSWEZAhptCQjxP6uP9rfDbjEgcfGLrjtM6zBMt88EH8DmzZslWQWqjughUv/39sJgD+wWAxRxCdKUwpGgiAcQljlALuMgUhHlKzLBK3x/o4s376PXODr9ABoaGtDc3Bz4QBnPAzIeOWlzEav0/YrtPUOAE4CyZQ/PRf+62gu7g4JRR2gAmM1mmM3mgMdJSWcBxeaynIeH12db+mF3UIDRaA6IAoggAH7VymG9GTp0vHVSf84S7KLz5e1ZA8BqE/1+hlJaPeMBDPx9eErPMca+q66u/nbaADDG6gHcmwZmFkrp7zlr3zh9oP7a482R4Lr+ewonyQAQQioB7JVqPF4zHwl56/3bDQoOX+ERHACEkErG2F4pPym1j2HM2CXJWA7rMBhjsFgs0gMIhvnxlx7+p0nK8ERdXZ20AIJlXtKZRClEUcT+/fulTYKEkMqqqqqwNh+0SnC2mJ8SgNlk3m8As828XwAIIZht5icN4H/zkbkdns3mfQKY7ea9AogE8xMCiBTzHrVnzx5EFVVUUUWK/gMEESsXH3GM6AAAAABJRU5ErkJggg==",
												</xsl:otherwise>
											</xsl:choose>
											"size": "medium"
										}
									],
									"width": "auto"
								},
								{
									"type": "Column",
									"items":[
										{
											"type": "TextBlock",
											"weight": "Bolder",
											"text": "<xsl:value-of select="remark/reason" disable-output-escaping="yes" />",
											"style": "heading",
											"wrap": true
										},
										{
											"type": "TextBlock",
											<xsl:choose>
												<xsl:when test="remark/start and remark/end">
													"text": "<xsl:value-of select="remark/start" /> - <xsl:value-of select="remark/end" />",
												</xsl:when>
												<xsl:when test="remark/start">
													"text": "<xsl:call-template name="Common_Period_Caption_StartTimeOnly" /> <xsl:value-of select="remark/start" />",
												</xsl:when>
												<xsl:when test="remark/end">
													"text": "<xsl:call-template name="Common_Period_Caption_EndTimeOnly" /> <xsl:value-of select="remark/end" />",
												</xsl:when>		
											</xsl:choose>
											"wrap": true,
											"spacing": "None",
											"size": "Small",
											"weight": "Lighter"
										}
									],
									"width": "stretch",
									"verticalContentAlignment": "Center"
								}
							]
						},
						{
							"type": "TextBlock",
							"text": "<xsl:call-template name="Common_Caption_Applications" /> <xsl:value-of select="remark/applications" />",
							"wrap": true,
							"spacing": "Small",
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							<xsl:choose>
								<xsl:when test="remark/contenttype = 'cancellation'">
									"text": "<xsl:call-template name="Common_Cancellation_Title" />",
								</xsl:when>
								<xsl:otherwise>
									"text": "<xsl:call-template name="Common_Resolve_Title" />",
								</xsl:otherwise>
							</xsl:choose>
							"wrap": true,
							"size": "Small",
							"weight": "Lighter"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/fragment" disable-output-escaping="yes" />",
							"wrap": true,
							"spacing": "None"
						},
						{
							"type": "TextBlock",
							"text": "<xsl:value-of select="remark/message" disable-output-escaping="yes" />",
							"wrap": true,
							"separator": true
						}
					],
					"msteams": {
						"width": "Full"
					},
					"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
					"version": "1.5"
				}
			}
		]
	}

  </xsl:template>

</xsl:stylesheet>