﻿{
  "definitions": {
    "DSattr": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "flexberryType": {
          "type": [
            "string",
            "null"
          ]
        },
        "notNull": {
          "type": "boolean"
        },
        "defaultValue": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "name",
        "type",
        "flexberryType",
        "notNull",
        "defaultValue"
      ]
    },
    "ProjectionForForm": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "modelName": {
          "type": [
            "string",
            "null"
          ]
        },
        "modelProjection": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "modelName",
        "modelProjection"
      ]
    }
  },
  "type": "object",
  "properties": {
    "newForm": {
      "type": [
        "string",
        "null"
      ]
    },
    "editForm": {
      "type": [
        "string",
        "null"
      ]
    },
    "caption": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "className": {
      "type": [
        "string",
        "null"
      ]
    },
    "attrs": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/definitions/DSattr"
      }
    },
    "projections": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/definitions/ProjectionForForm"
      }
    }
  },
  "required": [
    "newForm",
    "editForm",
    "caption",
    "name",
    "className",
    "attrs",
    "projections"
  ]
}