EDGE/Evaluations

From GiftEconomy
< EDGE(Redirected from EDGE/evaluation)
Jump to: navigation, search

Example[edit]

Example of formatting as XML

Fields[edit]

The data items contain the following fields:

  • #ID: URI - A unique identifier for this data item.
  • #TO: URI - The subject of this data item.
  • #FROM: URI - The author of this data item.
  • #DATE: ISO Format Date - A (possibly empty) chunk of XML to explain the item.
  • #DESC: XML - A (possibly empty) chunk of XML to explain the item.
  • #VALUE(S): A (possibly empty) set of evaluations, of form (N,U) where:
    1.       N: Real - An amount
    2.       U: URI - An identifier to specify the units

ID[edit]

This is a globally unique handle so that software can unambiguously refer to the item, not intended to be exposed to the user.

TO[edit]

This is a way of uniquely identifying the recipient of the item. It will generally be an email address, i.e. mailto:<emailaddress>. Use of a web address such as https://example.com or http://facebook.com/example might be possible, but this complicates the matter of Transport.

FROM[edit]

This is a way of uniquely identifying who created this data item. It will probably be an email (mailto:fishy@example.net) but might conceivably be another sort of URI such as a web-address, http(s)://example.com/user/fishy.

DATE[edit]

This records the date, time and timezone when the evaluation was dispatched.

DESC[edit]

This is a description of the evaluation in XML. It could be anywhere from an empty text string to a webpage containing incline graphic data pluss accompanying machine readable stuff. The proptotype is being developed with this as a couple of lines of XHTML.

VALUE(S)[edit]

These items are pairs of values of the format (Amount, Units). The amount is a real number, and the units is a URI to indicate the units specified. For example, http://gifteconomy.org/ns/USD can be used to refer to the money issued by the Federal Reserve. This can be anything at all, such as nights of accomadation, mangoes, KWHours etc. but the format is always a URI (to be established by convention, semantic-web style). Users may include multiple value pairs.