[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [energyinterop] Draft of EiResponseType and of EiFeedback payloads
So, is this the proposal? <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:foo="tc.response.proposal" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:eitc="http://docs.oasis-open.org/ns/energyinterop/201103" xmlns:emix="http://docs.oasis-open.org/ns/emix" targetNamespace="tc.response.proposal" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:import namespace="http://docs.oasis-open.org/ns/energyinterop/201103" schemaLocation="EiClasses.xsd"/> <xs:import namespace="http://docs.oasis-open.org/ns/emix" schemaLocation="EMIX/emix.xsd"/> <xs:element name="eiResponse" type="foo:EiResponseType"/> <xs:complexType name="EiResponseType"> <xs:annotation> <xs:documentation>Event Performance is the actual energy use within each interval during the event.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="foo:response" minOccurs="1" maxOccurs="1"/> <xs:element ref="foo:description" minOccurs="1" maxOccurs="1"/> <xs:element ref="foo:eiTermViolated" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:element name="eiTermViolated" type="foo:EiTermViolatedType"/> <xs:complexType name="EiTermViolatedType"> <xs:sequence> <xs:element ref="emix:baseTerm" minOccurs="1" maxOccurs="1"/> <xs:element ref="foo:description" minOccurs="1" maxOccurs="1"/> </xs:sequence> </xs:complexType> <!-- Response --> <xs:element name="response" type="foo:ResponseEnumeratedType"/> <xs:simpleType name="ResponseEnumeratedType"> <xs:restriction base="xs:token"> <xs:enumeration value="yes"/> <xs:enumeration value="no"/> <xs:enumeration value="maybe"/> </xs:restriction> </xs:simpleType> <!-- Description --> <xs:element name="description" type="xs:string"/> </xs:schema> "He who fights with monsters should look to it that he himself does not become a monster, and if you stare long into an abyss, the abyss also stares into you." - Fredrich Nietzche
From: William Cox [mailto:wtcox@CoxSoftwareArchitects.com] The EiResponseType is a first draft out of the "ReponseString" (or "AckAck") group discussion last Thursday. -- |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]