基本スキーマ

基本スキーマは、モバイル ブロードバンド スキーマ全体で使用される基本的なデータ型を記述するために使用される要素を定義します。 単純型と複合型のみを定義します。 基本スキーマ内のすべての型は、他のモバイル ブロードバンド スキーマ内の要素として文書化されます。

完全な基本スキーマは次のとおりです。

<?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>