{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yatmo/json-schema/yatmo-near-check-model-schema.json",
  "title": "NearCheckModel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yatmo-nearcheck-api-openapi.yml#/components/schemas/NearCheckModel",
  "type": "object",
  "properties": {
    "Rules": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/PoiRule"
      }
    },
    "Ids": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PoiRule": {
      "type": "object",
      "properties": {
        "PoiId": {
          "type": "integer",
          "format": "int64"
        },
        "Radius": {
          "allOf": [
            {
              "$ref": "#/$defs/SupportedRadius"
            }
          ]
        },
        "PoiIdWithRadius": {
          "type": "integer",
          "format": "int64",
          "readOnly": true
        }
      },
      "additionalProperties": false
    },
    "SupportedRadius": {
      "enum": [
        "Meters200",
        "Meters500",
        "Meters1000",
        "Meters2000",
        "Meters5000",
        "Meters10000",
        "Meters25000",
        "Meters100000"
      ],
      "type": "string"
    }
  }
}