<?xml version="1.0"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/AvalonAccessAPI.ServiceModel.Models" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/AvalonAccessAPI.ServiceModel.Models" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="PaymentType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CurrentBalance" />
      <xs:enumeration value="Percentage" />
      <xs:enumeration value="OtherAmount" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PaymentType" nillable="true" type="tns:PaymentType" />
  <xs:complexType name="Amenity">
    <xs:sequence>
      <xs:element minOccurs="0" name="Attachment" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AttachmentDisplayName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AttachmentGivenFileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedByName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsDeleted" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsReservable" type="xs:boolean" />
      <xs:element minOccurs="0" name="Key" type="ser:guid" />
      <xs:element minOccurs="0" name="LastUpdatedByName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastUpdatedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Picture" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PictureCaption" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PictureGivenFileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PropAmenityCategoryKey" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReservationSettings" nillable="true" type="tns:AmenityReservationSettings" />
      <xs:element minOccurs="0" name="Reservations" nillable="true" type="tns:ArrayOfAmenityReservation" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Amenity" nillable="true" type="tns:Amenity" />
  <xs:complexType name="AmenityReservationSettings">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmenityId" type="xs:int" />
      <xs:element minOccurs="0" name="AmenityKey" type="ser:guid" />
      <xs:element minOccurs="0" name="AmenityName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Attachment" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AttachmentGivenFileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Availability" nillable="true" type="tns:ArrayOfAvailability" />
      <xs:element minOccurs="0" name="CommunityCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedByName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="EmailNotification" type="xs:boolean" />
      <xs:element minOccurs="0" name="EstimatedCharge" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsReservationCharge" type="xs:boolean" />
      <xs:element minOccurs="0" name="LastUpdatedByName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastUpdatedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LeadTimeEnd" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LeadTimeStart" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReservableinRp" type="xs:boolean" />
      <xs:element minOccurs="0" name="ReservationDurationEnd" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReservationDurationStart" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReservationLimitEnd" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReservationLimitStart" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResourceServiceUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TermsandConditions" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AmenityReservationSettings" nillable="true" type="tns:AmenityReservationSettings" />
  <xs:complexType name="ArrayOfAvailability">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Availability" nillable="true" type="tns:Availability" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAvailability" nillable="true" type="tns:ArrayOfAvailability" />
  <xs:complexType name="Availability">
    <xs:sequence>
      <xs:element minOccurs="0" name="DOW" type="xs:int" />
      <xs:element minOccurs="0" name="day" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="end" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="start" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Availability" nillable="true" type="tns:Availability" />
  <xs:complexType name="ArrayOfAmenityReservation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AmenityReservation" nillable="true" type="tns:AmenityReservation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAmenityReservation" nillable="true" type="tns:ArrayOfAmenityReservation" />
  <xs:complexType name="AmenityReservation">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmenityId" type="xs:int" />
      <xs:element minOccurs="0" name="AmenityKey" type="ser:guid" />
      <xs:element minOccurs="0" name="AssociateName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Charge" type="xs:decimal" />
      <xs:element minOccurs="0" name="CommunityCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="EndTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="EventTitle" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
      <xs:element minOccurs="0" name="LeaseId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ModifiedBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ModifiedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PersonId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReservationDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ReservationType" type="tns:ReservationType" />
      <xs:element minOccurs="0" name="StartTime" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AmenityReservation" nillable="true" type="tns:AmenityReservation" />
  <xs:simpleType name="ReservationType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Community" />
      <xs:enumeration value="Resident" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ReservationType" nillable="true" type="tns:ReservationType" />
  <xs:complexType name="ArrayOfAmenity">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Amenity" nillable="true" type="tns:Amenity" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAmenity" nillable="true" type="tns:ArrayOfAmenity" />
  <xs:complexType name="OnboardingModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="Onboarding" nillable="true" type="tns:Onboarding" />
      <xs:element minOccurs="0" name="Staff" nillable="true" type="tns:ArrayOfStaff" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="OnboardingModel" nillable="true" type="tns:OnboardingModel" />
  <xs:complexType name="Onboarding">
    <xs:sequence>
      <xs:element minOccurs="0" name="Pdf" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PdfDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PetRegistrationRequired" type="xs:boolean" />
      <xs:element minOccurs="0" name="VehicleRegistrationRequired" type="xs:boolean" />
      <xs:element minOccurs="0" name="WelcomeMessage" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Onboarding" nillable="true" type="tns:Onboarding" />
  <xs:complexType name="ArrayOfStaff">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Staff" nillable="true" type="tns:Staff" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfStaff" nillable="true" type="tns:ArrayOfStaff" />
  <xs:complexType name="Staff">
    <xs:sequence>
      <xs:element minOccurs="0" name="Biography" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Firstname" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
      <xs:element minOccurs="0" name="Lastname" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PictureUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Staff" nillable="true" type="tns:Staff" />
</xs:schema>