-
-
Save brmeyer/22c138b854dc3d17251f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/s-ramp-api/src/main/resources/s-ramp/wsdlmodel.xsd b/s-ramp-api/src/main/resources/s-ramp/wsdlmodel.xsd | |
index 6d8bee5..5f90b25 100644 | |
--- a/s-ramp-api/src/main/resources/s-ramp/wsdlmodel.xsd | |
+++ b/s-ramp-api/src/main/resources/s-ramp/wsdlmodel.xsd | |
@@ -120,6 +120,11 @@ | |
<xsd:enumeration value="XsdType" /> | |
</xsd:restriction> | |
</xsd:simpleType> | |
+ <xsd:simpleType name="elementDeclarationEnum"> | |
+ <xsd:restriction base="s-ramp:derivedArtifactEnum"> | |
+ <xsd:enumeration value="ElementDeclaration" /> | |
+ </xsd:restriction> | |
+ </xsd:simpleType> | |
<xsd:complexType name="WsdlDocument"> | |
<xsd:complexContent> | |
@@ -264,9 +269,9 @@ | |
<xsd:complexContent> | |
<xsd:extension base="tns:NamedWsdlDerivedArtifactType"> | |
<xsd:sequence> | |
- <!-- Derived Relationships with ElementDeclaraion and XSDType artifacts: --> | |
+ <!-- Derived Relationships with ElementDeclaration and XSDType artifacts: --> | |
<xsd:element name="type" type="s-ramp:xsdTypeTarget" minOccurs="0" maxOccurs="1" /> | |
- <xsd:element name="element" type="s-ramp:elementTarget" minOccurs="0" maxOccurs="1" /> | |
+ <xsd:element name="element" type="s-ramp:elementDeclarationTarget" minOccurs="0" maxOccurs="1" /> | |
</xsd:sequence> | |
</xsd:extension> | |
</xsd:complexContent> | |
@@ -431,4 +436,12 @@ | |
</xsd:extension> | |
</xsd:complexContent> | |
</xsd:complexType> | |
+ <!-- Relationship referencing the artifact's UUID, to reference any ElementDeclaration. --> | |
+ <xsd:complexType name="elementDeclarationTarget"> | |
+ <xsd:complexContent> | |
+ <xsd:extension base="s-ramp:target"> | |
+ <xsd:attribute name="artifactType" type="s-ramp:elementDeclarationEnum" use="required" /> | |
+ </xsd:extension> | |
+ </xsd:complexContent> | |
+ </xsd:complexType> | |
</xsd:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment