Record Version Values for the following fields MAY be provided by the application; if not, the specified default values MUST be used: Creator Id. The default value is the Peer ID. Last Modified By ID. The default value is the Peer ID. Any field provided by the application MUST be ignored by the protocol. The record MUST then be validated with the following The Record Type MUST NOT be in the reserved range. For more details, see section 2.2.1.9. The Autorefresh flag MUST NOT be set. The record size MUST be less than the Max Record Size. For more details, see section . If Attributes are provided, they MUST conform to the attribute syntax (see section ). MUST be later than the current Expiration Time Peer Time. If the above record validation fails for any reason, then the record MUST NOT be processed further and an error MUST be returned to the application. The fields of the records MUST be initialized as described in section 2.2.1.9. If a Security Provider is configured it MUST be called to secure the record. For more details, see section . The record MUST then be published. For more details, see section . Application Updates a Record When the application requests that a be updated, it MUST provide the following information: the for an existing record to be modified. Record ID: The Peer-to-Peer Graphing Protocol MUST construct a new record using that field value. In addition, the application MAY provide values to replace the existing values in any or all of the following record fields. Otherwise, the existing field values MUST be preserved. Attributes Record Data Expiration Time New values for the following fields MAY be provided by the application. If not provided, default values MUST be used as specified below: Last Modified By ID. The default is the Peer ID. Any other field provided by the application MUST be ignored by the protocol. Record construction MUST then be completed as follows: The value of the of the existing record MUST be incremented by 1. Record Version If the application has provided new attributes, the value of the Attribute field of the existing record MUST be replaced with the data provided.
Record Version Values for the following fields MAY be provided by the application; if not, the specified default values MUST be used: Creator Id. The default value is the Peer ID. Last Modified By ID. The default value is the Peer ID. Any field provided by the application MUST be ignored by the protocol. The record MUST then be validated with the following The Record Type MUST NOT be in the reserved range. For more details, see section 2.2.1.9. The Autorefresh flag MUST NOT be set. The record size MUST be less than the Max Record Size. For more details, see section . If Attributes are provided, they MUST conform to the attribute syntax (see section ). Expiration Time MUST be later than the current Peer Time. If the above record validation fails for any reason, then the record MUST NOT be processed further and an error MUST be returned to the application. The fields of the records MUST be initialized as described in section 2.2.1.9. If a Security Provider is configured it MUST be called to secure the record. For more details, see section . The record MUST then be published. For more details, see section . Application Updates a Record When the application requests that a be updated, it MUST provide the following information: Record ID: the for an existing record to be modified. The Peer-to-Peer Graphing Protocol MUST construct a new record using that field value. In addition, the application MAY provide values to replace the existing values in any or all of the following record fields. Otherwise, the existing field values MUST be preserved. Attributes Record Data Expiration Time New values for the following fields MAY be provided by the application. If not provided, default values MUST be used as specified below: Last Modified By ID. The default is the Peer ID. Any other field provided by the application MUST be ignored by the protocol. Record construction MUST then be completed as follows: The value of the Record Version of the existing record MUST be incremented by 1. If the application has provided new attributes, the value of the Attribute field of the existing record MUST be replaced with the data provided.