URL of this specification:
http://zesty.ca/pfif/1.2
FAQ, examples, and other information on PFIF:
http://zesty.ca/pfif
Editor:
Ka-Ping Yee <pingzesty
ca>
This document is licensed under the GNU Free Documentation License 1.2.
This specification describes PFIF 1.2 in terms of changes from PFIF 1.1. A future document will contain a complete stand-alone specification of PFIF 1.2.
PFIF 1.2 is identical to PFIF 1.1 apart from the changes given below.
String fields are no longer constrained to capitals only, and may contain non-ASCII characters. All PFIF processors must support UTF-8.
Person records gain four new fields, all of which are optional:
female
, male
, or other
.
If the sex is unknown, omit this field.US
when exporting records
whose home_state field refers to a U. S. state,
or whose home_zip field contains a U. S. zip code.
The home_state field is explicitly international in PFIF 1.2. It identifies a principal subdivision of the home country using an uppercase ISO 3166-2 code.
The home_zip field is renamed to home_postal_code. Upgraded PFIF 1.1 repositories should export their existing home_zip values in the home_postal_code field.
Note records gain three new fields, all of which are optional:
information_sought
is_note_author
believed_alive
believed_missing
believed_dead
When a user marks two person records as duplicates, a note record should be added for both person records, each containing a linked_person_record_id field that points at the other record. These two note records should specify the author_name of the party that is marking duplicates, and should include a message in the text field justifying how they were determined to be duplicates.
The XML namespace for PFIF 1.2 is:
The XML Schema for PFIF 1.2 is located at:
To turn any valid PFIF 1.1 document into a valid PFIF 1.2 document, the following steps are sufficient:
1.1
with 1.2
in the XML namespace URL.home_zip
tags
with home_postal_code
tags.home_country
tags
for records whose home country is known.In addition, PFIF 1.2 relaxes some of the requirements of PFIF 1.1.
Unlike PFIF 1.1, PFIF 1.2 allows
note
elements at the top level,
outside of person
elements.
A valid PFIF document consists of a single
pfif
element containing
one or more person
or note
elements.
When a note
element occurs
outside of a person
element,
the note
must contain
a person_record_id.
Otherwise the person_record_id field
is optional,
and if present, must match the
person_record_id field of the enclosing
person
.
Within a person
element,
the required person_record_id
must appear first, and any note
elements
must appear last.
Within a note
element,
the note_record_id
must appear first,
followed by the person_record_id
if present.
Unlike PFIF 1.1, PFIF 1.2 allows the remaining fields to appear in any order.
In PFIF 1.2,
each entry in an Atom person feed or RSS person feed contains
a single pfif:person
element.
There is no enclosing pfif:pfif
element.
In PFIF 1.2,
each entry in an Atom note feed or RSS note feed contains
a single pfif:note
element.
There is no enclosing pfif:pfif
element
or pfif:person
element.