Showing:

Annotations
Diagrams
Facets
Instances
Model
Properties
Source
Main schema calculate
Namespace http://hes.lbl.gov/st_api/serve
Properties
attribute form default unqualified
element form default qualified
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:building_info
Namespace http://hes.lbl.gov/st_api/serve
Diagram
Diagram calculate_1.tmp#building_info_user_key calculate_1.tmp#building_info_building_id calculate_1.tmp#building_info_validate_inputs calculate_1.tmp#building_info_log_type calculate_1.tmp#building_info_is_polling
Properties
content complex
Model
Children tns:building_id, tns:is_polling, tns:log_type, tns:user_key, tns:validate_inputs
Instance
<tns:building_info xmlns:tns="http://hes.lbl.gov/st_api/serve">
  <tns:user_key>{1,1}</tns:user_key>
  <tns:building_id>{1,1}</tns:building_id>
  <tns:validate_inputs>{0,1}</tns:validate_inputs>
  <tns:log_type>{0,1}</tns:log_type>
  <tns:is_polling>{0,1}</tns:is_polling>
</tns:building_info>
Source
<xsd:element name="building_info">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="user_key">
        <xsd:annotation>
          <xsd:documentation>3scale key</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:length value="32"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      <xsd:element name="building_id">
        <xsd:annotation>
          <xsd:documentation>ID of building to calculate</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:int">
            <xsd:maxInclusive value="2147483647"/>
            <xsd:minInclusive value="0"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      <xsd:element name="validate_inputs" minOccurs="0" type="xsd:boolean">
        <xsd:annotation>
          <xsd:documentation>Flag to validate inputs (optional, default=true)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="log_type" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Flags to log debug data</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element maxOccurs="1" name="is_polling" type="xsd:boolean" default="false" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Flag to return response immediately (optional, default=false)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:building_info / tns:user_key
Namespace http://hes.lbl.gov/st_api/serve
Annotations
3scale key
Diagram
Diagram
Type restriction of xsd:string
Properties
content simple
Facets
length 32
Source
<xsd:element name="user_key">
  <xsd:annotation>
    <xsd:documentation>3scale key</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:length value="32"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:building_info / tns:building_id
Namespace http://hes.lbl.gov/st_api/serve
Annotations
ID of building to calculate
Diagram
Diagram
Type restriction of xsd:int
Properties
content simple
Facets
maxInclusive 2147483647
minInclusive 0
Source
<xsd:element name="building_id">
  <xsd:annotation>
    <xsd:documentation>ID of building to calculate</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:int">
      <xsd:maxInclusive value="2147483647"/>
      <xsd:minInclusive value="0"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:building_info / tns:validate_inputs
Namespace http://hes.lbl.gov/st_api/serve
Annotations
Flag to validate inputs (optional, default=true)
Diagram
Diagram
Type xsd:boolean
Properties
content simple
minOccurs 0
Source
<xsd:element name="validate_inputs" minOccurs="0" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>Flag to validate inputs (optional, default=true)</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:building_info / tns:log_type
Namespace http://hes.lbl.gov/st_api/serve
Annotations
Flags to log debug data
Diagram
Diagram
Type xsd:string
Properties
content simple
minOccurs 0
Source
<xsd:element name="log_type" type="xsd:string" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Flags to log debug data</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:building_info / tns:is_polling
Namespace http://hes.lbl.gov/st_api/serve
Annotations
Flag to return response immediately (optional, default=false)
Diagram
Diagram
Type xsd:boolean
Properties
content simple
minOccurs 0
maxOccurs 1
default false
Source
<xsd:element maxOccurs="1" name="is_polling" type="xsd:boolean" default="false" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Flag to return response immediately (optional, default=false)</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:calculate_result
Namespace http://hes.lbl.gov/st_api/serve
Diagram
Diagram calculate_1.tmp#calculate_result_result calculate_1.tmp#calculate_result_message validate_inputs.tmp#validate_inputs_results
Properties
content complex
Model
Children tns:message, tns:result, tns:validate_inputs_results
Instance
<tns:calculate_result xmlns:tns="http://hes.lbl.gov/st_api/serve">
  <tns:result>{1,1}</tns:result>
  <tns:message>{1,1}</tns:message>
  <tns:validate_inputs_results>{0,unbounded}</tns:validate_inputs_results>
</tns:calculate_result>
Source
<xsd:element name="calculate_result">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="result">
        <xsd:annotation>
          <xsd:documentation>text indicating success or failure</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:enumeration value="OK"/>
            <xsd:enumeration value="FAIL"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      <xsd:element name="message">
        <xsd:annotation>
          <xsd:documentation>return message with building id</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:maxLength value="200"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      <xsd:element maxOccurs="unbounded" minOccurs="0" ref="tns:validate_inputs_results"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:calculate_result / tns:result
Namespace http://hes.lbl.gov/st_api/serve
Annotations
text indicating success or failure
Diagram
Diagram
Type restriction of xsd:string
Properties
content simple
Facets
enumeration OK
enumeration FAIL
Source
<xsd:element name="result">
  <xsd:annotation>
    <xsd:documentation>text indicating success or failure</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="OK"/>
      <xsd:enumeration value="FAIL"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate
Element tns:calculate_result / tns:message
Namespace http://hes.lbl.gov/st_api/serve
Annotations
return message with building id
Diagram
Diagram
Type restriction of xsd:string
Properties
content simple
Facets
maxLength 200
Source
<xsd:element name="message">
  <xsd:annotation>
    <xsd:documentation>return message with building id</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:maxLength value="200"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
Schema location http://st2016-hesapici-sb.hescloud.net/st_api/xsd/calculate