+xns/Negotiation
Data: Contract

+xns/Core/XNSObject
   |
   +--+xns/Negotiation/Contract


An agreement between two identities governing data access, data usage, and service entitlements. Each identity stores a copy of the contract. The Name attribute (inherited from XNSObject) of the independent contract object must contain the contents of ContractID.


 

Data Elements
+xns/Core/XMLDateTime BeginDate Effective date of the contract.
+xns/Core/XMLDateTime ContractDate Date the contract negotiation was completed.
String ContractID An identifier generated by the originator and used by messages to uniquely identify the contract.
+xns/Negotiation/ContractTerms ContractTerms Terms and conditions governing the contract.
+xns/Negotiation/ContractTypeEnum ContractType Identifier of the contract as an extension, subscription, distribution, or service contract.
+xns/Negotiation/DataAccessPermissionList DataAccessPermissions List of data access permissions agreed upon.
+xns/Negotiation/ContractDataSetList DataSet Container for the sets of data governed by the contract.
+xns/Core/XMLDateTime EndDate Date the contract is due to expire.
+xns/Core/XNSAddress Form Address of the form used as the template for this contract.
+xns/Core/DataID GroupID Address of the group whose members participate in this contract.
+xns/Negotiation/MessagePermissionList MessagePermissions List of message permissions agreed upon.
+xns/Core/IdentityAddress Originator Address of the identity originating the contract.
Boolean Pending Is this contract pending negotiation?
+xns/Negotiation/PrivacyPermissionList PrivacyPermissions List of data privacy permissions.
+xns/Core/IdentityAddress Provider Address of the identity providing the data or service.
+xns/Negotiation/SyncPermissionList SyncPermissions List of data synchronization permissions.
+xns/Core/IdentityID TerminatedBy Address of the identity that terminated the contract.
+xns/Core/XMLDateTime TerminationDate The date on which the contract was terminated.
 

Element Detail

BeginDate

Effective date of the contract.  

DataType: +xns/Core/XMLDateTime
 


ContractDate

Date the contract negotiation was completed.  

DataType: +xns/Core/XMLDateTime
 


ContractID

An identifier generated by the originator and used by messages to uniquely identify the contract.  

DataType: String
 


ContractTerms

Terms and conditions governing the contract.  

DataType: +xns/Negotiation/ContractTerms
 


ContractType

Identifier of the contract as an extension, subscription, distribution, or service contract.  

DataType: +xns/Negotiation/ContractTypeEnum
 


DataAccessPermissions

List of data access permissions agreed upon.  

DataType: +xns/Negotiation/DataAccessPermissionList
 

List: true
 


DataSet

Container for the sets of data governed by the contract. Data is not provided for service contracts.  

DataType: +xns/Negotiation/ContractDataSetList
 

List: true
 


EndDate

Date the contract is due to expire.  

DataType: +xns/Core/XMLDateTime
 


Form

Address of the form used as the template for this contract. This address must be a versioned address so that the identity entering the contract can always retrieve the form definition.  

DataType: +xns/Core/XNSAddress
 


GroupID

Address of the group whose members participate in this contract. If this is null, the contract does not apply to a group, but to the identity who owns this contract only.  

DataType: +xns/Core/DataID
 


MessagePermissions

List of message permissions agreed upon. Message permissions are provided only for service contracts.  

DataType: +xns/Negotiation/MessagePermissionList
 

List: true
 


Originator

Address of the identity originating the contract. This is the identity who creates the contract and sends it to the other identity in the +xns/Negotiation/NegotiateContract message.  

DataType: +xns/Core/IdentityAddress
 


Pending

Is this contract pending negotiation? If the identity(s) are not empowered to negotiate the contract, the contract will be set to Pending, awaiting manual approval. Once approved (via a +xns/Negotiation/ApproveContract message), the Pending flag will be turned off, and a +xns/Negotiation/ConfirmNegotiation message sent to the originator.  

DataType: Boolean
 


PrivacyPermissions

List of data privacy permissions. Because privacy permissions apply to data, privacy permissions are not provided for service contracts.  

DataType: +xns/Negotiation/PrivacyPermissionList
 

List: true
 


Provider

Address of the identity providing the data or service.  

DataType: +xns/Core/IdentityAddress
 


SyncPermissions

List of data synchronization permissions. Because synchronization applies to data, synchronization permissions are not provided for service contracts.  

DataType: +xns/Negotiation/SyncPermissionList
 

List: true
 


TerminatedBy

Address of the identity that terminated the contract.  

DataType: +xns/Core/IdentityID
 


TerminationDate

The date on which the contract was terminated. This will be set only on terminated (vs. expired) contracts.  

DataType: +xns/Core/XMLDateTime
 


Publishing Identity: +xns
© 2002 XNSORG
Last Updated: 07/09/2002