Subject: [PATCH] See #24014: Add value_type and normalize attributes to preset xsd
---
Index: resources/data/tagging-preset.xsd
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/resources/data/tagging-preset.xsd b/resources/data/tagging-preset.xsd
--- a/resources/data/tagging-preset.xsd	(revision 19259)
+++ b/resources/data/tagging-preset.xsd	(date 1732548454889)
@@ -596,6 +596,74 @@
             <enumeration value="optional" />
         </restriction>
     </simpleType>
+    
+    <simpleType name="value_type">
+        <restriction base="string">
+            <enumeration value="opening_hours">
+                <annotation>
+                    <documentation>
+                        Opening hours (standard syntax)
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="opening_hours_mixed">
+                <annotation>
+                    <documentation>
+                        A value with both opening hours and specialized text values
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="integer">
+                <annotation>
+                    <documentation>
+                        An integer value
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="website">
+                <annotation>
+                    <documentation>
+                        A website
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="phone">
+                <annotation>
+                    <documentation>
+                        A phone number
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="wikipedia">
+                <annotation>
+                    <documentation>
+                        A wikipedia page
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="wikidata">
+                <annotation>
+                    <documentation>
+                        A wikidata reference
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="speed">
+                <annotation>
+                    <documentation>
+                        A speed value
+                    </documentation>
+                </annotation>
+            </enumeration>
+            <enumeration value="multiline">
+                <annotation>
+                    <documentation>
+                        A multiline value
+                    </documentation>
+                </annotation>
+            </enumeration>
+        </restriction>
+    </simpleType>
 
     <!-- Types and documentation for attributes -->
 
@@ -645,6 +713,20 @@
             <annotation>
                 <documentation>
                     Translation context for text attribute to separate equals words with different meaning (not required for in-file translations).
+                </documentation>
+            </annotation>
+        </attribute>
+        <attribute name="value_type" type="tns:value_type">
+            <annotation>
+                <documentation>
+                    The text is expected to be multiline, and newlines must not be normalized (default is false)
+                </documentation>
+            </annotation>
+        </attribute>
+        <attribute name="normalize" type="boolean">
+            <annotation>
+                <documentation>
+                    This performs normalization of the value by stripping extraneous spaces and consolidating whitespace (default is true for JOSM)
                 </documentation>
             </annotation>
         </attribute>
