1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #~: Minor fix in xsd schema files (#1359)

This commit is contained in:
Sergio Betanzos 2021-07-12 16:33:33 +02:00
parent 2ef1a45478
commit 78bb1135d8
No known key found for this signature in database
GPG Key ID: E3E704F097737136
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- The information sent to the hook when $API is used in an API Hook follos the following schema -->
<!-- The information sent to the hook when $API is used in an API Hook follow the following schema -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://opennebula.org/XMLSchema" elementFormDefault="qualified" targetNamespace="http://opennebula.org/XMLSchema">
<xs:element name="CALL_INFO">
<xs:complexType>
@ -13,7 +13,7 @@
<xs:complexType>
<xs:sequence>
<xs:element name="POSITION" type="xs:integer"/>
<xs:element name="TYPE" type="xs:integer">
<xs:element name="TYPE" type="xs:string">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="IN"/>

View File

@ -6,7 +6,7 @@
<xs:sequence>
<xs:element name="HOOK_TYPE" type="xs:string" fixed="API"/>
<xs:element name="CALL" type="xs:string"/>
<!-- CALL_INFO type is defined in call_info.xsd -->
<!-- CALL_INFO type is defined in api_info.xsd -->
<xs:element ref="CALL_INFO" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

View File

@ -16,7 +16,7 @@
<xs:element name="STATE" type="xs:string"/>
<xs:element name="LCM_STATE" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="REMOTE_HOST" type="xs:string" maxOccurs="1" minOccurs="0"/>
<!-- The template of the resource (VM or Host) is inlcuded here -->
<!-- The template of the resource (VM or Host) is included here -->
<xs:element ref="HOST" maxOccurs="1" minOccurs="0"/>
<xs:element ref="VM" maxOccurs="1" minOccurs="0"/>
</xs:sequence>