{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appyway/json-schema/appyway-fetch-entities-by-ids-query-schema.json",
  "title": "FetchEntitiesByIdsQuery",
  "description": "Request allowing a client to fetch a list of entities",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/appyway-bulk-api-openapi.yml#/components/schemas/FetchEntitiesByIdsQuery",
  "type": "object",
  "properties": {
    "ids": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "List of Ids of entities to fetch"
    },
    "geometryPreference": {
      "$ref": "#/$defs/GeometryPreference"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "BasemapTranslation": {
      "enum": [
        1,
        2
      ],
      "type": "integer",
      "description": "Enumeration for the different types of base maps\n\n*OrdnanceSurvey (1) - Ordnance Survey: Realistic mapping\n*OpenStreetMaps (2) - Open street map.\n",
      "format": "int32"
    },
    "GeometryPreference": {
      "type": "object",
      "properties": {
        "basemap": {
          "$ref": "#/$defs/BasemapTranslation"
        },
        "geometryTypes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/GeometryType"
          },
          "description": "List of the types of geometries you want to receive for this basemap\n\n*POI (1) - Point of interest: A single point, will be of type \"Point\"\n*Kerb (2) - Single line along the kerbedge, will be of type \"LineString\"\n*Outline (3) - A complete representation of the parking area, will be of type \"Polygon\". Only available for Ordnance Survey base maps\n"
        }
      },
      "additionalProperties": false,
      "description": "Indicates the type of geometries you want to retrieve"
    },
    "GeometryType": {
      "enum": [
        1,
        2,
        3
      ],
      "type": "integer",
      "description": "Different types of geometries that can be returned\n\n*POI (1) - Point of interest: A single point, will be of type \"Point\"\n*Kerb (2) - Single line along the kerbedge, will be of type \"LineString\"\n*Outline (3) - A complete representation of the parking area, will be of type \"Polygon\". Only available for Ordnance Survey base maps\n",
      "format": "int32"
    }
  }
}