<schema>
  <name>general</name>
  <desc>General Information</desc>

  <attrib>
    <name>accesslevel</name>
    <desc>AccessLevel</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>accesslevel</fact>
    <choice> <value>Buddy</value> <text>Buddy</text> </choice>
    <choice> <value>Public</value> <text>Public</text> </choice>
  </attrib>

  <attrib>
    <name>AvatarName</name>
    <desc>Avatar Name</desc>
    <type>string</type>
    <access>public</access>
    <listing> <name>AvatarName</name> <searchable></searchable> </listing>
    <calc> <name>AvPro</name> <kind>AvatarName</kind> </calc>
  </attrib>

  <attrib>
    <name>AvatarGender</name>
    <desc>Avatar Gender</desc>
    <type>string</type>
    <access>public</access>
    <listing> <name>AvatarGender</name> <searchable></searchable> </listing>
    <calc> <name>AvPro</name> <kind>Gender</kind> </calc>
  </attrib>

  <attrib>
    <name>MemberSince</name>
    <desc>Member Since</desc>
    <type>string</type>
    <access>public</access>
    <listing> <name>MemberSince</name> <searchable></searchable> </listing>
    <calc> <name>AvPro</name> <kind>CreationDate</kind> </calc>
  </attrib>

  <attrib>
    <name>avpicurl</name>
    <desc>Avatar Photo Url</desc>
    <type>string</type>
    <access>public</access>
    <isimageurl>1</isimageurl>
    <choice> <value>http://wwwin/images/New_In_There_logo.gif</value> </choice>
  </attrib>

  <attrib>
    <name>avpiclbl</name>
    <desc>Avatar Photo Caption</desc>
    <type>string</type>
    <access>public</access>
    <choice> <value>A Photo Caption</value> </choice>
  </attrib>

  <attrib>
    <name>bio</name>
    <desc>Bio</desc>
    <type>string</type>
    <access>public</access>
    <fact>bio</fact>
    <listing> <name>bio</name> <searchable></searchable> </listing>
    <choice> <value>This is a simple, short bio</value> </choice>
    <choice> <value>This is another simple, short bio</value> </choice>
    <choice> <value>Bio bio bio</value> </choice>
  </attrib>

  <attrib>
    <name>myurl</name>
    <desc>Personal Web Site Url</desc>
    <type>string</type>
    <access>public</access>
    <fact>myurl</fact>
    <choice> <value>www.salon.com</value> </choice>
    <choice> <value>www.abcnews.com</value> </choice>
    <choice> <value>www.cnn.com</value> </choice>
  </attrib>

  <attrib>
    <name>mypicurl</name>
    <desc>Personal Photo Url</desc>
    <type>string</type>
    <access>public</access>
    <isimageurl>1</isimageurl>
    <fact>mypicurl</fact>
    <choice> <value>http://wwwin/images/New_In_There_logo.gif</value> </choice>
  </attrib>

  <attrib>
    <name>mypiclbl</name>
    <desc>Personal Photo Caption</desc>
    <type>string</type>
    <access>public</access>
    <fact>mypiclbl</fact>
    <choice> <value>A Photo Caption</value> </choice>
  </attrib>

  <attrib>
    <name>age</name>
    <desc>Age</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>age</fact>
    <listing> <name>Age</name> </listing>
    <choice> <value>18to21</value> <text>18 - 21</text> </choice>
    <choice> <value>21to29</value> <text>21 - 29</text> </choice>
    <choice> <value>30to39</value> <text>30 - 39</text> </choice>
    <choice> <value>40to49</value> <text>40 - 49</text> </choice>
    <choice> <value>50plus</value> <text>50 +</text> </choice>
  </attrib>

  <attrib>
    <name>gender</name>
    <desc>Gender</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>gender</fact>
    <choice> <value>Male</value> <text>Male</text> </choice>
    <choice> <value>Female</value> <text>Female</text> </choice>
  </attrib>

  <attrib>
    <name>country</name>
    <desc>Country</desc>
    <type>string</type>
    <access>public</access>
    <fact>location</fact>
    <listing> <name>country</name> <searchable></searchable> </listing>
    <choice> <value>USA</value> </choice>
    <choice> <value>France</value> </choice>
    <choice> <value>Greece</value> </choice>
  </attrib>

  <attrib>
    <name>state</name>
    <desc>State</desc>
    <type>string</type>
    <access>public</access>
    <fact>location</fact>
    <listing> <name>state</name> <searchable></searchable> </listing>
    <choice> <value>California</value> </choice>
    <choice> <value>Nebraska</value> </choice>
  </attrib>

  <attrib>
    <name>area</name>
    <desc>Area</desc>
    <type>string</type>
    <access>public</access>
    <fact>location</fact>
    <listing> <name>area</name> <searchable></searchable> </listing>
    <choice> <value>Bay Area</value> </choice>
    <choice> <value>Dubuque</value> </choice>
  </attrib>

  <attrib>
    <name>passions</name>
    <desc>Passions</desc>
    <type>string</type>
    <access>public</access>
    <fact>passions</fact>
    <listing> <name>passions</name> <searchable></searchable> </listing>
    <choice> <value>fishing</value> </choice>
    <choice> <value>writing</value> </choice>
  </attrib>

  <attrib>
    <name>enable-matching</name>
    <desc>Enable Matching</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>enable-matching</fact>
    <choice> <value>yes</value> </choice>
    <choice> <value>no</value> </choice>
    <matches> <field>enable-matching</field> </matches>
  </attrib>

  <attrib>
    <name>maritalstatus</name>
    <desc>Marital Status</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>martialstatus</fact>
    <listing> <name>maritalstatus</name> <searchable></searchable> </listing>
    <choice> <value>single</value> </choice>
    <choice> <value>committed</value> </choice>
    <choice> <value>married</value> </choice>
    <choice> <value>divorced</value> </choice>
  </attrib>

  <attrib>
    <name>sexorient</name>
    <desc>Sexual Orientation</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>sexorient</fact>
    <listing> <name>sexorient</name> <searchable></searchable> </listing>
    <choice> <value>gay</value> </choice>
    <choice> <value>straight</value> </choice>
    <choice> <value>bisexual</value> </choice>
  </attrib>

  <attrib>
    <name>lookingfor</name>
    <desc>Looking For</desc>
    <type>enum-one</type>
    <access>public</access>
    <fact>lookingfor</fact>
    <choice> <value>newfriends</value> <text>New Friends</text> </choice>
    <choice> <value>flirtingromance</value> <text>Flirting &amp; Romance</text> </choice>
    <choice> <value>longtermrelationship</value> <text>Long Term Relationship</text> </choice>
  </attrib>

  <attrib>
    <name>match-age</name>
    <desc>Match Age</desc>
    <access>private</access>
    <type>enum-many</type>
    <choice> <value>18to21</value> <text>18 - 21</text> </choice>
    <choice> <value>21to29</value> <text>21 - 29</text> </choice>
    <choice> <value>30to39</value> <text>30 - 39</text> </choice>
    <choice> <value>40to49</value> <text>40 - 49</text> </choice>
    <choice> <value>50plus</value> <text>50 +</text> </choice>
    <matches> <field>age</field> </matches>
  </attrib>

  <attrib>
    <name>match-gender</name>
    <desc>Match Gender</desc>
    <access>private</access>
    <type>enum-one</type>
    <choice> <value>Male</value> <text>Male</text> </choice>
    <choice> <value>Female</value> <text>Female</text> </choice>
    <matches> <field>gender</field> </matches>
  </attrib>

  <attrib>
    <name>match-country</name>
    <desc>Match Country</desc>
    <access>private</access>
    <type>string</type>
    <matches> <field>country</field> </matches>
    <choice> <value>USA</value> </choice>
    <choice> <value>France</value> </choice>
    <choice> <value>Greece</value> </choice>
  </attrib>

  <attrib>
    <name>match-state</name>
    <desc>Match State</desc>
    <access>private</access>
    <type>string</type>
    <matches> <field>state</field> </matches>
    <choice> <value>California</value> </choice>
    <choice> <value>Nebraska</value> </choice>
  </attrib>

  <attrib>
    <name>match-area</name>
    <desc>Match Area</desc>
    <access>private</access>
    <type>string</type>
    <matches> <field>area</field> </matches>
    <choice> <value>Bay Area</value> </choice>
    <choice> <value>Dubuque</value> </choice>
  </attrib>

  <attrib>
    <name>match-maritalstatus</name>
    <desc>Match Marital Status</desc>
    <access>private</access>
    <type>enum-one</type>
    <choice> <value>single</value> </choice>
    <choice> <value>committed</value> </choice>
    <choice> <value>married</value> </choice>
    <choice> <value>divorced</value> </choice>
    <matches> <field>maritalstatus</field> </matches>
  </attrib>

  <attrib>
    <name>match-sexorient</name>
    <desc>Match Sexual Orientation</desc>
    <access>private</access>
    <type>enum-one</type>
    <choice> <value>gay</value> </choice>
    <choice> <value>straight</value> </choice>
    <choice> <value>bisexual</value> </choice>
    <matches> <field>sexorient</field> </matches>
  </attrib>

  <attrib>
    <name>match-lookingfor</name>
    <desc>Match Looking For</desc>
    <access>private</access>
    <type>enum-one</type>
    <matches> <field>lookingfor</field> </matches>
    <choice> <value>newfriends</value> <text>New Friends</text> </choice>
    <choice> <value>flirtingromance</value> <text>Flirting &amp; Romance</text> </choice>
    <choice> <value>longtermrelationship</value> <text>Long Term Relationship</text> </choice>
  </attrib>

  <attrib>
    <name>numbuddies</name>
    <desc>Num Buddies</desc>
    <access>public</access>
    <type>string</type>
    <calc> <name>GroupCount</name> <kind>buddy</kind> </calc>
  </attrib>

  <attrib>
    <name>numignoring</name>
    <desc>Num Ignoring</desc>
    <access>public</access>
    <type>string</type>
    <calc> <name>GroupCount</name> <kind>ignore</kind> </calc>
  </attrib>

  <calc>
    <name>AvPro</name>
    <type>AvManCalculator</type>
    <expires>60</expires>
    <request>
      <authdoid>SELF</authdoid>
      <avhost>AVMAN</avhost>
      <url>/AvPro/getAvPro?AvatarDoid=%llu</url>
    </request>

    <result>
      <public>
        <path>/Answer/AvatarName</path>
        <path>/Answer/CreationDate</path>
        <path>/Answer/publishOnlineStatus</path>
        <path>/Answer/currAvailability</path>
        <path>/Answer/Gender</path>
        <path>/Answer/NumIgnoringAv</path>
        <path>/Answer/NumBuddyingAv</path>
      </public>
    </result>
  </calc>

  <calc>
    <name>Login</name>
    <type>AvManCalculator</type>
    <expires>15</expires>
    <request>
      <authdoid>SELF</authdoid>
      <avhost>AVMAN</avhost>
      <url>/login/loginverify?avdoid=%llu</url>
    </request>

    <result>
      <public>
        <path>/status</path>
      </public>
    </result>
  </calc>

  <calc>
    <name>Jobs</name>
    <type>AvManCalculator</type>
    <expires>86400</expires>
    <request>
      <authdoid>SELF</authdoid>
      <avhost>AVMAN</avhost>
      <url>/Jobs/jobsGet?avoid=%llu</url>
    </request>

    <result>
      <public>
        <path>/Answer/jobsResult/jobpositionoid</path>
        <path>/Answer/jobsResult/startdate</path>
        <path>/Answer/jobsResult/enddate</path>
        <path>/Answer/jobsResult/jobtitle</path>
      </public>
    </result>
  </calc>

  <calc>
    <name>Clubs</name>
    <type>AvManCalculator</type>
    <expires>86400</expires>
    <request>
      <authdoid>SELF</authdoid>
      <avhost>AVMAN</avhost>
      <url>/Profiles/getclubs?adoid=%llu</url>
    </request>
  </calc>

  <calc>
    <name>Ratings</name>
    <type>AvManCalculator</type>
    <expires>86400</expires>
    <request>
      <authdoid>SELF</authdoid>
      <avhost>AVMAN</avhost>
      <url>/Ratings/FetchRating?Avoid=%llu</url>
    </request>
  </calc>

  <calc>
    <name>Skills</name>
    <type>AvManCalculator</type>
    <expires>86400</expires>
    <request>
      <authdoid>SELF</authdoid>
      <avhost>AVMAN</avhost>
      <url>/SkillsService/getSkillSet?doid=%llu</url>
    </request>

    <result>
      <private>
        <path>/SkillSet/SkillLevels/SkillLevel/ClosenessToNextLevel</path>
        <path>/SkillSet/SkillLevels/SkillLevel/PercentToNextLevel</path>
        <path>/SkillSet/SkillLevels/SkillLevel/NextLevelTitle</path>
      </private>
      <public>
        <path>/SkillSet/SkillLevels/SkillLevel/LadderName</path>
        <path>/SkillSet/SkillLevels/SkillLevel/Title</path>
      </public>
    </result>
  </calc>

   <calc>
     <name>MemberPrograms</name>
     <type>AvManCalculator</type>
     <expires>86400</expires>
     <request>
       <authdoid>SELF</authdoid>
       <avhost>AVMAN</avhost>
       <url>/MemberProgram/getavatarsmp?getmpdesc=1&amp;doid=%llu</url>
     </request>
     <result>
       <private>
       </private>
       <public>
         <path>/Answer</path>
       </public>
     </result>
   </calc>
   
</schema>

