Person
항목을 사용하여 사람에 대한 정보를 정의합니다. 이 사람은 보고 단위의 후보자, 선거 공무원 또는 기관일 수 있습니다. ElectionReport
요소에는 이 피드의 전체 Person
객체 집합을 포함하는 PersonCollection
가 포함되어 있습니다. 이러한 Person
객체는 Candidate
및 GpUnit
에서 참조됩니다. PersonCollection
에는 연락처 정보를 연결하는 ContactInformation
(선택사항)가 포함됩니다.
특성
다음 표에서는 Person
요소의 속성을 설명합니다.
속성 | 필수 여부 | 유형 | 설명 |
---|---|---|---|
objectId |
필수 | ID |
다른 요소에서 이 요소를 참조하는 데 사용하는 고유한 내부 식별자입니다. |
요소
다음 표에서는 Person
의 요소를 설명합니다.
요소 | 다중성 | 유형 | 설명 |
---|---|---|---|
ContactInformation |
0개 이상 | ContactInformation |
연락처 정보를 사용자와 연결합니다. 여기에는 사람의 이미지를 포함한다면 URI에 |
DateOfBirth
|
0 또는 1 | PartialDate |
개인의 생년월일입니다. |
ExternalIdentifiers |
1 | ExternalIdentifiers |
ID를 사용자와 연결합니다. 안정적인 식별자가 필요합니다. |
FirstName |
0 또는 1 | string |
사용자의 이름 |
FullName |
1 | InternationalizedText |
사람의 성명입니다. 여러 언어로 된 전체 이름을 처리하는 방법에 대한 자세한 내용은 현지 언어 콘텐츠를 참고하세요. |
Gender |
0 또는 1 | string |
사용자의 성별입니다.
|
LastName |
0 또는 1 | string |
구성원의 성입니다. |
MiddleName |
0개 이상 | string |
사람의 중간 이름입니다. |
Nickname |
0 또는 1 | string |
일반적으로 알려진 별칭이 있는 경우 사람과 연결된 닉네임입니다. |
PartyId |
1 | IDREF |
Party 요소의 고유 식별자입니다. 정당을 사용자와 연결합니다. 이 사용자가 연결된 Party 의 objectId 를 제공합니다. |
Prefix |
0 또는 1 | string |
사람과 연결된 프리픽스(예: Mr. 또는 Dr.) |
Profession |
0 또는 1 | InternationalizedText |
사용자의 직업 |
Suffix |
0 또는 1 | string |
사람과 연결된 접미사(예: Jr.) |
Title |
0 또는 1 | InternationalizedText |
사람과 연결된 직책입니다. |
예
XML
<Person objectId="P12321"> <ContactInformation> <Uri Annotation="candidate-image">https://example.come/candidates/ayron-silva.jpg</Uri> <Uri Annotation="official-facebook">https://fb.com/ayronsilvasample/</Uri> <Uri Annotation="official-instagram">https://www.instagram.com/ayron_silva_sample/</Uri> <Uri Annotation="official-twitter">https://twitter.com/ayronsilvasample</Uri> <Uri Annotation="official-website">https://ayron-silva-sample.com/</Uri> <Uri Annotation="official-youtube">https://www.youtube.com/user/ayron831/featured</Uri> <Uri Annotation="wikipedia">https://en.wikipedia.org/wiki/Ayron-Silva-Sample</Uri> <Uri Annotation="wikipedia">https://zh.wikipedia.org/zh/%E8%94%A1%E8%8B%B1%E6%96%87</Uri> <Uri Annotation="campaign">https://ayronsilvacampaign.com</Uri> </ContactInformation> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>stable-pers-P12321</Value> </ExternalIdentifier> </ExternalIdentifiers> <FullName> <Text language="pt">Ayrton Silva</Text> <Text language="en">Ayrton Silva</Text> <Text language="hi">एर्टन सेना</Text> <Text language="ja">アイルトン・シルバ</Text> </FullName> <DateOfBirth>1960-01-01</DateOfBirth> <Gender>M</Gender> <LastName>Silva</LastName> <PartyId>par-dpp</PartyId> </Person>
JSON
"Person": [ { "objectId": "P12321", "ContactInformation": { "Uri": [ "Annotation": "candidate-image" "value": "https://example.come/candidates/ayron-silva.jpg" ], "Uri": [ "Annotation": "official-facebook" "value": "https://fb.com/ayronsilvasample/" ] "Uri": [ "Annotation": "official-instagram" "value": "https://www.instagram.com/ayron_silva_sample" ] "Uri": [ "Annotation": "official-twitter" "value": "https://twitter.com/ayronsilvasample" ] "Uri": [ "Annotation": "official-website" "value": "https://ayron-silva-sample.com/" ] "Uri": [ "Annotation": "official-youtube" "value": "https://www.youtube.com/user/ayron831/featured" ] "Uri": [ "Annotation": "wikipedia" "value": "https://en.wikipedia.org/wiki/Ayron-Silva-Sample" ] "Uri": [ "Annotation": "wikipedia" "value": "https://zh.wikipedia.org/zh/%E8%94%A1%E8%8B%B1%E6%96%87" ], "Uri": [ "Annotation": "campaign" "value": "https://ayronsilvacampaign.com" ] } "ExternalIdentifiers": { "ExternalIdentifier" : [ { "Type": "other", "OtherType": "stable", "Value": "stable-pers-P12321" } ] } "FullName": { "Text": [ { "value": "Ayrton Silva", "language": "pt" }, { "value": "Ayrton Silva", "language": "en" }, { "value": "एर्टन सेना", "language": "hi" }, { "value": "アイルトン・シルバ", "language": "ja" } ] }, "DateOfBirth": "1960-01-01", "Gender": "M", "LastName": "Silva" "PartyId": "par-dpp" } ]