1 <?xml version="1.0" encoding="utf-8"?>
3 /*******************************************************************************
4 * Copyright (c) 2013 University of Stuttgart.
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * and the Apache License 2.0 which both accompany this distribution,
8 * and are available at http://www.eclipse.org/legal/epl-v10.html
9 * and http://www.apache.org/licenses/LICENSE-2.0
12 * Tobias Binz and Uwe Breitenbücher - initial API and implementation and/or initial documentation
13 *******************************************************************************/
15 <xs:schema xmlns="http://www.eclipse.org/winery/model/selfservice" targetNamespace="http://www.eclipse.org/winery/model/selfservice"
16 xmlns:tns="http://www.eclipse.org/winery/model/selfservice" xmlns:xs="http://www.w3.org/2001/XMLSchema"
17 elementFormDefault="qualified" attributeFormDefault="unqualified">
19 <xs:element name="Application">
22 <xs:element name="displayName" type="xs:string" />
24 <xs:element name="description" type="xs:string" />
26 <xs:element name="iconUrl" type="xs:string">
28 <xs:documentation>Absolute or relative (with respect to the SELFSERVICE-Metadata folder root in the CSAR) URL to load the application icon.</xs:documentation>
31 <xs:element name="imageUrl" type="xs:string">
33 <xs:documentation>Absolute or relative (with respect to the SELFSERVICE-Metadata folder root in the CSAR) URL to load the application image for the application's offering details.</xs:documentation>
37 <xs:element name="options">
40 <xs:element name="option" type="ApplicationOption" minOccurs="0" maxOccurs="unbounded" />
49 <xs:complexType name="ApplicationOption">
51 <xs:element name="description" type="xs:string" />
53 <xs:element name="iconUrl" type="xs:anyURI">
55 <xs:documentation>Absolute or relative (with respect to the SELFSERVICE-Metadata folder root in the CSAR) URL to load the application icon.</xs:documentation>
59 <xs:element name="planServiceName" type="xs:string" />
61 <xs:element name="planInputMessageUrl" type="xs:string">
63 <xs:documentation>Absolute or relative (with respect to the SELFSERVICE-Metadata folder root in the CSAR) URL to load the plan input message to start the build plan.</xs:documentation>
68 <xs:attribute name="id" type="xs:string" use="required" />
69 <xs:attribute name="name" type="xs:string" use="required" />