--- title: Contact --- This entity represents a contact state with another person. ## Properties | Property | Type | Description | | ----------- | ---------------------------- | --------------------------------------------------- | | `author` | [diaspora\* ID][diaspora-id] | The diaspora\* ID of the sender of the contact. | | `recipient` | [diaspora\* ID][diaspora-id] | The diaspora\* ID of the recipient. | | `following` | [Boolean][boolean] | `true` if the author is following the recipient. | | `sharing` | [Boolean][boolean] | `true` if the author is sharing with the recipient. | ## Example ~~~xml alice@example.org bob@example.com true true ~~~ [diaspora-id]: {{ site.baseurl }}/federation/types.html#diaspora-id [boolean]: {{ site.baseurl }}/federation/types.html#boolean