기본 스키마

기본 스키마는 모바일 광대역 스키마 전체에서 사용되는 기본 데이터 형식을 설명하는 데 사용되는 요소를 정의합니다. 단순하고 복잡한 형식만 정의합니다. 기본 스키마 내의 모든 형식은 다른 모바일 광대역 스키마 내의 요소로 문서화됩니다.

전체 기본 스키마는 다음과 같습니다.

<?xml version="1.0" encoding="utf-8"?>  
<xs:schema targetNamespace="http://www.microsoft.com/networking/CarrierControl/Base/v1"  
    elementFormDefault="qualified"  
    xmlns="http://www.microsoft.com/networking/CarrierControl/Base/v1"  
    xmlns:xs="http://www.w3.org/2001/XMLSchema">  
 
  <xs:simpleType name="NameType">  
    <xs:restriction base="xs:normalizedString">  
      <xs:minLength value="1"/>  
      <xs:maxLength value="255"/>  
      <xs:whiteSpace value="collapse"/>  
    </xs:restriction>  
  </xs:simpleType>  
  
  <xs:simpleType name="Priority">  
    <xs:restriction base="xs:nonNegativeInteger">  
      <xs:maxExclusive value="10"/>  
    </xs:restriction>  
  </xs:simpleType>  
  
  <xs:simpleType name="GUID">  
    <xs:annotation>  
      <xs:documentation xml:lang="en">  
        The representation of a GUID, generally the id of an element.  
      </xs:documentation>  
    </xs:annotation>  
    <xs:restriction base="xs:token">  
      <xs:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}"/>  
    </xs:restriction>  
  </xs:simpleType>  
  
  <xs:simpleType name="SubscriberType">  
    <xs:restriction base="xs:token">  
      <xs:maxLength value="20"/>  
      <xs:pattern value="\w+"/>  
    </xs:restriction>  
  </xs:simpleType>  
  
  <xs:complexType name="CertificateDetails">  
    <xs:annotation>  
      <xs:documentation>  
        Used to identify a certificate or set of certificates.  SubjectName is compared against  
        the DN provided as the certificate's Subject field, or against any Name provided in the  
        SubjectAlternativeName extentions of type DirectoryName.  IssuerName is compared against  
        the DN provided as the certificate's Issuer field, or against any Name provided in the  
        IssuerAlternativeName extentions of type DirectoryName.  
      </xs:documentation>  
    </xs:annotation>  
    <xs:sequence>  
      <xs:element type="xs:string" name="SubjectName"/>  
      <xs:element type="xs:string" name="IssuerName"/>  
    </xs:sequence>  
  </xs:complexType>  

  <xs:simpleType name="ProviderNameType">  
    <xs:restriction base="xs:normalizedString">  
      <xs:minLength value="1"/>  
      <xs:maxLength value="20"/>  
      <xs:whiteSpace value="collapse"/>  
    </xs:restriction>  
  </xs:simpleType>  
  
  <xs:simpleType name="ProviderIdType">  
    <xs:restriction base="xs:token">  
      <xs:pattern value="\d{1,6}"/>  
    </xs:restriction>  
  </xs:simpleType>  
  
  <xs:complexType name="ProviderType">  
    <xs:sequence>  
      <xs:element name="ProviderID" type="ProviderIdType"/>  
      <xs:element name="ProviderName" type="ProviderNameType"/>  
    </xs:sequence>  
  </xs:complexType>  
</xs:schema>