MML common format Telephone number format

 

Element structure chart

 

Element list

 

Elements

Attribute

Datatypes

Occurrence

Table id

2.

mmlPh:Phone

 

 

 

 

 

 

 

mmlPh:telEquipType

string

#IMPLIED

MML0003

2.1.

 

mmlPh:area

 

string

 

 

2.2.

 

mmlPh:city

 

string

 

 

2.3.

 

mmlPh:number

 

string

 

 

2.4.

 

mmlPh:extension

 

string

?

 

2.5.

 

mmlPh:country

 

string

?

 

2.6.

 

mmlPh:memo

 

string

?

 


Occurrence None: 1 appearance without fail, ?: 0 or 1 appearance, +: 1 or more appearance, *: 0 or more appearance
#REQUIRED: Mandatory attribute, #IMPLIED: Omissible attribute

 

Element explanation

 

2.mmlPh:Phone(telephone number format)

[Detail] Common format that indicates telephone number

[Attribute]

Attribute name

Data type

Omission

Table used

Explanation

mmlPh:telEquipType

string

#IMPLIED

MML0003

Equipment type code

 

2.1.mmlPh:area

[Detail] Area code

[Data type] string

[Omission] Omission allowed

 

2.2.mmlPh:city

[Detail] Local number

[Data type] string

[Omission] Omission allowed

 

2.3.mmlPh:number

[Detail] Individual number

[Data type] string

[Omission] Omission allowed

 

2.4.mmlPh:extension

[Detail] Extension number

[Data type] string

[Omission] Omission allowed

 

2.5.mmlPh:country

[Detail] Country code

[Data type] string

[Omission] Omission allowed

 

2.6.mmlPh:memo

[Detail] Describes the range of time for use. (for example)

[Data type] string

[Omission] Omission allowed

 

 

mmlPh:Phone (telephone number format) sample instance

<mmlPh:Phone mmlPh:telEquipType = "PH">
<mmlPh:area>0985</mmlPh:area>
<mmlPh:city>85</mmlPh:city>
<mmlPh:number>1500</mmlPh:number>
<mmlPh:extension>2067</mmlPh:extension>
<mmlPh:country>81</mmlPh:country>
<mmlPh:memo>daytime</mmlPh:memo>

</mmlPh:Phone>