Commit | Line | Data |
---|---|---|
e11e382c FW |
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | <!-- *************************************************************************** | |
3 | * Copyright (c) 2014 École Polytechnique de Montréal | |
4 | * | |
5 | * All rights reserved. This program and the accompanying materials are | |
6 | * made available under the terms of the Eclipse Public License v1.0 which | |
7 | * accompanies this distribution, and is available at | |
8 | * http://www.eclipse.org/legal/epl-v10.html | |
9 | * | |
10 | * Contributors: | |
11 | * Florian Wininger - Initial API and implementation | |
12 | *************************************************************************** --> | |
13 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
14 | attributeFormDefault="unqualified" elementFormDefault="qualified"> | |
15 | ||
16 | <xs:element name="tmfxml"> | |
17 | <xs:complexType> | |
18 | <xs:sequence> | |
19 | <xs:element maxOccurs="unbounded" minOccurs="0" name="stateProvider" type="stateProvider" /> | |
20 | </xs:sequence> | |
21 | </xs:complexType> | |
22 | </xs:element> | |
23 | ||
24 | <xs:complexType name="stateProvider"> | |
25 | <xs:sequence maxOccurs="1" minOccurs="1"> | |
26 | <xs:element maxOccurs="1" minOccurs="0" name="head" | |
27 | type="headProvider" /> | |
28 | </xs:sequence> | |
29 | <xs:attribute name="analysisId" type="xs:string" use="required" /> | |
30 | <xs:attribute name="version" type="xs:integer" use="required" /> | |
31 | </xs:complexType> | |
32 | ||
33 | <xs:complexType name="headProvider"> | |
34 | <xs:sequence> | |
35 | <xs:element maxOccurs="unbounded" minOccurs="0" name="traceType"> | |
36 | <xs:complexType> | |
37 | <xs:attribute name="id" /> | |
38 | </xs:complexType> | |
39 | </xs:element> | |
40 | <xs:element maxOccurs="1" minOccurs="0" name="label"> | |
41 | <xs:complexType> | |
42 | <xs:attribute name="value" /> | |
43 | </xs:complexType> | |
44 | </xs:element> | |
45 | </xs:sequence> | |
46 | </xs:complexType> | |
47 | ||
48 | </xs:schema> |