Last commit for SmartEventSchema.xsd: fd3c05d9f5a63a4df09a2503a29f680f600c630d

various pre-demo tweaks

png3 [2001-06-02 19:35:33]
various pre-demo tweaks
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schema>
  3. <annotation>
  4. <documentation>
  5. Preliminary SmartEvent Schema
  6. Copyright 2001 Trustees of Columbia University
  7. in the City of New York. All rights reserved.
  8. </documentation>
  9. </annotation>
  10.  
  11. <!-- This type is used to identify a node participating in the system.
  12. it's used for both source and target nodes -->
  13. <element name="smartevent">
  14. <complexType>
  15. <sequence>
  16. <!-- Basic metadata for an event. The combination of source and tag
  17. should uniquely identify an event. -->
  18. <element name="metadata">
  19. <!-- anonymous type -->
  20. <complexType>
  21. <sequence>
  22. <!-- sequential identifier -->
  23. <element name="tag" type="positiveInteger"/>
  24. <element name="source">
  25. <complexType>
  26. <sequence>
  27. <element name="ipAddr" type="string"/>
  28. <element name="ipPort" type="integer"/>
  29. <!-- Optional label: name, instance-id, etc. -->
  30. <element name="identifier" type="string" minOccurs="0"/>
  31. </sequence>
  32. </complexType>
  33. </element>
  34.  
  35. <element name="dest" minOccurs="0">
  36. <complexType>
  37. <sequence>
  38. <element name="ipAddr" type="string"/>
  39. <element name="ipPort" type="integer"/>
  40. <!-- Optional label: name, instance-id, etc. -->
  41. <element name="identifier" type="string" minOccurs="0"/>
  42. </sequence>
  43. </complexType>
  44. </element>
  45.  
  46. <!-- UTC timestamp -->
  47. <element name="time" type="string"/>
  48. <!-- tells KX system not to attempt to parse/distill XML -->
  49. <element name="kxOpaque" type="boolean" minOccurs="0"/>
  50. <!-- optional identifying info, e.g. probe name -->
  51. <element name="label" type="string" minOccurs="0"/>
  52. <!-- miscellaneous comment, passed through by the packager -->
  53. <element name="comment" type="string" minOccurs="0"/>
  54.  
  55. </sequence>
  56. </complexType>
  57. </element>
  58.  
  59. <!-- Indication that this is the position where
  60. schema fragments for the payload should be
  61. inserted. See PSL FleXML documentation regarding
  62. the semantics of FleXML hints.-->
  63. <?FleXML type="schemaSubst"?>
  64.  
  65. </sequence>
  66. </complexType>
  67. </element>
  68.  
  69. </schema>