| 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2000-2015 Ericsson Telecom AB |
| 4 | All rights reserved. This program and the accompanying materials |
| 5 | are made available under the terms of the Eclipse Public License v1.0 |
| 6 | which accompanies this distribution, and is available at |
| 7 | http://www.eclipse.org/legal/epl-v10.html |
| 8 | --> |
| 9 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| 10 | |
| 11 | <xs:element name="titan_coverage"> |
| 12 | <xs:complexType> |
| 13 | <xs:sequence> |
| 14 | <xs:element name="version" type="version" /> |
| 15 | <xs:element name="component" type="component" /> |
| 16 | <xs:element name="files" type="files" /> |
| 17 | </xs:sequence> |
| 18 | </xs:complexType> |
| 19 | </xs:element> |
| 20 | |
| 21 | <xs:complexType name="version"> |
| 22 | <xs:attribute name="major" type="xs:integer" /> |
| 23 | <xs:attribute name="minor" type="xs:integer" /> |
| 24 | </xs:complexType> |
| 25 | |
| 26 | <xs:complexType name="component"> |
| 27 | <xs:attribute name="id" type="xs:string" /> |
| 28 | <xs:attribute name="name" type="xs:string" /> |
| 29 | </xs:complexType> |
| 30 | |
| 31 | <xs:complexType name="files"> |
| 32 | <xs:sequence> |
| 33 | <xs:element name="file" minOccurs="0" maxOccurs="unbounded"> |
| 34 | <xs:complexType> |
| 35 | <xs:sequence> |
| 36 | <xs:element name="functions" type="functions" /> |
| 37 | <xs:element name="lines" type="lines" /> |
| 38 | </xs:sequence> |
| 39 | <xs:attribute name="path" type="xs:string" /> |
| 40 | </xs:complexType> |
| 41 | </xs:element> |
| 42 | </xs:sequence> |
| 43 | </xs:complexType> |
| 44 | |
| 45 | <xs:complexType name="functions"> |
| 46 | <xs:sequence> |
| 47 | <xs:element name="function" minOccurs="0" maxOccurs="unbounded"> |
| 48 | <xs:complexType> |
| 49 | <xs:attribute name="name" type="xs:string" /> |
| 50 | <xs:attribute name="count" type="xs:integer" /> |
| 51 | </xs:complexType> |
| 52 | </xs:element> |
| 53 | </xs:sequence> |
| 54 | </xs:complexType> |
| 55 | |
| 56 | <xs:complexType name="lines"> |
| 57 | <xs:sequence> |
| 58 | <xs:element name="line" minOccurs="0" maxOccurs="unbounded"> |
| 59 | <xs:complexType> |
| 60 | <xs:attribute name="no" type="xs:integer" /> |
| 61 | <xs:attribute name="count" type="xs:integer" /> |
| 62 | </xs:complexType> |
| 63 | </xs:element> |
| 64 | </xs:sequence> |
| 65 | </xs:complexType> |
| 66 | |
| 67 | </xs:schema> |