gender-formats: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(add PoCo)
Line 17: Line 17:


=== OpenSocial ===
=== OpenSocial ===
First included in [http://wiki.opensocial.org/index.php?title=Opensocial.Enum_(v0.8)#opensocial.Enum.Gender.MALE OpenSocial 0.7 as an ENUM], which is a string fiels that has some predefined values. current spec text in [http://opensocial-resources.googlecode.com/svn/spec/1.1/Social-Data.xml OpenSocial 1.1] is:
First included in [http://wiki.opensocial.org/index.php?title=Opensocial.Enum_(v0.8)#opensocial.Enum.Gender.MALE OpenSocial 0.7 as an ENUM], which is a string field that has some predefined values. current spec text in [http://opensocial-resources.googlecode.com/svn/spec/1.1/Social-Data.xml OpenSocial 1.1] is:
<blockquote>The gender of this person. Service Providers SHOULD return one of the following Canonical Values, if appropriate:male, female, or undisclosed, and MAY return a different value if it is not covered by one of these Canonical Values.</blockquote>
<blockquote>The gender of this person. Service Providers SHOULD return one of the following Canonical Values, if appropriate:male, female, or undisclosed, and MAY return a different value if it is not covered by one of these Canonical Values.</blockquote>



Revision as of 07:05, 25 July 2011

gender formats

This page lists existing format(s) which represent gender in their schema.

specs

OpenID sreg

vCard

Some vCards seem to contain an X-GENDER property. This is in line with RFC 2426 which allows applications to define their own properties, prefixed with "X-". class="x-gender" has been implemented in Cognition.

Microsoft vCard

  • vcard_name Property. Gender seems to be supported in Internet Explorer; vCard.Gender is Gender mapped to the vCard.Gender schema.

FOAF

OpenSocial

First included in OpenSocial 0.7 as an ENUM, which is a string field that has some predefined values. current spec text in OpenSocial 1.1 is:

The gender of this person. Service Providers SHOULD return one of the following Canonical Values, if appropriate:male, female, or undisclosed, and MAY return a different value if it is not covered by one of these Canonical Values.

Portable Contacts

Same as OpenSocial, in the current 'C' spec:

The gender of this contact. Service Providers SHOULD return one of the following Canonical Values, if appropriate: male, female, or undisclosed, and MAY return a different value if it is not covered by one of these Canonical Values.

see also