diff options
author | Mamadou DIOP <bossiel@yahoo.fr> | 2015-08-17 01:56:35 +0200 |
---|---|---|
committer | Mamadou DIOP <bossiel@yahoo.fr> | 2015-08-17 01:56:35 +0200 |
commit | 631fffee8a28b1bec5ed1f1d26a20e0135967f99 (patch) | |
tree | 74afe3bf3efe15aa82bcd0272b2b0f4d48c2d837 /schemas/common-schema.xsd | |
parent | 7908865936604036e6f200f1b5e069f8752f3a3a (diff) | |
download | doubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.zip doubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.tar.gz |
-
Diffstat (limited to 'schemas/common-schema.xsd')
-rw-r--r-- | schemas/common-schema.xsd | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/schemas/common-schema.xsd b/schemas/common-schema.xsd new file mode 100644 index 0000000..90bce05 --- /dev/null +++ b/schemas/common-schema.xsd @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="http://www.w3.org/2001/xml.xsd"/> + <xs:simpleType name="Timestamp_t"> + <xs:annotation> + <xs:documentation>Timestamp type</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:dateTime"/> + </xs:simpleType> + <xs:simpleType name="deviceID_t"> + <xs:annotation> + <xs:documentation>Device ID, a URN</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:anyURI"/> + </xs:simpleType> + <xs:complexType name="Note_t"> + <xs:annotation> + <xs:documentation>Note type</xs:documentation> + </xs:annotation> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute ref="xml:lang"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:attributeGroup name="fromUntil"> + <xs:attribute name="from" type="xs:dateTime"/> + <xs:attribute name="until" type="xs:dateTime"/> + </xs:attributeGroup> + <xs:complexType name="empty"/> + </xs:schema> |