Network Working Group F. Thompson Internet-Draft Afilias Canada Intended status: Informational February 22, 2008 Expires: August 25, 2008 Extensible Supply-chain Discovery Service Schema draft-thompson-esds-schema-03 Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on August 25, 2008. Copyright Notice Copyright (C) The IETF Trust (2008). Thompson Expires August 25, 2008 [Page 1] Internet-Draft ESDS Schema February 2008 Abstract The Extensible Supply-chain Discovery Service (ESDS) is an application layer protocol for the distributed sharing and discovery of notification events between associated partners within a supply chain. This document outlines the schema of the ESDS application layer protocol. This is the formal syntax of the web service interface specification in Web Service Description Language (WSDL) and XML Schema (XSD). Comments are solicited and should be addressed to the mailing list at esds@ietf.org and/or the author(s). Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 2. Web Service Interface . . . . . . . . . . . . . . . . . . . . 5 2.1. Common Types . . . . . . . . . . . . . . . . . . . . . . 5 2.1.1. tAbstractEvent . . . . . . . . . . . . . . . . . . . 5 2.1.2. tAbstractIn . . . . . . . . . . . . . . . . . . . . . 5 2.1.3. tAbstractOut . . . . . . . . . . . . . . . . . . . . 5 2.1.4. tAccessMode . . . . . . . . . . . . . . . . . . . . . 6 2.1.5. tAccessType . . . . . . . . . . . . . . . . . . . . . 6 2.1.6. tESDSDocument . . . . . . . . . . . . . . . . . . . . 7 2.1.7. tEventAccessItemList . . . . . . . . . . . . . . . . 7 2.1.8. tEventAccessItem . . . . . . . . . . . . . . . . . . 7 2.1.9. tEventID . . . . . . . . . . . . . . . . . . . . . . 9 2.1.10. tEventItemList . . . . . . . . . . . . . . . . . . . 9 2.1.11. tEventItem . . . . . . . . . . . . . . . . . . . . . 10 2.1.12. tEventTypeChoice . . . . . . . . . . . . . . . . . . 12 2.1.13. tExtensionID . . . . . . . . . . . . . . . . . . . . 12 2.1.14. tExtensionItemList . . . . . . . . . . . . . . . . . 12 2.1.15. tExtensionItem . . . . . . . . . . . . . . . . . . . 13 2.1.16. tExtension . . . . . . . . . . . . . . . . . . . . . 13 2.1.17. tExternalAction . . . . . . . . . . . . . . . . . . . 13 2.1.18. tGrantItemList . . . . . . . . . . . . . . . . . . . 14 2.1.19. tGrantItem . . . . . . . . . . . . . . . . . . . . . 14 2.1.20. tLargeUID . . . . . . . . . . . . . . . . . . . . . . 15 2.1.21. tLeaseSeconds . . . . . . . . . . . . . . . . . . . . 15 2.1.22. tLifeCycleStepID . . . . . . . . . . . . . . . . . . 15 2.1.23. tLifeCycleStepItemList . . . . . . . . . . . . . . . 16 2.1.24. tLifeCycleStepItem . . . . . . . . . . . . . . . . . 16 2.1.25. tListAction . . . . . . . . . . . . . . . . . . . . . 17 2.1.26. tLoginCreds . . . . . . . . . . . . . . . . . . . . . 17 2.1.27. tMessageDigestAlgorithm . . . . . . . . . . . . . . . 18 2.1.28. tMessageDigestHexString . . . . . . . . . . . . . . . 18 2.1.29. tMessageDigest . . . . . . . . . . . . . . . . . . . 18 Thompson Expires August 25, 2008 [Page 2] Internet-Draft ESDS Schema February 2008 2.1.30. tMethod . . . . . . . . . . . . . . . . . . . . . . . 19 2.1.31. tObjectEvent . . . . . . . . . . . . . . . . . . . . 19 2.1.32. tObjectIDTypeID . . . . . . . . . . . . . . . . . . . 21 2.1.33. tObjectIDTypeItemList . . . . . . . . . . . . . . . . 21 2.1.34. tObjectIDTypeItem . . . . . . . . . . . . . . . . . . 21 2.1.35. tObjectID . . . . . . . . . . . . . . . . . . . . . . 22 2.1.36. tObject . . . . . . . . . . . . . . . . . . . . . . . 22 2.1.37. tPartnerID . . . . . . . . . . . . . . . . . . . . . 22 2.1.38. tPartnerItemList . . . . . . . . . . . . . . . . . . 23 2.1.39. tPartnerItem . . . . . . . . . . . . . . . . . . . . 23 2.1.40. tPassword . . . . . . . . . . . . . . . . . . . . . . 24 2.1.41. tPermission . . . . . . . . . . . . . . . . . . . . . 24 2.1.42. tResultCode . . . . . . . . . . . . . . . . . . . . . 25 2.1.43. tResult . . . . . . . . . . . . . . . . . . . . . . . 26 2.1.44. tRoleID . . . . . . . . . . . . . . . . . . . . . . . 27 2.1.45. tRoleItemList . . . . . . . . . . . . . . . . . . . . 27 2.1.46. tRoleItem . . . . . . . . . . . . . . . . . . . . . . 27 2.1.47. tServiceIDList . . . . . . . . . . . . . . . . . . . 28 2.1.48. tServiceID . . . . . . . . . . . . . . . . . . . . . 28 2.1.49. tServiceItemList . . . . . . . . . . . . . . . . . . 29 2.1.50. tServiceItem . . . . . . . . . . . . . . . . . . . . 29 2.1.51. tServiceType . . . . . . . . . . . . . . . . . . . . 30 2.1.52. tServiceURI . . . . . . . . . . . . . . . . . . . . . 30 2.1.53. tSessionID . . . . . . . . . . . . . . . . . . . . . 31 2.1.54. tSmallUID . . . . . . . . . . . . . . . . . . . . . . 31 2.1.55. tStatus . . . . . . . . . . . . . . . . . . . . . . . 31 2.1.56. tSupplyChainID . . . . . . . . . . . . . . . . . . . 31 2.1.57. tSupplyChainItemList . . . . . . . . . . . . . . . . 32 2.1.58. tSupplyChainItem . . . . . . . . . . . . . . . . . . 32 2.1.59. tTableID . . . . . . . . . . . . . . . . . . . . . . 33 2.1.60. tTableRowItemList . . . . . . . . . . . . . . . . . . 33 2.1.61. tTableRowItem . . . . . . . . . . . . . . . . . . . . 34 2.1.62. tUserID . . . . . . . . . . . . . . . . . . . . . . . 34 2.1.63. tUserItemList . . . . . . . . . . . . . . . . . . . . 35 2.1.64. tUserItem . . . . . . . . . . . . . . . . . . . . . . 35 2.1.65. tVoided . . . . . . . . . . . . . . . . . . . . . . . 36 3. Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . . 37 3.1. ESDS WSDL . . . . . . . . . . . . . . . . . . . . . . . . 37 3.2. ESDS Schema . . . . . . . . . . . . . . . . . . . . . . . 56 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 99 5. Security Considerations . . . . . . . . . . . . . . . . . . . 100 6. Informative References . . . . . . . . . . . . . . . . . . . 101 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 102 Intellectual Property and Copyright Statements . . . . . . . . . 103 Thompson Expires August 25, 2008 [Page 3] Internet-Draft ESDS Schema February 2008 1. Introduction This document outlines the schema for the Extensible Supply-chain Discovery Service (ESDS). The schema is specified using Web Service Description Language (WSDL) and XML Schema (XSD). Extensible Supply- chain Discovery Service Concepts [draft-young-esds-concepts] introduces the ESDS and provides conceptual information about the protocol. For details and examples of the operation interface of the ESDS protocol, see Extensible Supply-chain Discovery Service Commands [draft-thompson-esds-commands]. Comments are solicited and should be addressed to the working group's mailing list at esds@ietf.org and/or the author(s). Thompson Expires August 25, 2008 [Page 4] Internet-Draft ESDS Schema February 2008 2. Web Service Interface The ESDS protocol is defined as a Web Service [WSI] defined by both WSDL [WSDL] (Web Service Description Language) and XSD (XML Schema) [XSD] files. 2.1. Common Types 2.1.1. tAbstractEvent o Description: event base type o Elements: * + Desc: user defined extension, allows well formed XML extensions to the base protocol + Type: tExtension + Use: optional, but no more than 1 occurrence 2.1.2. tAbstractIn o Description: base inbound parameters o Elements: * + Desc: user defined extension, allows well formed XML extensions to the base protocol + Type: tExtension + Use: optional, but no more than 1 occurrence 2.1.3. tAbstractOut o Description: base outbound parameters Thompson Expires August 25, 2008 [Page 5] Internet-Draft ESDS Schema February 2008 o Elements: * + Desc: result structure common for each response + Type: tResult + Use: required * + Desc: user defined extension, allows well formed XML extensions to the base protocol + Type: tExtension + Use: optional, but no more than 1 occurrence 2.1.4. tAccessMode o Description: access mode enumeration o Type: xs:token o Enumerated Values: * read: read access * write: write access 2.1.5. tAccessType o Description: access type enumeration o Type: xs:token o Enumerated Values: * allow: allow access * deny: deny access Thompson Expires August 25, 2008 [Page 6] Internet-Draft ESDS Schema February 2008 2.1.6. tESDSDocument o Description: ESDS document o Elements: * + Desc: esds soap document body + Type: tESDSBody + Use: required 2.1.7. tEventAccessItemList o Description: event access item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tEventAccessItem + Use: zero or more occurrences 2.1.8. tEventAccessItem o Description: event access item Thompson Expires August 25, 2008 [Page 7] Internet-Draft ESDS Schema February 2008 o Attributes: * "accessType" + Desc: access type to restrict event access + Type: tAccessType + Use: required * "supplyChainID" + Desc: supply chain identifier to restrict event access + Type: tSupplyChainID + Use: required * "partnerID" + Desc: partner identifier to restrict event access + Type: tPartnerID + Use: required * "userID" + Desc: user identifier to restrict event access + Type: tUserID + Use: optional * "objectID" + Desc: object identifier to restrict event access + Type: tObjectID + Use: optional * "lifeCycleStepID" + Desc: life cycle step identifier to restrict event access + Type: tLifeCycleStepID Thompson Expires August 25, 2008 [Page 8] Internet-Draft ESDS Schema February 2008 + Use: optional * "startingAt" + Desc: starting date range to restrict event access + Type: xs:dateTime + Use: optional * "endingAt" + Desc: ending date range to restrict event access + Type: xs:dateTime + Use: optional 2.1.9. tEventID o Description: event identifier o Type: xs:string o Len: (0 - 19) characters o Pattern: [0-9]* 2.1.10. tEventItemList o Description: event item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional Thompson Expires August 25, 2008 [Page 9] Internet-Draft ESDS Schema February 2008 o Elements: * + Desc: an entry in a list of items + Type: tEventItem + Use: zero or more occurrences 2.1.11. tEventItem o Description: event item o Attributes: * "e" + Desc: event identifier + Type: tEventID + Use: required * "o" + Desc: object identifier + Type: tObjectID + Use: required * "lcs" + Desc: life cycle step identifier + Type: tLifeCycleStepID + Use: required * "ets" + Desc: event timestamp + Type: xs:dateTime Thompson Expires August 25, 2008 [Page 10] Internet-Draft ESDS Schema February 2008 + Use: required * "sts" + Desc: source timestamp + Type: xs:dateTime + Use: required * "u" + Desc: user identifier + Type: tUserID + Use: required * "p" + Desc: partner identifier + Type: tPartnerID + Use: required * "sc" + Desc: supply chain identifier + Type: tSupplyChainID + Use: required * "v_by" + Desc: voided by user identifier + Type: tUserID + Use: optional * "v_on" + Desc: voided on timestamp + Type: xs:dateTime Thompson Expires August 25, 2008 [Page 11] Internet-Draft ESDS Schema February 2008 + Use: optional o Elements: * + Desc: list of services + Type: tServiceItemList + Use: required 2.1.12. tEventTypeChoice o Description: event type choice o Elements: * + Desc: object event + Type: tObjectEvent + Use: required 2.1.13. tExtensionID o Description: user defined extension identifier o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.14. tExtensionItemList o Description: user defined extension item list o Attributes: Thompson Expires August 25, 2008 [Page 12] Internet-Draft ESDS Schema February 2008 * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tExtensionItem + Use: zero or more occurrences 2.1.15. tExtensionItem o Description: user defined extension item o Attributes: * "oid" + Desc: extension identifier + Type: tExtensionID + Use: required 2.1.16. tExtension o Description: user defined extension 2.1.17. tExternalAction o Description: external action o Type: xs:token Thompson Expires August 25, 2008 [Page 13] Internet-Draft ESDS Schema February 2008 o Enumerated Values: * none: no external action * update: update external action * delete: delete external action 2.1.18. tGrantItemList o Description: grant item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tGrantItem + Use: zero or more occurrences 2.1.19. tGrantItem o Description: grant item o Attributes: * "o" + Desc: object + Type: tObject Thompson Expires August 25, 2008 [Page 14] Internet-Draft ESDS Schema February 2008 + Use: required * "m" + Desc: method + Type: tMethod + Use: required * "p" + Desc: permission + Type: tPermission + Use: required 2.1.20. tLargeUID o Description: large unique identifier o Type: xs:string o Len: (0 - 19) characters o Pattern: [0-9]* 2.1.21. tLeaseSeconds o Description: lease seconds o Type: xs:int 2.1.22. tLifeCycleStepID o Description: life cycle step identifer o Type: xs:string o Len: (0 - 128) characters Thompson Expires August 25, 2008 [Page 15] Internet-Draft ESDS Schema February 2008 o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.23. tLifeCycleStepItemList o Description: life cycle step item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tLifeCycleStepItem + Use: zero or more occurrences 2.1.24. tLifeCycleStepItem o Description: life cycle step item o Attributes: * "oid" + Desc: life cycle step identifier + Type: tLifeCycleStepID + Use: required * "action" + Desc: add Thompson Expires August 25, 2008 [Page 16] Internet-Draft ESDS Schema February 2008 + Type: tExternalAction + Use: required 2.1.25. tListAction o Description: list action o Type: xs:token o Enumerated Values: * add: add list action * remove: remove list action * replace: remove list action 2.1.26. tLoginCreds o Description: login credentials o Attributes: * "userID" + Desc: user identifier + Type: tUserID + Use: required * "password" + Desc: password + Type: tPassword + Use: required Thompson Expires August 25, 2008 [Page 17] Internet-Draft ESDS Schema February 2008 2.1.27. tMessageDigestAlgorithm o Description: message digest algorithm o Type: xs:token o Enumerated Values: * md5: md5 message digest algorithm * md4: md4 message digest algorithm * md2: md2 message digest algorithm * sha1: sha message digest algorithm * sha: sha1 message digest algorithm * mdc2: mdc2 message digest algorithm * ripemd160: ripemd160 message digest algorithm 2.1.28. tMessageDigestHexString o Description: message digest hexadecimal string o Type: xs:string o Len: (0 - 512) characters o Pattern: [0-9a-fA-F]* 2.1.29. tMessageDigest o Description: message digest o Attributes: * "alg" + Desc: message digest algorithm Thompson Expires August 25, 2008 [Page 18] Internet-Draft ESDS Schema February 2008 + Type: tMessageDigestAlgorithm + Use: required o Elements: * + Desc: base64 encode message digest value + Type: tMessageDigestHexString + Use: required 2.1.30. tMethod o Description: method enumeration o Type: xs:token o Enumerated Values: * hello: hello method * login: login method * logout: logout method * create: create method * update: update method * delete: delete method * info: info method * lookup: lookup method 2.1.31. tObjectEvent o Description: object identifer based event o Elements: Thompson Expires August 25, 2008 [Page 19] Internet-Draft ESDS Schema February 2008 * + Desc: user defined extension, allows well formed XML extensions to the base protocol + Type: tExtension + Use: optional, but no more than 1 occurrence * + Desc: object identifier + Type: tObjectID + Use: required * + Desc: life cycle step identifier + Type: tLifeCycleStepID + Use: required * + Desc: client source system timestamp in UTC + Type: xs:dateTime + Use: required * + Desc: list of service reference identifiers + Type: tServiceIDList + Use: optional, but no more than 1 occurrence * + Desc: message digest, used to validate event has not been tampered with + Type: tMessageDigest Thompson Expires August 25, 2008 [Page 20] Internet-Draft ESDS Schema February 2008 + Use: optional, but no more than 1 occurrence 2.1.32. tObjectIDTypeID o Description: object identifier type identifier o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.33. tObjectIDTypeItemList o Description: object identifier type item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tObjectIDTypeItem + Use: zero or more occurrences 2.1.34. tObjectIDTypeItem o Description: object identifier type item o Attributes: Thompson Expires August 25, 2008 [Page 21] Internet-Draft ESDS Schema February 2008 * "oid" + Desc: object id type identifier + Type: tObjectIDTypeID + Use: required 2.1.35. tObjectID o Description: object identifier o Type: xs:string o Len: (0 - 255) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.36. tObject o Description: object enumeration o Type: xs:token o Enumerated Values: * global: global object * role: role object * user: user object * partner: partner object * supplychain: supply chain object * event: event object 2.1.37. tPartnerID o Description: partner identifier Thompson Expires August 25, 2008 [Page 22] Internet-Draft ESDS Schema February 2008 o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.38. tPartnerItemList o Description: partner item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tPartnerItem + Use: zero or more occurrences 2.1.39. tPartnerItem o Description: partner item o Attributes: * "oid" + Desc: partner identifier + Type: tPartnerID + Use: required Thompson Expires August 25, 2008 [Page 23] Internet-Draft ESDS Schema February 2008 * "uid" + Desc: partner unique identifier + Type: tSmallUID + Use: optional * "status" + Desc: status + Type: tStatus + Use: optional 2.1.40. tPassword o Description: password o Type: xs:string o Len: (6 - 16) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.41. tPermission o Description: permission enumeration o Type: xs:token o Enumerated Values: * execute: execute permission * proxy: proxy permission * admin: admin permission Thompson Expires August 25, 2008 [Page 24] Internet-Draft ESDS Schema February 2008 2.1.42. tResultCode o Description: result code enumeraion o Type: xs:int o Enumerated Values: * 1000: COMMAND_COMPLETED_SUCCESSFULLY * 1001: COMMAND_COMPLETED_SUCCESSFULLY_ACTION_PENDING * 1500: COMMAND_COMPLETED_SUCCESSFULLY_ENDING_SESSION * 2000: UNKNOWN_COMMAND * 2001: COMMAND_SYNTAX_ERROR * 2002: COMMAND_USE_ERROR * 2003: REQUIRED_PARAMETER_MISSING * 2004: PARAMETER_VALUE_RANGE_ERROR * 2005: PARAMETER_VALUE_SYNTAX_ERROR * 2100: UNIMPLEMENTED_PROTOCOL_VERSION * 2101: UNIMPLEMENTED_COMMAND * 2102: UNIMPLEMENTED_OPTION * 2103: UNIMPLEMENTED_EXTENSION * 2104: BILLING_FAILURE * 2200: AUTHENTICATION_ERROR * 2201: AUTHORIZATION_ERROR * 2202: INVALID_AUTHORIZATION_INFORMATION * 2302: OBJECT_EXISTS * 2303: OBJECT_DOES_NOT_EXIST Thompson Expires August 25, 2008 [Page 25] Internet-Draft ESDS Schema February 2008 * 2304: OBJECT_STATUS_PROHIBITS_OPERATION * 2305: OBJECT_ASSOCIATION_PROHIBITS_OPERATION * 2306: PARAMETER_VALUE_POLICY_ERROR * 2307: UNIMPLEMENTED_OBJECT_SERVICE * 2308: DATA_MANAGEMENT_POLICY_VIOLATION * 2400: COMMAND_FAILED * 2500: COMMAND_FAILED_SERVER_CLOSING_CONNECTION * 2501: AUTHENTICATION_ERROR_SERVER_CLOSING_CONNECTION * 2502: SESSION_LIMIT_EXCEEDED_SERVER_CLOSING_CONNECTION 2.1.43. tResult o Description: result o Attributes: * "code" + Desc: result code + Type: tResultCode + Use: required * "desc" + Desc: result description + Type: xs:string + Use: required o Elements: * + Desc: result value associated to the result code Thompson Expires August 25, 2008 [Page 26] Internet-Draft ESDS Schema February 2008 + Type: xs:string + Use: optional, but no more than 1 occurrence 2.1.44. tRoleID o Description: role identifier o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.45. tRoleItemList o Description: role item list o Elements: * + Desc: an entry in a list of items + Type: tRoleItem + Use: zero or more occurrences 2.1.46. tRoleItem o Description: role item o Attributes: * "oid" + Desc: role identifier + Type: tRoleID + Use: required Thompson Expires August 25, 2008 [Page 27] Internet-Draft ESDS Schema February 2008 * "uid" + Desc: role unique identifier + Type: tSmallUID + Use: optional * "status" + Desc: status + Type: tStatus + Use: optional 2.1.47. tServiceIDList o Description: external service identifier list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tServiceID + Use: zero or more occurrences 2.1.48. tServiceID o Description: external service identifier Thompson Expires August 25, 2008 [Page 28] Internet-Draft ESDS Schema February 2008 o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.49. tServiceItemList o Description: external service item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tServiceItem + Use: zero or more occurrences 2.1.50. tServiceItem o Description: external service item o Attributes: * "oid" + Desc: service referral identifier + Type: tServiceID + Use: required Thompson Expires August 25, 2008 [Page 29] Internet-Draft ESDS Schema February 2008 * "type" + Desc: service referral type + Type: tServiceType + Use: required * "uri" + Desc: service referral uri + Type: tServiceURI + Use: required 2.1.51. tServiceType o Description: service type enumeration o Type: xs:token o Enumerated Values: * ws: Web Service - service type * epcis: EPCIS - service type * html: HTML - service type * xmlrpc: XMLRPC - service type * ds: Discovery Service - service type 2.1.52. tServiceURI o Description: external service uniform resource identifier o Type: xs:anyURI Thompson Expires August 25, 2008 [Page 30] Internet-Draft ESDS Schema February 2008 2.1.53. tSessionID o Description: session identifier o Type: xs:string o Len: (32) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.54. tSmallUID o Description: small unique identifier o Type: xs:int 2.1.55. tStatus o Description: status enumeration o Type: xs:token o Enumerated Values: * active: active status * inactive: inactive status 2.1.56. tSupplyChainID o Description: supply chain identifier o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* Thompson Expires August 25, 2008 [Page 31] Internet-Draft ESDS Schema February 2008 2.1.57. tSupplyChainItemList o Description: supply chain item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tSupplyChainItem + Use: zero or more occurrences 2.1.58. tSupplyChainItem o Description: supply chain item o Attributes: * "oid" + Desc: supply chain identifier + Type: tSupplyChainID + Use: required * "uid" + Desc: supply chain unique identifier + Type: tSmallUID Thompson Expires August 25, 2008 [Page 32] Internet-Draft ESDS Schema February 2008 + Use: optional * "status" + Desc: status + Type: tStatus + Use: optional 2.1.59. tTableID o Description: table identifier o Type: xs:string o Len: (2 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* 2.1.60. tTableRowItemList o Description: table row item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tTableRowItem + Use: zero or more occurrences Thompson Expires August 25, 2008 [Page 33] Internet-Draft ESDS Schema February 2008 2.1.61. tTableRowItem o Description: table row item o Attributes: * "uid" + Desc: table row unique identifier + Type: tSmallUID + Use: required * "oid" + Desc: table row identifier + Type: xs:string + Use: required * "desc" + Desc: table row description + Type: xs:string + Use: required 2.1.62. tUserID o Description: user identifier o Type: xs:string o Len: (0 - 128) characters o Pattern: [a-zA-Z0-9_\-\@\:\.]* Thompson Expires August 25, 2008 [Page 34] Internet-Draft ESDS Schema February 2008 2.1.63. tUserItemList o Description: user item list o Attributes: * "action" + Desc: action to perform with list + Type: tListAction + Use: optional o Elements: * + Desc: an entry in a list of items + Type: tUserItem + Use: zero or more occurrences 2.1.64. tUserItem o Description: user item o Attributes: * "oid" + Desc: user identifier + Type: tUserID + Use: required * "uid" + Desc: user unique identifier + Type: tSmallUID Thompson Expires August 25, 2008 [Page 35] Internet-Draft ESDS Schema February 2008 + Use: optional * "status" + Desc: status + Type: tStatus + Use: optional 2.1.65. tVoided o Description: voided details o Attributes: * "by" + Desc: voided by user identifier + Type: tUserID + Use: required * "on" + Desc: voided on timestamp + Type: xs:dateTime + Use: required Thompson Expires August 25, 2008 [Page 36] Internet-Draft ESDS Schema February 2008 3. Formal Syntax ESDS is specified in XML WSDL [WSDL] and supporting XML Schema [XSD] notation. The formal syntax presented here is a complete WSDL and dependent schema for use in validation and implementation development. The BEGIN and END tags are not part of the schema; they are used to note the beginning and ending of the schema for URI registration purposes. 3.1. ESDS WSDL BEGIN Thompson Expires August 25, 2008 [Page 37] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 39] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 40] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 41] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 43] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 44] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 46] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 47] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 49] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 50] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 51] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 52] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 53] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 54] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 55] Internet-Draft ESDS Schema February 2008 END 3.2. ESDS Schema BEGIN Thompson Expires August 25, 2008 [Page 56] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 57] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 58] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 59] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 60] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 61] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 62] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 64] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 65] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 67] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 69] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 70] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 72] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 73] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 74] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 75] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 76] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 77] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 80] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 82] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 84] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 85] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 87] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 88] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 89] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 90] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 91] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 92] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 94] Internet-Draft ESDS Schema February 2008 Thompson Expires August 25, 2008 [Page 97] Internet-Draft ESDS Schema February 2008 END Thompson Expires August 25, 2008 [Page 98] Internet-Draft ESDS Schema February 2008 4. IANA Considerations This document has no actions for IANA. Thompson Expires August 25, 2008 [Page 99] Internet-Draft ESDS Schema February 2008 5. Security Considerations This RFC raises no security issues. Security considerations related to the ESDS interface operations can be found in Extensible Supply- chain Discovery Service Commands [draft-thompson-esds-commands]. Thompson Expires August 25, 2008 [Page 100] Internet-Draft ESDS Schema February 2008 6. Informative References [WSDL] Christensen, E., Curbera, F., Meredith, G., and S. Weerawarana, "Web Services Description Language (WSDL) 1.1", March 2001. [WSI] Ballinger, K., Ehnebuske, D., Gudgin, M., Nottingham, M., and P. Yendluri, "Basic Profile Version 1.0", April 2004. [XSD] Thompson, H., Beech, D., Maloney, M., and N. Mendelsohn, "XML Schema Part 1: Structures Second Edition", October 2004. [draft-thompson-esds-commands] Thompson, F., "Extensible Supply-chain Discovery Service Commands (work in progress)", February 2008. [draft-young-esds-concepts] Young, M., "Extensible Supply-chain Discovery Service Concepts (work in progress)", April 2008. Thompson Expires August 25, 2008 [Page 101] Internet-Draft ESDS Schema February 2008 Author's Address Frank Thompson Afilias Canada 204-4141 Yonge Street Toronto, ON M2P 2A8 CA Phone: +1.416.646.3304 Email: fot@ca.afilias.info Thompson Expires August 25, 2008 [Page 102] Internet-Draft ESDS Schema February 2008 Full Copyright Statement Copyright (C) The IETF Trust (2008). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intellectual Property The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Acknowledgment Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA). Thompson Expires August 25, 2008 [Page 103]