From: Mary T. <mak...@us...> - 2011-06-16 15:06:34
|
Update of /cvsroot/cfidev/core/schema In directory vz-cvs-2.sog:/tmp/cvs-serv23682 Modified Files: obj.xsd Log Message: obj.xsd - aexLT namespace added - aexLt:lt="0" attribute added to obj:Object previousVersion attribute - aexLt:lt="0" attributes added to any custom elements, as these are not to be included in LT schema - documentation update Index: obj.xsd =================================================================== RCS file: /cvsroot/cfidev/core/schema/obj.xsd,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** obj.xsd 29 Jul 2010 21:07:41 -0000 1.20 --- obj.xsd 16 Jun 2011 15:06:32 -0000 1.21 *************** *** 1 **** ! <?xml version="1.0" encoding="utf-8"?> <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Rurik Turton (Alar Engineering Software Inc.) --> <!-- See "cfiXML Process Document.doc" on schema development based on W3C consortium process. --> <!-- C O P Y R I G H T N O T I C E "Portions Copyright (C) 2001-2004 AIChE-DIPPR, All Rights Reserved. "Portions Copyright (C) 2004-2010 Alar Engineering Software, All Rights Reserved. "Portions Copyright (C) 2001-2004 ePlantData, Inc. All Rights Reserved. "Portions Copyright (C) 2002-2010 FIATECH, All Rights Reserved. This file contains Original Code and/or Modifications of Original Code (the "Contents") as defined in and that are subject to the DIPPR Public Source License Version 1.0, the ePlantData Public Source License Version 1.0, Alar Engineering Software License Version 1.0 and the FIATECH Public Source License Version 1.0. Copies of these licenses are available at http://www.cfixml.org. You may only use the Contents according to the terms and conditions in these Licenses. The Contents are distributed for use on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. --> <xsd:schema xmlns="http://www.cfixml.org/obj" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ctx="http://www.cfixml.org/ctx" xmlns:etl="http://www.cfixml.org/etl" xmlns:ext="http://www.cfixml.org/ext" xmlns:objb="http://www.cfixml.org/objb" xmlns:pq="http://www.cfixml.org/pq" targetNamespace="http://www.cfixml.org/obj" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.00.0000"> <xsd:import namespace="http://www.cfixml.org/ext" schemaLocation="ext.xsd"/> <xsd:import namespace="http://www.cfixml.org/objb" schemaLocation="objb.xsd"/> <xsd:import namespace="http://www.cfixml.org/ctx" schemaLocation="ctx.xsd"/> <xsd:annotation> <xsd:documentation> cfiXML Schema Title: Engineering Objects. $Revision$ $Modtime: 3/31/04 2:24p $ $Author$, Alar Eng Software Inc, Purpose: Provide common features for all engineering data throughout the cfiXML and provide a base for collections. $NoKeywords: $ </xsd:documentation> </xsd:annotation> <!-- *********************************************************************************************** --> <!-- Objects --> <!-- *********************************************************************************************** --> <!-- --> <xsd:element name="object" type="Object"> <xsd:annotation> <xsd:documentation>object (element)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:complexType name="Object" id="Object"> <xsd:annotation> <xsd:documentation>cfiXML object base type with engineering meta-data.</xsd:documentation> <xsd:appinfo> <appShortName>Object</appShortName> <appLongName>Object base type with meta data.</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexContent> <xsd:extension base="objb:BaseObject"> <xsd:sequence> <xsd:element ref="comment" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="function" type="ext:String" id="func" minOccurs="0"> <xsd:annotation> <xsd:documentation>Function or purpose of the object.</xsd:documentation> <xsd:appinfo> <appShortName>Function</appShortName> <appLongName>Function</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="generatingSoftware" minOccurs="0"> <xsd:annotation> <xsd:documentation>software information for the software that generated the object</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="name" type="ext:String" id="genSw" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Software</appShortName> <appLongName>Generation software, name</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="supplier" type="ext:String" id="genSwCo" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>S/w co.</appShortName> <appLongName>Generation software, company</appLongName> </xsd:appinfo> <xsd:documentation>Supplier organization (string only)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="run" minOccurs="0"> <xsd:annotation> <xsd:documentation>Run details</xsd:documentation> <xsd:appinfo> <appShortName>Run</appShortName> <appLongName>Run</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="case" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Case description or name</xsd:documentation> <xsd:appinfo> <appShortName>Case</appShortName> <appLongName>Case</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="message" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Run message</xsd:documentation> <xsd:appinfo> <appShortName>Message</appShortName> <appLongName>Message</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="problem" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Problem description or name</xsd:documentation> <xsd:appinfo> <appShortName>Problem</appShortName> <appLongName>Problem</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="status" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Status</xsd:documentation> <xsd:appinfo> <appShortName>Status</appShortName> <appLongName>Status</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="result" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Result</xsd:documentation> <xsd:appinfo> <appShortName>Result</appShortName> <appLongName>Result</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customRun" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="servicePack" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Service pack name</xsd:documentation> <xsd:appinfo> <appShortName>Service pack</appShortName> <appLongName>Service pack</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="version" type="ext:String" id="genSwVer" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Version</appShortName> <appLongName>Generation software, version</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customGeneratingSoftware" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element ref="lifeCycleStage" minOccurs="0"/> <xsd:element name="previousVersion" type="Object" minOccurs="0"/> <xsd:element name="remark" type="ext:String" id="remarks" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>User notes, annotations or remarks about the object or changes to the object.</xsd:documentation> <xsd:appinfo> <appShortName>Remarks</appShortName> <appLongName>Remarks</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="status" type="ext:String" id="status" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Status</appShortName> <appLongName>Status</appLongName> </xsd:appinfo> <xsd:documentation>User supplied status of object, string. The values of this status element are not constrainted in any way by cfiXML.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element ref="transaction" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>Transaction table for the object.</xsd:documentation> <xsd:appinfo> <appShortName>Transxn</appShortName> <appLongName>Transaction history</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customObject" type="ext:Custom" id="customObject" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Custom</appShortName> <appLongName>Custom Object data</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- Transaction --> <xsd:element name="transaction" type="Transaction"/> <xsd:complexType name="Transaction" id="Transaction"> <xsd:annotation> <xsd:appinfo> <appShortName>Transaction</appShortName> <appLongName>Transaction</appLongName> </xsd:appinfo> <xsd:documentation>Transaction</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="completedBy" type="ctx:EOrganizationRole" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Completed by</appShortName> <appLongName>Completed by</appLongName> </xsd:appinfo> <xsd:documentation>The role of the person who is completing this transaction and is responsible for any changes and this version of the object.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="dateTime" type="ext:DateTime" id="dateTime" minOccurs="0"> <xsd:annotation> <xsd:documentation>Date/time when transaction is completed.</xsd:documentation> <xsd:appinfo> <appShortName>Date/Time</appShortName> <appLongName>Date and Time</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="order" type="ext:Base1IndexAtt"> <xsd:annotation> <xsd:documentation>Transaction order as a consecutive number starting from 1.</xsd:documentation> <xsd:appinfo> <appShortName>Transaction Order</appShortName> <appLongName>Transaction Order</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element ref="ctx:person" id="person" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Person</appShortName> <appLongName>Person making transaction</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="remark" type="ext:String" id="TransactionRemarks" minOccurs="0"> <xsd:annotation> <xsd:documentation>Remarks about the transaction itself, such as why the object was created. NOT for general comments, feedback or other information on the object.</xsd:documentation> <xsd:appinfo> <appShortName>Remarks</appShortName> <appLongName>Remarks (about transaction)</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="revision" type="ext:String" id="transactionRev" minOccurs="0"> <xsd:annotation> <xsd:documentation>User supplied revision string. The values of this element are not constrained in any way by cfiXML.</xsd:documentation> <xsd:appinfo> <appShortName>Revision</appShortName> <appLongName>Revision data</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element ref="transactionType"> <xsd:annotation> <xsd:appinfo> <appShortName>Transaction Type</appShortName> <appLongName>Transaction Type</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="version" type="ext:CRCVersion" minOccurs="0"> <xsd:annotation> <xsd:documentation>Unique identifier of the specific version of the object associated with the transaction</xsd:documentation> <xsd:appinfo> <appShortName>Version</appShortName> <appLongName>Version</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="versionIndex" type="ext:Base1Index" minOccurs="0"> <xsd:annotation> <xsd:documentation>Version index as a consecutive number starting from 1.</xsd:documentation> <xsd:appinfo> <appShortName>Version index</appShortName> <appLongName>Version index</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:element name="comment" type="TextObject"> <xsd:annotation> <xsd:documentation>User comments that correspond to the commentReference attribute that can be associated with any data item in the schema. (See base attribute group in ext.)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="note" type="TextObject"/> <xsd:element name="textObject" type="TextObject"/> <xsd:complexType name="TextObject" id="TextObject"> <xsd:annotation> <xsd:documentation>Referenceable and change controlled text object.</xsd:documentation> <xsd:appinfo> <appShortName>Text obj</appShortName> <appLongName>Text object</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexContent> <xsd:extension base="Object"> <xsd:sequence> <xsd:element name="text" type="ext:String" id="text" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:appinfo> <appShortName>Text</appShortName> <appLongName>Text</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- --> <!-- *********************************************************************************************** --> <!-- Object support enumeration types --> <!-- *********************************************************************************************** --> <!-- --> <xsd:simpleType name="ELifeCycleStage" id="ELifeCycleStage"> <xsd:annotation> <xsd:documentation>The stage in the plant life cycle of the object.</xsd:documentation> <xsd:appinfo> <appShortName>Life Cycle Status</appShortName> <appLongName>Life Cycle Status</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Commissioning"/> <xsd:enumeration value="Construction"/> <xsd:enumeration value="Construction and precommissioning"/> <xsd:enumeration value="Decommissioning"/> <xsd:enumeration value="Detailed design"/> <xsd:enumeration value="Feasibility"/> <xsd:enumeration value="Front End Engineering Design (FEED)"/> <xsd:enumeration value="Operation and maintenance"/> <xsd:enumeration value="Precommissioning"/> <xsd:enumeration value="Procurement"/> <xsd:enumeration value="Upgrading"/> <xsd:enumeration value="Nil"/> <xsd:enumeration value="custom"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="lifeCycleStage"> <xsd:annotation> <xsd:documentation>The stage in the plant life cycle of the object.</xsd:documentation> <xsd:appinfo> <appShortName>Life Cycle Stage</appShortName> <appLongName>Life Cycle Stage</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="ELifeCycleStage"> <xsd:attributeGroup ref="ext:BaseEnumerationAttributeGroup"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <!-- Transaction type enumeration - Types of transaction. --> <xsd:simpleType name="ETransactionType" id="ETransactionType"> <xsd:annotation> <xsd:documentation>Type of transaction (e.g. Created, Modified, Issued)</xsd:documentation> <xsd:appinfo> <appShortName>Transaction type</appShortName> <appLongName>Transaction type</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Approved"/> <xsd:enumeration value="Archived"/> <xsd:enumeration value="Checked"/> <xsd:enumeration value="Created"/> <xsd:enumeration value="Deleted"/> <xsd:enumeration value="Issued"/> <xsd:enumeration value="Modified"/> <xsd:enumeration value="Modified copy"/> <xsd:enumeration value="New revision"/> <xsd:enumeration value="Ownership changed"/> <xsd:enumeration value="Published"/> <xsd:enumeration value="Nil"/> <xsd:enumeration value="custom"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="transactionType"> <xsd:annotation> <xsd:documentation>Type of transaction (e.g. Created, Modified, Issued)</xsd:documentation> <xsd:appinfo> <appShortName>Transaction type</appShortName> <appLongName>Transaction type</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="ETransactionType"> <xsd:attributeGroup ref="ext:BaseEnumerationAttributeGroup"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <!-- --> </xsd:schema> \ No newline at end of file --- 1,397 ---- ! <?xml version="1.0" encoding="utf-8"?> ! <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Rurik Turton (Alar Engineering Software Inc.) --> ! <!-- See "cfiXML Process Document.doc" on schema development based on W3C consortium process. --> ! <!-- C O P Y R I G H T N O T I C E "Portions Copyright (C) 2001-2004 AIChE-DIPPR, All Rights Reserved. "Portions Copyright (C) 2004-2011 Alar Engineering Software, All Rights Reserved. "Portions Copyright (C) 2001-2004 ePlantData, Inc. All Rights Reserved. "Portions Copyright (C) 2002-2011 FIATECH, All Rights Reserved. This file contains Original Code and/or Modifications of Original Code (the "Contents") as defined in and that are subject to the DIPPR Public Source License Version 1.0, the ePlantData Public Source License Version 1.0, Alar Engineering Software License Version 1.0 and the FIATECH Public Source License Version 1.0. Copies of these licenses are available at http://www.cfixml.org. You may only use the Contents according to the terms and conditions in these Licenses. The Contents are distributed for use on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. --> ! <xsd:schema xmlns="http://www.cfixml.org/obj" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ctx="http://www.cfixml.org/ctx" xmlns:etl="http://www.cfixml.org/etl" xmlns:ext="http://www.cfixml.org/ext" xmlns:objb="http://www.cfixml.org/objb" xmlns:pq="http://www.cfixml.org/pq" targetNamespace="http://www.cfixml.org/obj" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.00.0000" xmlns:aexLt="http://www.cfixml.org/aexLt"> ! <xsd:import namespace="http://www.cfixml.org/ext" schemaLocation="ext.xsd" /> ! <xsd:import namespace="http://www.cfixml.org/objb" schemaLocation="objb.xsd" /> ! <xsd:import namespace="http://www.cfixml.org/ctx" schemaLocation="ctx.xsd" /> ! <xsd:annotation> ! <xsd:documentation> cfiXML Schema Title: Engineering Objects. $Revision$ $Date$ ! $Modtime: 3/31/04 2:24p $ $Author$, Alar Eng Software Inc, Purpose: Provide common features for all engineering data throughout the cfiXML and provide a base for collections. $NoKeywords: $ </xsd:documentation> ! </xsd:annotation> ! <!-- *********************************************************************************************** --> ! <!-- Objects --> ! <!-- *********************************************************************************************** --> ! <!-- --> ! <xsd:element name="object" type="Object"> ! <xsd:annotation> ! <xsd:documentation>object (element)</xsd:documentation> ! </xsd:annotation> ! </xsd:element> ! <xsd:complexType name="Object" id="Object"> ! <xsd:annotation> ! <xsd:documentation>cfiXML object base type with engineering meta-data.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Object</appShortName> ! <appLongName>Object base type with meta data.</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:complexContent> ! <xsd:extension base="objb:BaseObject"> ! <xsd:sequence> ! <xsd:element ref="comment" minOccurs="0" maxOccurs="unbounded" /> ! <xsd:element name="function" type="ext:String" id="func" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Function or purpose of the object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Function</appShortName> ! <appLongName>Function</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="generatingSoftware" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>software information for the software that generated the object</xsd:documentation> ! </xsd:annotation> ! <xsd:complexType> ! <xsd:sequence> ! <xsd:element name="name" type="ext:String" id="genSw" minOccurs="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Software</appShortName> ! <appLongName>Generation software, name</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="supplier" type="ext:String" id="genSwCo" minOccurs="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>S/w co.</appShortName> ! <appLongName>Generation software, company</appLongName> ! </xsd:appinfo> ! <xsd:documentation>Supplier organization (string only)</xsd:documentation> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="run" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Run details</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Run</appShortName> ! <appLongName>Run</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:complexType> ! <xsd:sequence> ! <xsd:element name="case" type="ext:String" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Case description or name</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Case</appShortName> ! <appLongName>Case</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="message" type="ext:String" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Run message</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Message</appShortName> ! <appLongName>Message</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="problem" type="ext:String" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Problem description or name</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Problem</appShortName> ! <appLongName>Problem</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="status" type="ext:String" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Status</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Status</appShortName> ! <appLongName>Status</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="result" type="ext:String" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Result</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Result</appShortName> ! <appLongName>Result</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="customRun" type="ext:Custom" minOccurs="0" aexLt:lt="0" /> ! </xsd:sequence> ! </xsd:complexType> ! </xsd:element> ! <xsd:element name="servicePack" type="ext:String" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Service pack name</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Service pack</appShortName> ! <appLongName>Service pack</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="version" type="ext:String" id="genSwVer" minOccurs="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Version</appShortName> ! <appLongName>Generation software, version</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="customGeneratingSoftware" type="ext:Custom" minOccurs="0" aexLt:lt="0" /> ! </xsd:sequence> ! </xsd:complexType> ! </xsd:element> ! <xsd:element ref="lifeCycleStage" minOccurs="0" /> ! <xsd:element name="previousVersion" type="Object" minOccurs="0" aexLt:lt="0" /> ! <xsd:element name="remark" type="ext:String" id="remarks" minOccurs="0" maxOccurs="unbounded"> ! <xsd:annotation> ! <xsd:documentation>User notes, annotations or remarks about the object or changes to the object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Remarks</appShortName> ! <appLongName>Remarks</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="status" type="ext:String" id="status" minOccurs="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Status</appShortName> ! <appLongName>Status</appLongName> ! </xsd:appinfo> ! <xsd:documentation>User supplied status of object, string. The values of this status element are not constrainted in any way by cfiXML.</xsd:documentation> ! </xsd:annotation> ! </xsd:element> ! <xsd:element ref="transaction" minOccurs="0" maxOccurs="unbounded"> ! <xsd:annotation> ! <xsd:documentation>Transaction table for the object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Transxn</appShortName> ! <appLongName>Transaction history</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="customObject" type="ext:Custom" id="customObject" minOccurs="0" aexLt:lt="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Custom</appShortName> ! <appLongName>Custom Object data</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! </xsd:sequence> ! </xsd:extension> ! </xsd:complexContent> ! </xsd:complexType> ! <!-- Transaction --> ! <xsd:element name="transaction" type="Transaction" /> ! <xsd:complexType name="Transaction" id="Transaction"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Transaction</appShortName> ! <appLongName>Transaction</appLongName> ! </xsd:appinfo> ! <xsd:documentation>Transaction</xsd:documentation> ! </xsd:annotation> ! <xsd:sequence> ! <xsd:element name="completedBy" type="ctx:EOrganizationRole" minOccurs="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Completed by</appShortName> ! <appLongName>Completed by</appLongName> ! </xsd:appinfo> ! <xsd:documentation>The role of the person who is completing this transaction and is responsible for any changes and this version of the object.</xsd:documentation> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="dateTime" type="ext:DateTime" id="dateTime" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Date/time when transaction is completed.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Date/Time</appShortName> ! <appLongName>Date and Time</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="order" type="ext:Base1IndexAtt"> ! <xsd:annotation> ! <xsd:documentation>Transaction order as a consecutive number starting from 1.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Transaction Order</appShortName> ! <appLongName>Transaction Order</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element ref="ctx:person" id="person" minOccurs="0"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Person</appShortName> ! <appLongName>Person making transaction</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="remark" type="ext:String" id="TransactionRemarks" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Remarks about the transaction itself, such as why the object was created. NOT for general comments, feedback or other information on the object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Remarks</appShortName> ! <appLongName>Remarks (about transaction)</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="revision" type="ext:String" id="transactionRev" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>User supplied revision string. The values of this element are not constrained in any way by cfiXML.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Revision</appShortName> ! <appLongName>Revision data</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element ref="transactionType"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Transaction Type</appShortName> ! <appLongName>Transaction Type</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="version" type="ext:CRCVersion" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Unique identifier of the specific version of the object associated with the transaction</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Version</appShortName> ! <appLongName>Version</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="versionIndex" type="ext:Base1Index" minOccurs="0"> ! <xsd:annotation> ! <xsd:documentation>Version index as a consecutive number starting from 1.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Version index</appShortName> ! <appLongName>Version index</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! </xsd:sequence> ! </xsd:complexType> ! <!-- --> ! <xsd:element name="comment" type="TextObject"> ! <xsd:annotation> ! <xsd:documentation>User comments that correspond to the commentReference attribute that can be associated with any data item in the schema. (See base attribute group in ext.)</xsd:documentation> ! </xsd:annotation> ! </xsd:element> ! <xsd:element name="note" type="TextObject" /> ! <xsd:element name="textObject" type="TextObject" /> ! <xsd:complexType name="TextObject" id="TextObject"> ! <xsd:annotation> ! <xsd:documentation>Referenceable and change controlled text object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Text obj</appShortName> ! <appLongName>Text object</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:complexContent> ! <xsd:extension base="Object"> ! <xsd:sequence> ! <xsd:element name="text" type="ext:String" id="text" minOccurs="0" maxOccurs="unbounded"> ! <xsd:annotation> ! <xsd:appinfo> ! <appShortName>Text</appShortName> ! <appLongName>Text</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! </xsd:element> ! </xsd:sequence> ! </xsd:extension> ! </xsd:complexContent> ! </xsd:complexType> ! <!-- --> ! <!-- *********************************************************************************************** --> ! <!-- Object support enumeration types --> ! <!-- *********************************************************************************************** --> ! <!-- --> ! <xsd:simpleType name="ELifeCycleStage" id="ELifeCycleStage"> ! <xsd:annotation> ! <xsd:documentation>The stage in the plant life cycle of the object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Life Cycle Status</appShortName> ! <appLongName>Life Cycle Status</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:restriction base="xsd:string"> ! <xsd:enumeration value="Commissioning" /> ! <xsd:enumeration value="Construction" /> ! <xsd:enumeration value="Construction and precommissioning" /> ! <xsd:enumeration value="Decommissioning" /> ! <xsd:enumeration value="Detailed design" /> ! <xsd:enumeration value="Feasibility" /> ! <xsd:enumeration value="Front End Engineering Design (FEED)" /> ! <xsd:enumeration value="Operation and maintenance" /> ! <xsd:enumeration value="Precommissioning" /> ! <xsd:enumeration value="Procurement" /> ! <xsd:enumeration value="Upgrading" /> ! <xsd:enumeration value="Nil" /> ! <xsd:enumeration value="custom" /> ! </xsd:restriction> ! </xsd:simpleType> ! <xsd:element name="lifeCycleStage"> ! <xsd:annotation> ! <xsd:documentation>The stage in the plant life cycle of the object.</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Life Cycle Stage</appShortName> ! <appLongName>Life Cycle Stage</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:complexType> ! <xsd:simpleContent> ! <xsd:extension base="ELifeCycleStage"> ! <xsd:attributeGroup ref="ext:BaseEnumerationAttributeGroup" /> ! </xsd:extension> ! </xsd:simpleContent> ! </xsd:complexType> ! </xsd:element> ! <!-- Transaction type enumeration - Types of transaction. --> ! <xsd:simpleType name="ETransactionType" id="ETransactionType"> ! <xsd:annotation> ! <xsd:documentation>Type of transaction (e.g. Created, Modified, Issued)</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Transaction type</appShortName> ! <appLongName>Transaction type</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:restriction base="xsd:string"> ! <xsd:enumeration value="Approved" /> ! <xsd:enumeration value="Archived" /> ! <xsd:enumeration value="Checked" /> ! <xsd:enumeration value="Created" /> ! <xsd:enumeration value="Deleted" /> ! <xsd:enumeration value="Issued" /> ! <xsd:enumeration value="Modified" /> ! <xsd:enumeration value="Modified copy" /> ! <xsd:enumeration value="New revision" /> ! <xsd:enumeration value="Ownership changed" /> ! <xsd:enumeration value="Published" /> ! <xsd:enumeration value="Nil" /> ! <xsd:enumeration value="custom" /> ! </xsd:restriction> ! </xsd:simpleType> ! <xsd:element name="transactionType"> ! <xsd:annotation> ! <xsd:documentation>Type of transaction (e.g. Created, Modified, Issued)</xsd:documentation> ! <xsd:appinfo> ! <appShortName>Transaction type</appShortName> ! <appLongName>Transaction type</appLongName> ! </xsd:appinfo> ! </xsd:annotation> ! <xsd:complexType> ! <xsd:simpleContent> ! <xsd:extension base="ETransactionType"> ! <xsd:attributeGroup ref="ext:BaseEnumerationAttributeGroup" /> ! </xsd:extension> ! </xsd:simpleContent> ! </xsd:complexType> ! </xsd:element> ! <!-- --> ! </xsd:schema> \ No newline at end of file |