Changes between Version 12 and Version 13 of UUID
- Timestamp:
- 08/31/12 18:24:35 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UUID
v12 v13 4 4 == General == 5 5 6 All records in Sahana Eden which are to be shared with other applications must have a universally unique identifier(UUID).6 All records in Sahana Eden which are to be shared with other applications must have a '''universally unique identifier''' (UUID). 7 7 8 8 In Sahana Eden, record UUIDs must be ASCII strings. 9 9 10 Eden automatically generates a UUIDfor each record according to the specifications in RFC4122:10 Eden automatically generates a '''UUID''' for each record according to the specifications in RFC4122: 11 11 12 12 http://www.faqs.org/rfcs/rfc4122.html 13 13 14 All record UUIDs generated by Sahana Eden are strings in URNnotation:14 All record UUIDs generated by Sahana Eden are strings in '''URN''' notation: 15 15 {{{ 16 16 urn:uuid:a46c1b3b-35c0-44c6-9142-bbe3a013039a 17 17 }}} 18 18 19 If a record is imported into Sahana Eden and it already has a UUID, then Eden will retain this UUID without syntax validation (no specific UUID schema is required). However, for consistency reasons, we recommend to use URNs. 19 If a record is imported into Sahana Eden and it already has a UUID, then Eden will retain this UUID as-is (exception: local domain prefix, see below) - without any syntax validation (i.e. no specific UUID schema is required). However, for consistency reasons, we recommend to use URNs. 20 21 Some data formats (e.g. PFIF) may require a '''domain prefix''' for a UUID, followed by a slash: 22 {{{ 23 sahanafoundation.org/urn:uuid:a46c1b3b-35c0-44c6-9142-bbe3a013039a 24 }}} 25 26 Where such a domain prefix is used and it matches the local domain of the importing Sahana instance, it will be removed during import. 20 27 == Implementation Guideline == 21 28