| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | |
|---|
| 3 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|---|
| 4 | targetNamespace="http://www.apostrophenow.org/" |
|---|
| 5 | xmlns:a="http://www.apostrophenow.org/" |
|---|
| 6 | elementFormDefault="qualified"> |
|---|
| 7 | <xs:annotation> |
|---|
| 8 | <xs:documentation> |
|---|
| 9 | XML Schema file to be used to import a site into apostrophe |
|---|
| 10 | </xs:documentation> |
|---|
| 11 | </xs:annotation> |
|---|
| 12 | <xs:element name="site"> |
|---|
| 13 | <xs:complexType> |
|---|
| 14 | <xs:sequence> |
|---|
| 15 | <xs:element name="Page" type="a:page" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 16 | </xs:sequence> |
|---|
| 17 | </xs:complexType> |
|---|
| 18 | </xs:element> |
|---|
| 19 | <xs:complexType name="Page"> |
|---|
| 20 | <xs:sequence> |
|---|
| 21 | <xs:element name="Page" type="a:page" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 22 | <xs:element name="Area" type="a:area" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 23 | </xs:sequence> |
|---|
| 24 | <xs:attribute name="slug" type="xs:string"/> |
|---|
| 25 | <xs:attribute name="title" type="xs:string"/> |
|---|
| 26 | <xs:attribute name="template" type="xs:string"/> |
|---|
| 27 | <xs:attribute name="file-id" type="xs:string"/> |
|---|
| 28 | </xs:complexType> |
|---|
| 29 | <xs:complexType name="Area"> |
|---|
| 30 | <xs:sequence> |
|---|
| 31 | <xs:element name="Slot" type="a:slot" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 32 | </xs:sequence> |
|---|
| 33 | <xs:attribute name="name" type="xs:string" /> |
|---|
| 34 | </xs:complexType> |
|---|
| 35 | <xs:complexType name="Slot"> |
|---|
| 36 | <xs:sequence> |
|---|
| 37 | <xs:element name="value" type="XS:string"/> |
|---|
| 38 | <xs:element name="MediaItem" /> |
|---|
| 39 | </xs:sequence> |
|---|
| 40 | </xs:complexType> |
|---|
| 41 | <xs:complexType name="MediaItem"> |
|---|
| 42 | <xs:attribute name="src" type="xs:string"/> |
|---|
| 43 | <xs:attribute name="alt" type="xs:string"/> |
|---|
| 44 | <xs:sequence> |
|---|
| 45 | <xs:element name="description" type="xs:string"/> |
|---|
| 46 | </xs:sequence> |
|---|
| 47 | </xs:complexType> |
|---|
| 48 | </xs:schema> |
|---|