Schema documentation for gpgmekeys.xsd

april 14, 2016


Table of Contents

Namespace: ""
Schema(s)
Element(s)
Attribute(s)

Namespace: ""

Schema(s)

Main schema gpgmekeys.xsd

Namespace No namespace
Properties
attribute form default: unqualified
element form default: qualified

Element(s)

Element gpgme

Namespace No namespace
Diagram

gpgme element

Properties
content: complex
Model keylist
Children keylist
Instance
<gpgme>
  <keylist>{1,1}</keylist>
</gpgme>
Source
<xs:element name="gpgme">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="keylist"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element keylist

Namespace No namespace
Diagram

keylist element

Properties
content: complex
Used by
Element gpgme
Model key+
Children key
Instance
<keylist>
  <key>{1,unbounded}</key>
</keylist>
Source
<xs:element name="keylist">
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="key"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element key

Namespace No namespace
Diagram

key element

Properties
content: complex
Used by
Element keylist
Model revoked , expired , disabled , invalid , can-encrypt , can-sign , can-certify , can-authenticate , is-qualified , secret , protocol , issuer , chain-id , owner-trust , subkeys , uids
Children can-authenticate, can-certify, can-encrypt, can-sign, chain-id, disabled, expired, invalid, is-qualified, issuer, owner-trust, protocol, revoked, secret, subkeys, uids
Instance
<key>
  <revoked value="">{1,1}</revoked>
  <expired value="">{1,1}</expired>
  <disabled value="">{1,1}</disabled>
  <invalid value="">{1,1}</invalid>
  <can-encrypt value="">{1,1}</can-encrypt>
  <can-sign value="">{1,1}</can-sign>
  <can-certify value="">{1,1}</can-certify>
  <can-authenticate value="">{1,1}</can-authenticate>
  <is-qualified value="">{1,1}</is-qualified>
  <secret value="">{1,1}</secret>
  <protocol value="">{1,1}</protocol>
  <issuer>{1,1}</issuer>
  <chain-id>{1,1}</chain-id>
  <owner-trust value="">{1,1}</owner-trust>
  <subkeys>{1,1}</subkeys>
  <uids>{1,1}</uids>
</key>
Source
<xs:element name="key">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="revoked"/>
      <xs:element ref="expired"/>
      <xs:element ref="disabled"/>
      <xs:element ref="invalid"/>
      <xs:element ref="can-encrypt"/>
      <xs:element ref="can-sign"/>
      <xs:element ref="can-certify"/>
      <xs:element ref="can-authenticate"/>
      <xs:element ref="is-qualified"/>
      <xs:element ref="secret"/>
      <xs:element ref="protocol"/>
      <xs:element ref="issuer"/>
      <xs:element ref="chain-id"/>
      <xs:element ref="owner-trust"/>
      <xs:element ref="subkeys"/>
      <xs:element ref="uids"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element revoked

Namespace No namespace
Diagram

revoken element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="revoked">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element expired

Namespace No namespace
Diagram

expired element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="expired">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element disabled

Namespace No namespace
Diagram

disabled element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="disabled">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element invalid

Namespace No namespace
Diagram

invalid element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="invalid">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element can-encrypt

Namespace No namespace
Diagram

can encrypt element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="can-encrypt">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element can-sign

Namespace No namespace
Diagram

can sign element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="can-sign">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element can-certify

Namespace No namespace
Diagram

can certify element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="can-certify">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element can-authenticate

Namespace No namespace
Diagram

can authenticate element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="can-authenticate">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element is-qualified

Namespace No namespace
Diagram

is qualified element

Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="is-qualified">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element secret

Namespace No namespace
Diagram

secret element

Properties
content: complex
Used by
Elements key, subkey
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="secret">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element protocol

Namespace No namespace
Diagram

protocol element

Type extension of xs:NCName
Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:integer required      
Source
<xs:element name="protocol">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:NCName">
        <xs:attribute name="value" use="required" type="xs:integer"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

Element issuer

Namespace No namespace
Diagram

issuer element

Properties
content: complex
Used by
Element key
Model serial , name
Children name, serial
Instance
<issuer>
  <serial>{1,1}</serial>
  <name>{1,1}</name>
</issuer>
Source
<xs:element name="issuer">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="serial"/>
      <xs:element ref="name"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element serial

Namespace No namespace
Diagram
serial element
Properties
content: complex
Used by
Element issuer
Source
<xs:element name="serial">
  <xs:complexType/>
</xs:element>

Element name

Namespace No namespace
Diagram
name element
Type xs:string
Properties
content: simple
Used by
Elements issuer, uid
Source
<xs:element name="name" type="xs:string"/>

Element chain-id

Namespace No namespace
Diagram
chain ID element
Properties
content: complex
Used by
Element key
Source
<xs:element name="chain-id">
  <xs:complexType/>
</xs:element>

Element owner-trust

Namespace No namespace
Diagram

owner trust element

Type extension of xs:NCName
Properties
content: complex
Used by
Element key
Attributes
QName Type Use      
value xs:integer required      
Source
<xs:element name="owner-trust">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:NCName">
        <xs:attribute name="value" use="required" type="xs:integer"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

Element subkeys

Namespace No namespace
Diagram

subkeys element

Properties
content: complex
Used by
Element key
Model subkey+
Children subkey
Instance
<subkeys>
  <subkey>{1,unbounded}</subkey>
</subkeys>
Source
<xs:element name="subkeys">
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="subkey"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element subkey

Namespace No namespace
Diagram

subkey element

Properties
content: complex
Used by
Element subkeys
Model keyid , fpr , secret , is_cardkey , curve{0,1}
Children curve, fpr, is_cardkey, keyid, secret
Instance
<subkey>
  <keyid>{1,1}</keyid>
  <fpr>{1,1}</fpr>
  <secret value="">{1,1}</secret>
  <is_cardkey value="">{1,1}</is_cardkey>
  <curve>{0,1}</curve>
</subkey>
Source
<xs:element name="subkey">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="keyid"/>
      <xs:element ref="fpr"/>
      <xs:element ref="secret"/>
      <xs:element ref="is_cardkey"/>
      <xs:element minOccurs="0" ref="curve"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element keyid

Namespace No namespace
Diagram
key ID element
Type xs:NMTOKEN
Properties
content: simple
Used by
Element subkey
Source
<xs:element name="keyid" type="xs:NMTOKEN"/>

Element fpr

Namespace No namespace
Diagram
fingerprint element
Type xs:string
Properties
content: simple
Used by
Element subkey
Source
<xs:element name="fpr" type="xs:string"/>

Element is_cardkey

Namespace No namespace
Diagram

is cardkey element

Properties
content: complex
Used by
Element subkey
Attributes
QName Type Use      
value xs:NMTOKEN required      
Source
<xs:element name="is_cardkey">
  <xs:complexType>
    <xs:attribute name="value" use="required" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Element curve

Namespace No namespace
Diagram
curve element
Type xs:NCName
Properties
content: simple
Used by
Element subkey
Source
<xs:element name="curve" type="xs:NCName"/>

Element uids

Namespace No namespace
Diagram

user IDs element

Properties
content: complex
Used by
Element key
Model uid+
Children uid
Instance
<uids>
  <uid>{1,unbounded}</uid>
</uids>
Source
<xs:element name="uids">
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="uid"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Element uid

Namespace No namespace
Diagram

user ID element

Properties
content: complex
mixed: true
Used by
Elements uid, uids
Model name | uid | comment | email
Children comment, email, name, uid
Instance
<uid>
  <name>{1,1}</name>
  <uid>{1,1}</uid>
  <comment>{1,1}</comment>
  <email>{1,1}</email>
</uid>
Source
<xs:element name="uid">
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="name"/>
      <xs:element ref="uid"/>
      <xs:element ref="comment"/>
      <xs:element ref="email"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

Element comment

Namespace No namespace
Diagram
comment element
Type xs:string
Properties
content: simple
Used by
Element uid
Source
<xs:element name="comment" type="xs:string"/>

Element email

Namespace No namespace
Diagram
email element
Type xs:anyURI
Properties
content: simple
Used by
Element uid
Source
<xs:element name="email" type="xs:anyURI"/>

Attribute(s)

Attribute revoked / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element revoked
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute expired / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element expired
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute disabled / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element disabled
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute invalid / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element invalid
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute can-encrypt / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element can-encrypt
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute can-sign / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element can-sign
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute can-certify / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element can-certify
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute can-authenticate / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute is-qualified / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element is-qualified
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute secret / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element secret
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>

Attribute protocol / @value

Namespace No namespace
Type xs:integer
Properties
use: required
Used by
Element protocol
Source
<xs:attribute name="value" use="required" type="xs:integer"/>

Attribute owner-trust / @value

Namespace No namespace
Type xs:integer
Properties
use: required
Used by
Element owner-trust
Source
<xs:attribute name="value" use="required" type="xs:integer"/>

Attribute is_cardkey / @value

Namespace No namespace
Type xs:NMTOKEN
Properties
use: required
Used by
Element is_cardkey
Source
<xs:attribute name="value" use="required" type="xs:NMTOKEN"/>