openapi: 3.2.0 info: title: Yatmo Enrichment API version: v1 security: - ApiKey: [] tags: - name: Enrichment paths: /Enrichment: get: tags: - Enrichment parameters: - name: latitude in: query schema: type: number format: double - name: longitude in: query schema: type: number format: double - name: language in: query schema: $ref: '#/components/schemas/SupportedLanguages' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/ListingEnrichment' application/json: schema: $ref: '#/components/schemas/ListingEnrichment' text/json: schema: $ref: '#/components/schemas/ListingEnrichment' summary: Get enrichment x-summary-source: derived operationId: getEnrichment x-operation-id-source: derived head: tags: - Enrichment responses: '200': description: Success summary: Check enrichment x-summary-source: derived operationId: headEnrichment x-operation-id-source: derived components: schemas: EnrichedCategory: type: object properties: Id: type: integer format: int64 Key: type: - string - 'null' Group: type: - string - 'null' Label: type: - string - 'null' Nearest: allOf: - $ref: '#/components/schemas/NearestPoi' additionalProperties: false ListingEnrichment: type: object properties: Latitude: type: number format: double Longitude: type: number format: double Country: type: - string - 'null' Language: type: - string - 'null' SearchRadiusMeters: type: integer format: int32 Categories: type: - array - 'null' items: $ref: '#/components/schemas/EnrichedCategory' additionalProperties: false SupportedLanguages: enum: - EN - FR - NL - DE - IT - PT - ES - CA - ZH - HI - AR - RU - JA - EL - HR - MT - SL - SR - TR - BS - CNR - SQ - BG type: string NearestPoi: type: object properties: Name: type: - string - 'null' Latitude: type: number format: double Longitude: type: number format: double StraightLineDistanceMeters: type: integer format: int32 Walking: allOf: - $ref: '#/components/schemas/TravelInfo' Bicycling: allOf: - $ref: '#/components/schemas/TravelInfo' Driving: allOf: - $ref: '#/components/schemas/TravelInfo' Transit: allOf: - $ref: '#/components/schemas/TravelInfo' additionalProperties: false TravelInfo: type: object properties: DistanceMeters: type: integer format: int32 DurationSeconds: type: integer format: int32 DurationMinutes: type: integer format: int32 additionalProperties: false securitySchemes: ApiKey: type: apiKey description: API Key Authentication name: LicenseKey in: header