{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "location_pick",
  "description": "Konum seç (harita + sürüklenebilir iğne). Konum yalnız kullanıcı düğmeye basınca bir kez gönderilir.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "version",
    "latitude",
    "longitude"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "location_pick"
      ]
    },
    "version": {
      "type": "integer",
      "enum": [
        1
      ]
    },
    "tone": {
      "type": "string",
      "enum": [
        "neutral",
        "success",
        "warning",
        "danger",
        "brand"
      ]
    },
    "brand_color": {
      "type": "string",
      "enum": [
        "mavi",
        "turuncu",
        "mor",
        "pembe",
        "altin",
        "yesil",
        "turkuaz"
      ]
    },
    "latitude": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "longitude": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "hint": {
      "type": "string",
      "maxLength": 120
    },
    "button_label": {
      "type": "string",
      "maxLength": 40
    },
    "one_time": {
      "type": "boolean",
      "description": "“yalnız bu bir kez gönderilir” notu"
    }
  },
  "x-inki-eylem": [
    {
      "action": "submit",
      "values": {
        "latitude": "sayı",
        "longitude": "sayı"
      }
    }
  ]
}
