2
0

schema.py 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. SCHEMA_ORG_CHOICES = (
  2. ('Organization', 'Organization'),
  3. ('Airline', 'Organization > Airline'),
  4. ('Corporation', 'Organization > Corporation'),
  5. ('EducationalOrganization', 'Organization > EducationalOrganization'),
  6. ('CollegeOrUniversity', 'Organization > EducationalOrganization > CollegeOrUniversity'),
  7. ('ElementarySchool', 'Organization > EducationalOrganization > ElementarySchool'),
  8. ('HighSchool', 'Organization > EducationalOrganization > HighSchool'),
  9. ('MiddleSchool', 'Organization > EducationalOrganization > MiddleSchool'),
  10. ('Preschool', 'Organization > EducationalOrganization > Preschool'),
  11. ('School', 'Organization > EducationalOrganization > School'),
  12. ('GovernmentOrganization', 'Organization > GovernmentOrganization'),
  13. ('LocalBusiness', 'Organization > LocalBusiness'),
  14. ('AnimalShelter', 'Organization > LocalBusiness > AnimalShelter'),
  15. ('AutomotiveBusiness', 'Organization > LocalBusiness > AutomotiveBusiness'),
  16. ('AutoBodyShop', 'Organization > LocalBusiness > AutomotiveBusiness > AutoBodyShop'),
  17. ('AutoDealer', 'Organization > LocalBusiness > AutomotiveBusiness > AutoDealer'),
  18. ('AutoPartsStore', 'Organization > LocalBusiness > AutomotiveBusiness > AutoPartsStore'),
  19. ('AutoRental', 'Organization > LocalBusiness > AutomotiveBusiness > AutoRental'),
  20. ('AutoRepair', 'Organization > LocalBusiness > AutomotiveBusiness > AutoRepair'),
  21. ('AutoWash', 'Organization > LocalBusiness > AutomotiveBusiness > AutoWash'),
  22. ('GasStation', 'Organization > LocalBusiness > AutomotiveBusiness > GasStation'),
  23. ('MotorcycleDealer', 'Organization > LocalBusiness > AutomotiveBusiness > MotorcycleDealer'),
  24. ('MotorcycleRepair', 'Organization > LocalBusiness > AutomotiveBusiness > MotorcycleRepair'),
  25. ('ChildCare', 'Organization > LocalBusiness > ChildCare'),
  26. ('Dentist', 'Organization > LocalBusiness > Dentist'),
  27. ('DryCleaningOrLaundry', 'Organization > LocalBusiness > DryCleaningOrLaundry'),
  28. ('EmergencyService', 'Organization > LocalBusiness > EmergencyService'),
  29. ('FireStation', 'Organization > LocalBusiness > EmergencyService > FireStation'),
  30. ('Hospital', 'Organization > LocalBusiness > EmergencyService > Hospital'),
  31. ('PoliceStation', 'Organization > LocalBusiness > EmergencyService > PoliceStation'),
  32. ('EmploymentAgency', 'Organization > LocalBusiness > EmploymentAgency'),
  33. ('EntertainmentBusiness', 'Organization > LocalBusiness > EntertainmentBusiness'),
  34. ('AdultEntertainment', 'Organization > LocalBusiness > EntertainmentBusiness > AdultEntertainment'),
  35. ('AmusementPark', 'Organization > LocalBusiness > EntertainmentBusiness > AmusementPark'),
  36. ('ArtGallery', 'Organization > LocalBusiness > EntertainmentBusiness > ArtGallery'),
  37. ('Casino', 'Organization > LocalBusiness > EntertainmentBusiness > Casino'),
  38. ('ComedyClub', 'Organization > LocalBusiness > EntertainmentBusiness > ComedyClub'),
  39. ('MovieTheater', 'Organization > LocalBusiness > EntertainmentBusiness > MovieTheater'),
  40. ('NightClub', 'Organization > LocalBusiness > EntertainmentBusiness > NightClub'),
  41. ('FinancialService', 'Organization > LocalBusiness > FinancialService'),
  42. ('AccountingService', 'Organization > LocalBusiness > FinancialService > AccountingService'),
  43. ('AutomatedTeller', 'Organization > LocalBusiness > FinancialService > AutomatedTeller'),
  44. ('BankOrCreditUnion', 'Organization > LocalBusiness > FinancialService > BankOrCreditUnion'),
  45. ('InsuranceAgency', 'Organization > LocalBusiness > FinancialService > InsuranceAgency'),
  46. ('FoodEstablishment', 'Organization > LocalBusiness > FoodEstablishment'),
  47. ('Bakery', 'Organization > LocalBusiness > FoodEstablishment > Bakery'),
  48. ('BarOrPub', 'Organization > LocalBusiness > FoodEstablishment > BarOrPub'),
  49. ('Brewery', 'Organization > LocalBusiness > FoodEstablishment > Brewery'),
  50. ('CafeOrCoffeeShop', 'Organization > LocalBusiness > FoodEstablishment > CafeOrCoffeeShop'),
  51. ('FastFoodRestaurant', 'Organization > LocalBusiness > FoodEstablishment > FastFoodRestaurant'),
  52. ('IceCreamShop', 'Organization > LocalBusiness > FoodEstablishment > IceCreamShop'),
  53. ('Restaurant', 'Organization > LocalBusiness > FoodEstablishment > Restaurant'),
  54. ('Winery', 'Organization > LocalBusiness > FoodEstablishment > Winery'),
  55. ('GovernmentOffice', 'Organization > LocalBusiness > GovernmentOffice'),
  56. ('PostOffice', 'Organization > LocalBusiness > GovernmentOffice > PostOffice'),
  57. ('HealthAndBeautyBusiness', 'Organization > LocalBusiness > HealthAndBeautyBusiness'),
  58. ('BeautySalon', 'Organization > LocalBusiness > HealthAndBeautyBusiness > BeautySalon'),
  59. ('DaySpa', 'Organization > LocalBusiness > HealthAndBeautyBusiness > DaySpa'),
  60. ('HairSalon', 'Organization > LocalBusiness > HealthAndBeautyBusiness > HairSalon'),
  61. ('HealthClub', 'Organization > LocalBusiness > HealthAndBeautyBusiness > HealthClub'),
  62. ('NailSalon', 'Organization > LocalBusiness > HealthAndBeautyBusiness > NailSalon'),
  63. ('TattooParlor', 'Organization > LocalBusiness > HealthAndBeautyBusiness > TattooParlor'),
  64. ('HomeAndConstructionBusiness', 'Organization > LocalBusiness > HomeAndConstructionBusiness'),
  65. ('Electrician', 'Organization > LocalBusiness > HomeAndConstructionBusiness > Electrician'),
  66. ('GeneralContractor', 'Organization > LocalBusiness > HomeAndConstructionBusiness > GeneralContractor'),
  67. ('HVACBusiness', 'Organization > LocalBusiness > HomeAndConstructionBusiness > HVACBusiness'),
  68. ('HousePainter', 'Organization > LocalBusiness > HomeAndConstructionBusiness > HousePainter'),
  69. ('Locksmith', 'Organization > LocalBusiness > HomeAndConstructionBusiness > Locksmith'),
  70. ('MovingCompany', 'Organization > LocalBusiness > HomeAndConstructionBusiness > MovingCompany'),
  71. ('Plumber', 'Organization > LocalBusiness > HomeAndConstructionBusiness > Plumber'),
  72. ('RoofingContractor', 'Organization > LocalBusiness > HomeAndConstructionBusiness > RoofingContractor'),
  73. ('InternetCafe', 'Organization > LocalBusiness > InternetCafe'),
  74. ('LegalService', 'Organization > LocalBusiness > LegalService'),
  75. ('Attorney', 'Organization > LocalBusiness > LegalService > Attorney'),
  76. ('Notary', 'Organization > LocalBusiness > LegalService > Notary'),
  77. ('Library', 'Organization > LocalBusiness > Library'),
  78. ('LodgingBusiness', 'Organization > LocalBusiness > LodgingBusiness'),
  79. ('BedAndBreakfast', 'Organization > LocalBusiness > LodgingBusiness > BedAndBreakfast'),
  80. ('Campground', 'Organization > LocalBusiness > LodgingBusiness > Campground'),
  81. ('Hostel', 'Organization > LocalBusiness > LodgingBusiness > Hostel'),
  82. ('Hotel', 'Organization > LocalBusiness > LodgingBusiness > Hotel'),
  83. ('Motel', 'Organization > LocalBusiness > LodgingBusiness > Motel'),
  84. ('Resort', 'Organization > LocalBusiness > LodgingBusiness > Resort'),
  85. ('ProfessionalService', 'Organization > LocalBusiness > ProfessionalService'),
  86. ('RadioStation', 'Organization > LocalBusiness > RadioStation'),
  87. ('RealEstateAgent', 'Organization > LocalBusiness > RealEstateAgent'),
  88. ('RecyclingCenter', 'Organization > LocalBusiness > RecyclingCenter'),
  89. ('SelfStorage', 'Organization > LocalBusiness > SelfStorage'),
  90. ('ShoppingCenter', 'Organization > LocalBusiness > ShoppingCenter'),
  91. ('SportsActivityLocation', 'Organization > LocalBusiness > SportsActivityLocation'),
  92. ('BowlingAlley', 'Organization > LocalBusiness > SportsActivityLocation > BowlingAlley'),
  93. ('ExerciseGym', 'Organization > LocalBusiness > SportsActivityLocation > ExerciseGym'),
  94. ('GolfCourse', 'Organization > LocalBusiness > SportsActivityLocation > GolfCourse'),
  95. ('HealthClub', 'Organization > LocalBusiness > SportsActivityLocation > HealthClub'),
  96. ('PublicSwimmingPool', 'Organization > LocalBusiness > SportsActivityLocation > PublicSwimmingPool'),
  97. ('SkiResort', 'Organization > LocalBusiness > SportsActivityLocation > SkiResort'),
  98. ('SportsClub', 'Organization > LocalBusiness > SportsActivityLocation > SportsClub'),
  99. ('StadiumOrArena', 'Organization > LocalBusiness > SportsActivityLocation > StadiumOrArena'),
  100. ('TennisComplex', 'Organization > LocalBusiness > SportsActivityLocation > TennisComplex'),
  101. ('Store', 'Organization > LocalBusiness > Store'),
  102. ('AutoPartsStore', 'Organization > LocalBusiness > Store > AutoPartsStore'),
  103. ('BikeStore', 'Organization > LocalBusiness > Store > BikeStore'),
  104. ('BookStore', 'Organization > LocalBusiness > Store > BookStore'),
  105. ('ClothingStore', 'Organization > LocalBusiness > Store > ClothingStore'),
  106. ('ComputerStore', 'Organization > LocalBusiness > Store > ComputerStore'),
  107. ('ConvenienceStore', 'Organization > LocalBusiness > Store > ConvenienceStore'),
  108. ('DepartmentStore', 'Organization > LocalBusiness > Store > DepartmentStore'),
  109. ('ElectronicsStore', 'Organization > LocalBusiness > Store > ElectronicsStore'),
  110. ('Florist', 'Organization > LocalBusiness > Store > Florist'),
  111. ('FurnitureStore', 'Organization > LocalBusiness > Store > FurnitureStore'),
  112. ('GardenStore', 'Organization > LocalBusiness > Store > GardenStore'),
  113. ('GroceryStore', 'Organization > LocalBusiness > Store > GroceryStore'),
  114. ('HardwareStore', 'Organization > LocalBusiness > Store > HardwareStore'),
  115. ('HobbyShop', 'Organization > LocalBusiness > Store > HobbyShop'),
  116. ('HomeGoodsStore', 'Organization > LocalBusiness > Store > HomeGoodsStore'),
  117. ('JewelryStore', 'Organization > LocalBusiness > Store > JewelryStore'),
  118. ('LiquorStore', 'Organization > LocalBusiness > Store > LiquorStore'),
  119. ('MensClothingStore', 'Organization > LocalBusiness > Store > MensClothingStore'),
  120. ('MobilePhoneStore', 'Organization > LocalBusiness > Store > MobilePhoneStore'),
  121. ('MovieRentalStore', 'Organization > LocalBusiness > Store > MovieRentalStore'),
  122. ('MusicStore', 'Organization > LocalBusiness > Store > MusicStore'),
  123. ('OfficeEquipmentStore', 'Organization > LocalBusiness > Store > OfficeEquipmentStore'),
  124. ('OutletStore', 'Organization > LocalBusiness > Store > OutletStore'),
  125. ('PawnShop', 'Organization > LocalBusiness > Store > PawnShop'),
  126. ('PetStore', 'Organization > LocalBusiness > Store > PetStore'),
  127. ('ShoeStore', 'Organization > LocalBusiness > Store > ShoeStore'),
  128. ('SportingGoodsStore', 'Organization > LocalBusiness > Store > SportingGoodsStore'),
  129. ('TireShop', 'Organization > LocalBusiness > Store > TireShop'),
  130. ('ToyStore', 'Organization > LocalBusiness > Store > ToyStore'),
  131. ('WholesaleStore', 'Organization > LocalBusiness > Store > WholesaleStore'),
  132. ('TelevisionStation', 'Organization > LocalBusiness > TelevisionStation'),
  133. ('TouristInformationCenter', 'Organization > LocalBusiness > TouristInformationCenter'),
  134. ('TravelAgency', 'Organization > LocalBusiness > TravelAgency'),
  135. ('MedicalOrganization', 'Organization > MedicalOrganization'),
  136. ('Dentist', 'Organization > MedicalOrganization > Dentist'),
  137. ('Hospital', 'Organization > MedicalOrganization > Hospital'),
  138. ('Pharmacy', 'Organization > MedicalOrganization > Pharmacy'),
  139. ('Physician', 'Organization > MedicalOrganization > Physician'),
  140. ('NGO', 'Organization > NGO'),
  141. ('PerformingGroup', 'Organization > PerformingGroup'),
  142. ('DanceGroup', 'Organization > PerformingGroup > DanceGroup'),
  143. ('MusicGroup', 'Organization > PerformingGroup > MusicGroup'),
  144. ('TheaterGroup', 'Organization > PerformingGroup > TheaterGroup'),
  145. ('SportsOrganization', 'Organization > SportsOrganization'),
  146. ('SportsTeam', 'Organization > SportsOrganization > SportsTeam'),
  147. )
  148. SCHEMA_ACTION_CHOICES = (
  149. ('OrderAction', 'OrderAction'),
  150. ('ReserveAction', 'ReserveAction'),
  151. )
  152. SCHEMA_RESULT_CHOICES = (
  153. ('Reservation', 'Reservation'),
  154. ('BusReservation', 'BusReservation'),
  155. ('EventReservation', 'EventReservation'),
  156. ('FlightReservation', 'FlightReservation'),
  157. ('FoodEstablishmentReservation', 'FoodEstablishmentReservation'),
  158. ('LodgingReservation', 'LodgingReservation'),
  159. ('RentalCarReservation', 'RentalCarReservation'),
  160. ('ReservationPackage', 'ReservationPackage'),
  161. ('TaxiReservation', 'TaxiReservation'),
  162. ('TrainReservation', 'TrainReservation'),
  163. )