Definition Type: Element
Name: country-code
Namespace: http://rets.org/xsd/RETSCommons/2007-08
Type: commons:stringnumeric
Containing Schema: ContactMethods.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Documentation:
The country-code comes after the prefix and before the area code. The well-known ITU-T country calling codes as defined in E.164. The schema does not enforce the use of valid codes. Additionally, the schema suppresses whitespace that is normally present in printed examples. Finally, the schema suppresses the '+' that is normally present in printed examples. Here are some examples of the country code and location +1 for the US +1 444 for Bermuda +44 for the UK
Collapse XSD Schema Diagram:
XSD Diagram of country-code in schema contactmethods_xsd (Real Estate Transaction Standard (RETS))
Collapse XSD Schema Code:
<xs:element name="country-code" type="commons:stringnumeric">
    <xs:annotation>
        <xs:documentation>
						The country-code comes after the prefix and before
						the area code.

						The well-known ITU-T country calling codes as
						defined in E.164. The schema does not enforce the
						use of valid codes.

						Additionally, the schema suppresses whitespace that
						is normally present in printed examples.

						Finally, the schema suppresses the '+' that is
						normally present in printed examples.

						Here are some examples of the country code and
						location
							+1 for the US
							+1 444 for Bermuda
							+44 for the UK
					</xs:documentation>
        <xs:appinfo>
            <retsid>100052</retsid>
            <example>1</example>
        </xs:appinfo>
    </xs:annotation>
</xs:element>
Collapse Derivation Tree: