Definition Type: SimpleType
Name: Code_AgentDuty
Namespace: http://opentravel.org/common/message/v02
Containing Schema: OTA2_Message_v2.0.0.xsd
Documentation:
Typically a two to five character code (alpha, numeric, or combination) that specifies a travel agent duty code that is used for agency authentication.
Collapse XSD Schema Diagram:
XSD Diagram of Code_AgentDuty in schema ota2_message_v2_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:simpleType name="Code_AgentDuty">
    <xsd:annotation>
        <xsd:documentation source="Description">Typically a two to five character code (alpha, numeric, or combination) that specifies a travel agent duty code that is used for agency authentication.</xsd:documentation>
        <xsd:appinfo>
            <otm:Example context="OTM2" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">AG</otm:Example>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
        <xsd:pattern value="[a-zA-Z0-9]{2,5}" />
    </xsd:restriction>
</xsd:simpleType>
Collapse Facets:
Facet Value
Pattern [a-zA-Z0-9]{2,5}
Collapse Derivation Tree:
Collapse References:
ota2msg:dutyCode