{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "notice",
  "description": "Bilgi/başarı/dikkat/hata kutusu. Varyant `tone` ile seçilir: neutral=bilgi, success=tamam, warning=dikkat, danger=olmadı.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "version",
    "text"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "notice"
      ]
    },
    "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"
      ]
    },
    "title": {
      "type": "string",
      "maxLength": 80
    },
    "text": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1
    }
  }
}
