CnPAPI


Table of Contents  [ Hide]

CnPAPI is the PAI’s top level root element. All nodes are defined with this element.

  Elements

  • Version
  • Engine

Schema

      <xsd:element name="CnPAPI">

            <xsd:complexType>

                  <xsd:sequence>

                        <xsd:element ref="Version"/>

                        <xsd:element ref="Engine"/>

                  </xsd:sequence>

            </xsd:complexType>

      </xsd:element>

Version

Name  

Version  

Path  

CnPAPI.Version  

Description  

Specifies the CnPAPI engine version  

Data Type  

String  

Range  

1.0.1  

Default  

 

Operation  

All  

Input/output  

Input  

Version/Release  

1.2  

Required  

Yes  

Example  

<Version>1.2</Version>

Schema

      <xsd:element name="Version">

            <xsd:simpleType>

                  <xsd:annotation>

                        <xsd:documentation>Specifies the CnPAPI engine version</xsd:documentation>

                  </xsd:annotation>

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

                        <xsd:minLength value="1"/>

                        <xsd:maxLength value="100"/>

                  </xsd:restriction>

            </xsd:simpleType>

      </xsd:element>

Engine

Path: CnPAPI.Engine

Elements:

Schema

      <xsd:element name="Engine">

            <xsd:complexType>

                  <xsd:sequence>

                        <xsd:element ref="Application" minOccurs="0"/>

                        <xsd:element ref="Request"/>

                  </xsd:sequence>

            </xsd:complexType>

      </xsd:element>




 RSS of this page