Definition Type: Element
Name: area-code
Namespace: http://rets.org/xsd/RETSCommons/2007-08
Type: commons:stringnumeric
Containing Schema: ContactMethods.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Documentation:
The area-code comes after the country code and precedes the local-number. The regional identifier (or overlay identifier) applied by the national carrier regulation authority. In some locales, the use of area code is mandatory for dialing all numbers while in other it is only necessary for dialing outside of the local calling area. The schema does not enforce the use of valid codes. Additionally, the schema suppresses parentheses that are normally present in printed examples. Here are some examples of the country code and location (312) for the Chicago-IL US overlay (020) for Amsterdam, the Netherlands calls originating from within the country directed to Amsterdam. Within this schema, the example values will be 312 020
Collapse XSD Schema Diagram:
XSD Diagram of area-code in schema contactmethods_xsd (Real Estate Transaction Standard (RETS))
Collapse XSD Schema Code:
<xs:element name="area-code" type="commons:stringnumeric">
    <xs:annotation>
        <xs:documentation>
						The area-code comes after the country code and
						precedes the local-number.

						The regional identifier (or overlay identifier)
						applied by the national carrier regulation
						authority.
						
						In some locales, the use of area code is mandatory
						for dialing all numbers while in other it is only
						necessary for dialing outside of the local calling
						area.

						The schema does not enforce the use of valid codes.

						Additionally, the schema suppresses parentheses
						that are normally present in printed examples.

						Here are some examples of the country code and
						location
							(312) for the Chicago-IL US overlay
							(020) for Amsterdam, the Netherlands calls
							originating from within the country directed
							to Amsterdam.

						Within this schema, the example values will be
							312
							020
					</xs:documentation>
        <xs:appinfo>
            <retsid>100053</retsid>
            <example>888</example>
        </xs:appinfo>
    </xs:annotation>
</xs:element>
Collapse Derivation Tree: