<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Bryan Thompson (private) -->
<!-- 

	The official URI for the current version of this document is:

     	http://www.cognitiveweb.org/xml/BusinessObjectTypeService.dtd

	An annotated version of this DTD may be found at:
       
		http://wiki.cognitiveweb.org/CognitiveWeb/BusinessObjectSpecification


     Copyright (c) 2002-2003 by Bryan Thompson, All rights reserved.

       
-->
<!-- XML entity declarations. -->
<!ENTITY % a_ID "id
              ID
              #IMPLIED
           ">
<!ENTITY % a_IDREF "idref
              IDREF
              #IMPLIED
           ">
<!ENTITY % a_xmlns "xmlns
              CDATA
              #FIXED
              'http://www.cognitiveweb.org/xml/BusinessObjectTypeService.dtd'
           ">
<!ENTITY % a_xmlbase "xml:base
             CDATA
             #IMPLIED
           ">
<!ENTITY % a_xlink "xmlns:xlink
              CDATA
              #FIXED
              'http://www.w3.org/1999/xlink'
           xlink:type
              NMTOKEN
              #FIXED
              'simple'
            xlink:href
              CDATA
              #REQUIRED
           ">
<!ENTITY % a_resource_representation "%a_ID;
            %a_xmlns;
            %a_xmlbase;
           ">
<!ENTITY % a_resource_container_representation "%a_ID;
            %a_xmlns;
            %a_xmlbase;
           ">
<!ENTITY % a_container_resource_representation_reference "%a_IDREF;
            %a_xlink;
           ">
<!ENTITY % boolean "(	true
		  |	false
		 )
           ">
<!-- These are the core data types.  Examine the requirements closely before expanding this set, e.g., to
	   include { uri, date, float, decimal }. -->
<!ENTITY % datatype "(	int
		  |	string
		  |	boolean
		 )
		">
<!-- Element declarations.  -->
<!ELEMENT resource-graph (identity-ref*, (business-object-type-ref)*)>
<!ELEMENT business-object-type-ref EMPTY>
<!ELEMENT business-object-type (identity-ref*, parent-ref?, property-specs)*>
<!ELEMENT identity-ref EMPTY>
<!ELEMENT parent-ref EMPTY>
<!ELEMENT property-specs (property-spec)*>
<!ELEMENT property-spec (#PCDATA)>
<!-- Declarations of attributes for elements that represent resource containers. -->
<!ATTLIST resource-graph
	%a_resource_container_representation; 
>
<!-- Declarations of attributes for elements that represent resources that are not also resource containers. -->
<!ATTLIST business-object-type
	%a_resource_representation; 
>
<!-- XLink attribute declarations. -->
<!ATTLIST identity-ref
	%a_xlink; 
>
<!ATTLIST business-object-ref
	%a_xlink; 
>
<!ATTLIST business-object-type-ref
	%a_xlink; 
>
<!ATTLIST parent-ref
	%a_xlink; 
>
<!-- Other attribute declarations. -->
<!ATTLIST property-spec
	name NMTOKEN #REQUIRED
	required %boolean; #REQUIRED
	datatype %datatype; #REQUIRED
	xpath CDATA #REQUIRED
>

