Changeset 18918 in josm for trunk/resources/data/tagging-preset.xsd
- Timestamp:
- 2023-12-19T17:09:19+01:00 (2 years ago)
- File:
-
- 1 edited
-
trunk/resources/data/tagging-preset.xsd (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/tagging-preset.xsd
r18812 r18918 107 107 <extension base="tns:group-parent"> 108 108 <attributeGroup ref="tns:attributes.name" /> 109 <attributeGroup ref="tns:attributes.regions"/> 109 110 </extension> 110 111 </complexContent> … … 122 123 <annotation> 123 124 <documentation> 124 Every item is one annotation set to select from. name is required, type and preset_name_label are recommended , icon and name_templateare optional attributes.125 Every item is one annotation set to select from. name is required, type and preset_name_label are recommended and icon, name_template, regions and exclude_regions are optional attributes. 125 126 </documentation> 126 127 </annotation> … … 135 136 <attributeGroup ref="tns:attributes.name" /> 136 137 <attributeGroup ref="tns:attributes.icon" /> 138 <attributeGroup ref="tns:attributes.regions"/> 137 139 <attribute name="type" type="string"> 138 140 <annotation> … … 365 367 <annotation> 366 368 <documentation><![CDATA[ 367 Used in <combo/> and <multiselect/>. More information see short_descriptions below. The attributes are value, display_value, short_description, icon andicon_size.369 Used in <combo/> and <multiselect/>. More information see short_descriptions below. The attributes are value, display_value, short_description, icon, icon_size, regions, and exclude_regions. 368 370 ]]></documentation> 369 371 </annotation> … … 379 381 </attribute> 380 382 <attributeGroup ref="tns:attributes.icon" /> 383 <attributeGroup ref="tns:attributes.regions"/> 381 384 <anyAttribute processContents="skip" /> 382 385 </complexType> … … 490 493 <attribute name="match" type="tns:match" /> 491 494 <attributeGroup ref="tns:attributes.icon" /> 495 <attributeGroup ref="tns:attributes.regions"/> 492 496 493 497 <attribute name="name" use="prohibited" /> … … 559 563 <annotation> 560 564 <documentation> 561 To specify possible roles of members in relations. The key attribute is required, text, requisite, count, type andmember_expression are optional.565 To specify possible roles of members in relations. The key attribute is required, text, requisite, count, type, member_expression, regions, and exclude_regions are optional. 562 566 </documentation> 563 567 </annotation> … … 575 579 <attribute name="member_expression" type="string" /> 576 580 <attribute name="regexp" type="boolean" /> 581 <attributeGroup ref="tns:attributes.regions"/> 577 582 <anyAttribute processContents="skip" /> 578 583 </complexType> … … 730 735 </attributeGroup> 731 736 737 <attributeGroup name="attributes.regions"> 738 <attribute name="regions" type="string"> 739 <annotation> 740 <documentation> 741 Comma separated list of countries this preset group or item is applicable for. If not specified, the preset is applicable for all countries. 742 </documentation> 743 </annotation> 744 </attribute> 745 <attribute name="exclude_regions" type="boolean"> 746 <annotation> 747 <documentation> 748 If true, invert the meaning of regions. 749 </documentation> 750 </annotation> 751 </attribute> 752 </attributeGroup> 753 732 754 </schema>
Note:
See TracChangeset
for help on using the changeset viewer.
