generated: '2026-10-08' method: derived generator: derive-data-model.py source: - openapi/yatmo-openapi.json notation: has_one = property $ref; has_many = array of $ref; belongs_to = _id field summary: entities: 20 entities_in_spec: 20 relationships: 17 entities: - name: Category fields: 5 - name: CustomerItemSummary fields: 3 - name: EnrichedCategory fields: 5 - name: Enum fields: 0 - name: GeoPosition fields: 2 - name: ImmotopCategory fields: 3 - name: ImmotopSubCategory fields: 2 - name: ListingEnrichment fields: 6 - name: MainCityForSummary fields: 3 - name: NearCheckModel fields: 2 - name: NearestPoi fields: 8 - name: PlaceInformation fields: 6 - name: PoiRule fields: 3 - name: PointOfInterestForSmallOptimizedJson fields: 11 - name: RouteResponse fields: 5 - name: SubCategoryAroundPosition fields: 5 - name: SummaryData fields: 8 - name: SummaryTravelData fields: 10 - name: TopCategoryAroundPosition fields: 4 - name: TravelInfo fields: 3 relationships: - from: NearestPoi to: TravelInfo type: has_one via: Walking - from: NearestPoi to: TravelInfo type: has_one via: Bicycling - from: NearestPoi to: TravelInfo type: has_one via: Driving - from: NearestPoi to: TravelInfo type: has_one via: Transit - from: EnrichedCategory to: NearestPoi type: has_one via: Nearest - from: ListingEnrichment to: EnrichedCategory type: has_many via: Categories - from: ImmotopCategory to: ImmotopSubCategory type: has_many via: sc - from: NearCheckModel to: PoiRule type: has_many via: Rules - from: SummaryData to: SummaryTravelData type: has_many via: TravelDataElements - from: SubCategoryAroundPosition to: Enum type: has_one via: PointOfInterestSubType - from: SubCategoryAroundPosition to: SummaryData type: has_many via: Data - from: TopCategoryAroundPosition to: SubCategoryAroundPosition type: has_many via: SubCategories - from: MainCityForSummary to: SummaryTravelData type: has_many via: TravelDataElements - from: MainCityForSummary to: GeoPosition type: has_one via: Center - from: CustomerItemSummary to: TopCategoryAroundPosition type: has_many via: AvailableCategoriesAroundPosition - from: CustomerItemSummary to: MainCityForSummary type: has_many via: CloseCities - from: CustomerItemSummary to: PlaceInformation type: has_one via: PlaceInformation