Credential

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
domain required
type restriction of xs:NMTOKEN optional

Used By

Source

<xs:element name="Credential">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Identity"/>
      <xs:choice minOccurs="0">
        <xs:element ref="SharedSecret"/>
        <xs:element ref="DigitalSignature"/>
        <xs:element ref="CredentialMac"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="domain" use="required"/>
    <xs:attribute name="type">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="marketplace"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample