1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-05 09:17:41 +03:00
one/share/doc/xsd/hook_message_api.xsd
Pavel Czerný cd9eb49321
M #-: Fix *.xsd (#3205)
* Schemas validated by online tool
* Ambiguity errors not solved
2024-09-03 18:45:56 +02:00

16 lines
749 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- This schema is followd by the EVENT API message sent by the Hook Manager -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://opennebula.org/XMLSchema" elementFormDefault="qualified" targetNamespace="http://opennebula.org/XMLSchema">
<xs:include schemaLocation="api_info.xsd"/>
<xs:element name="HOOK_MESSAGE">
<xs:complexType>
<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 api_info.xsd -->
<xs:element ref="CALL_INFO" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>