{
  "id": "http://edoc-schema.kzn.ru/document/ru/usluga/40_kvb_orders_emergency",
  "$schema": "http://json-schema.org/draft-06/schema#",
  "title": "Emergency orders",
  "description": "Реестр аварийных ордеров на выполнение земляных работ",
  "type": "object",
  "properties": {
    "confirmations": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/confirmations"
    },
    "organization": {
      "$ref": "http://edoc-schema.kzn.ru/organization/ru/organization",
      "title": "Заказчик"
    },
    "customer_responsible": {
      "$ref": "http://edoc-schema.kzn.ru/person/fio",
      "title": "Подписант заказчика"
    },
    "contractor_organization": {
      "$ref": "http://edoc-schema.kzn.ru/organization/ru/organization",
      "title": "Подрядчик"
    },
    "contractor_responsible": {
      "$ref": "http://edoc-schema.kzn.ru/person/fio_phone",
      "title": "Ответственный производитель работ со стороны подрядчика"
    },
    "subcontractor_organization": {
      "$ref": "http://edoc-schema.kzn.ru/organization/ru/organization",
      "title": "Субподрядчик"
    },
    "subcontractor_responsible": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/person_mobile",
      "title": "Ответственный производитель работ со стороны субподрядчика"
    },
    "address_with_map": {
      "$ref": "http://edoc-schema.kzn.ru/location/ru/address_with_map",
      "title": "Адрес (ближайший к месту работ)"
    },
    "address_comments": {
      "$ref": "http://edoc-schema.kzn.ru/location/ru/address_comments",
      "title": "Уточнение адреса или места проведения работ"
    },
    "begin_date": {
      "type": "string",
      "format": "date",
      "title": "Дата начала работ"
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "title": "Дата окончания работ"
    },
    "emergency_repair_of": {
      "type": "string",
      "title": "Ликвидация аварии на:",
      "enum": [
        "Водопровод",
        "Волжский водовод",
        "Водопровод пожарный",
        "Хозяйственно-бытовая канализация",
        "Ливневая канализация",
        "Кабельная канализация",
        "Электрокабель",
        "Газопровод",
        "ЭХЗ анодного контура газопровода",
        "Теплотрасса",
        "Сеть отопления",
        "Сеть ГВС"
      ]
    },
    "objects_of_work_comments": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/objects_of_work_comments"
    },
    "area_of_damage_to_road": {
      "type": "string",
      "title": "Площадь повреждения дорожного покрытия"
    },
    "area_of_damage_to_local_road": {
      "type": "string",
      "title": "Площадь повреждения местных проездов"
    },
    "area_of_damage_to_sidewalk": {
      "type": "string",
      "title": "Площадь повреждения тротуара"
    },
    "area_of_damage_to_lawn": {
      "type": "string",
      "title": "Площадь повреждения зелёных насаждений"
    },
    "agent": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/agent",
      "title": "Представитель"
    },
    "letter_of_attorney": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/letter_of_attorney"
    },
    "application": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/application",
      "title": "Заявление на получение ордера"
    },
    "topography_of_networks": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/topography_of_networks"
    },
    "conclusion_place_of_damage": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/conclusion_place_of_damage"
    },
    "certificate_of_separation": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/certificate_of_separation"
    },
    "certificate_sro": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/certificate_sro"
    },
    "warranty_restore": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/warranty_restore"
    },
    "attachments": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/attachments"
    },
    "comments": {
      "$ref": "http://edoc-schema.kzn.ru/document/ru/uslugi/definitions/comments"
    }
  }
}
