Siebel Business Rules Administration Guide > Reference Topics for Siebel Business Rules >

Input Property Set Schema for Business Rule Service


The following XSD (XML Schema Definition) represents the complete structure of the input property set that is expected by the Business Rule Service business service. If you use the Siebel EAI XML Write to File service to export any Business Rule Service input property set to XML, then the structure of that XML file matches the structure described in the following XSD.

For more information about the EAI XML Write to File service, see XML Reference: Siebel Enterprise Application Integration.

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.siebel.com/xml/BizRule" targetNamespace="http://www.siebel.com/xml/BizRule" elementFormDefault="qualified" attributeFormDefault="unqualified">

   <xs:element name="PropertySet" type="BizRuleInputPropertySetType">

      <xs:annotation>

         <xs:documentation xml:lang="en">

         ************************************************************************

         This describes the format of Input PropertySet passed to the

         CSSBizRuleService.

         The following 3 properties can be passed.

            RuleModuleName - name of the rule module the caller wants to evaluate

            GetMoreData - whether to get more children business component data

                        using search specifications defined with the rule module

                        if necessary, or to evaluate the rule module with the

                        data passed in.

                        This is an optional property and the default is "N".

            PerformAction - whether to carry out the result, i.e., whether to

                        perform setfieldvalue actions.

                        This is an optional property and the default is "N".

         ************************************************************************

         </xs:documentation>

      </xs:annotation>

   </xs:element>

   <xs:complexType name="BizRuleInputPropertySetType">

      <xs:sequence minOccurs="0" maxOccurs="unbounded">

         <xs:element name="BusCompList" type="BusCompListType"/>

      </xs:sequence>

      <xs:attribute name="RuleModuleName" type="xs:string" use="required"/>

      <xs:attribute name="GetMoreData" type="BooleanType" use="optional"

      default="N"/>

      <xs:attribute name="PerformAction" type="BooleanType" use="optional" default="N"/>

   </xs:complexType>

   <xs:complexType name="BusCompListType">

      <xs:sequence maxOccurs="unbounded">

         <xs:element name="BusComp" type="BusCompType"/>

      </xs:sequence>

      </xs:complexType>

   <xs:complexType name="BusCompType">

      <xs:sequence>

         <xs:element name="Field" type="FieldType" minOccurs="0"

         maxOccurs="unbounded"/>

         <xs:element name="BusCompList" type="BusCompListType" minOccurs="0"

         maxOccurs="unbounded"/>

      </xs:sequence>

      <xs:attribute name="Name" type="xs:string" use="required"/>

      <xs:attribute name="Id" type="xs:string" use="required"/>

      <xs:attribute name="IsPrimary" type="BooleanType" use="optional"/>

      <xs:attribute name="MVLinkName" type="xs:string" use="optional"/>

   </xs:complexType>

   <xs:complexType name="FieldType" mixed="true">

      <xs:attribute name="Name" type="xs:string" use="required"/>

      <xs:attribute name="Type" type="FieldDataType" use="required"/>

      <xs:attribute name="CurrencyCode" type="xs:string" use="optional"/>

      <xs:attribute name="ExchangeRateDate" type="xs:string" use="optional"/>

   </xs:complexType>

   <xs:simpleType name="FieldDataType">

      <xs:restriction base="xs:string">

         <xs:enumeration value="DTYPE_BOOL"/>

         <xs:enumeration value="DTYPE_CURRENCY"/>

         <xs:enumeration value="DTYPE_ID"/>

         <xs:enumeration value="DTYPE_INTEGER"/>

         <xs:enumeration value="DTYPE_NOTE"/>

         <xs:enumeration value="DTYPE_NUMBER"/>

         <xs:enumeration value="DTYPE_PHONE"/>

         <xs:enumeration value="DTYPE_TEXT"/>

         <xs:enumeration value="DTYPE_UTCDATETIME"/>

         <xs:enumeration value="DTYPE_DATE"/>

         <xs:enumeration value="DTYPE_TIME"/>

      </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="BooleanType">

      <xs:restriction base="xs:string">

         <xs:enumeration value="Y"/>

         <xs:enumeration value="N"/>

      </xs:restriction>

   </xs:simpleType>

</xs:schema>

Siebel Business Rules Administration Guide Copyright © 2007, Oracle. All rights reserved.