{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://portal.yesilveri.tr/standart/kades-json/v1.1.0/kades-metodoloji-notu.schema.json",
  "title": "kadesMetodolojiNotuSemasi",
  "description": "KADES-JSON kades-metodoloji-notu şeması\n\nKOBİZON Proje Danışmanlık ve Yazılım Tic. Ltd. Şti. — Sürüm 1.1.0",
  "$ref": "#/definitions/kadesMetodolojiNotuSemasi",
  "definitions": {
    "kadesMetodolojiNotuSemasi": {
      "type": "object",
      "properties": {
        "ozet": {
          "type": "string",
          "minLength": 20,
          "maxLength": 5000
        },
        "varsayimlar": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "konu": {
                "type": "string",
                "minLength": 3,
                "maxLength": 200
              },
              "varsayim": {
                "type": "string",
                "minLength": 10,
                "maxLength": 1000
              },
              "gerekce": {
                "type": "string",
                "minLength": 10,
                "maxLength": 1000
              }
            },
            "required": [
              "konu",
              "varsayim",
              "gerekce"
            ],
            "additionalProperties": false
          },
          "default": []
        },
        "kaynakHiyerarsisi": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "sira": {
                "type": "integer",
                "minimum": 0
              },
              "kurum": {
                "type": "string",
                "minLength": 2,
                "maxLength": 300
              },
              "kullanimAlani": {
                "type": "string",
                "minLength": 3,
                "maxLength": 300
              }
            },
            "required": [
              "sira",
              "kurum",
              "kullanimAlani"
            ],
            "additionalProperties": false
          },
          "default": []
        },
        "oncekiSurumdenDegisiklikler": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "oncekiSurum": {
                "type": "string",
                "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
              },
              "aciklama": {
                "type": "string",
                "minLength": 10,
                "maxLength": 1000
              },
              "sayisalEtkiKgco2e": {
                "type": "string",
                "minLength": 1,
                "pattern": "^-?\\d+(\\.\\d+)?$"
              }
            },
            "required": [
              "oncekiSurum",
              "aciklama"
            ],
            "additionalProperties": false
          },
          "default": []
        }
      },
      "required": [
        "ozet"
      ],
      "additionalProperties": false
    }
  }
}
