{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://portal.yesilveri.tr/standart/kades-json/v1.2.0/kades-beyan.schema.json",
  "title": "kadesBeyanSemasi",
  "description": "KADES-JSON kades-beyan şeması\n\nKOBİZON Proje Danışmanlık ve Yazılım Tic. Ltd. Şti. — Sürüm 1.2.0",
  "$ref": "#/definitions/kadesBeyanSemasi",
  "definitions": {
    "kadesBeyanSemasi": {
      "type": "object",
      "properties": {
        "metin": {
          "type": "string",
          "minLength": 40,
          "maxLength": 3000
        },
        "sorumluAdSoyad": {
          "type": "string",
          "minLength": 3,
          "maxLength": 200
        },
        "gorev": {
          "type": "string",
          "minLength": 2,
          "maxLength": 200
        },
        "tarih": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
        },
        "amaclananKullanici": {
          "type": "string",
          "minLength": 3,
          "maxLength": 300
        }
      },
      "required": [
        "metin",
        "sorumluAdSoyad",
        "gorev",
        "tarih"
      ],
      "additionalProperties": false
    }
  }
}
