Guest User

Untitled

a guest
Jul 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.18 KB | None | 0 0
  1. {
  2. "title": "Publikationsdaten",
  3. "description": "Datenfelder, die benötigt werden um das Dokument auf den Publikationskanälen zu publizieren.",
  4. "type": "object",
  5. "properties": {
  6. "common": {
  7. "type": "object",
  8. "title": "Publikationseinstellungen",
  9. "properties": {
  10. "buildingApplication": {
  11. "type": "object",
  12. "title": "Baugesuch",
  13. "properties": {
  14. "buildingContractor": {
  15. "$ref": "#/definitions/buildingContractor",
  16. "title": "Bauherrschaft"
  17. },
  18. "delegation": {
  19. "type": "object",
  20. "title": "Vertretung der Bauherrschaft",
  21. "properties": {
  22. "is_delegated": {
  23. "type": "boolean",
  24. "title": "Ist eine Vertretung der Bauherrschaft vorhanden?",
  25. "default": false
  26. }
  27. },
  28. "dependencies": {
  29. "is_delegated": {
  30. "oneOf": [
  31. {
  32. "properties": {
  33. "is_delegated": {
  34. "enum": [
  35. true
  36. ]
  37. },
  38. "buildingContractor": {
  39. "$ref": "#/definitions/buildingContractor"
  40. }
  41. },
  42. "required": [
  43. "buildingContractor"
  44. ]
  45. },
  46. {
  47. "properties": {
  48. "is_delegated": {
  49. "enum": [
  50. false
  51. ]
  52. }
  53. }
  54. }
  55. ]
  56. }
  57. },
  58. "required": [
  59. "is_delegated"
  60. ]
  61. },
  62. "projectFramer": {
  63. "type": "object",
  64. "title": "Projektverfasser/in",
  65. "properties": {
  66. "frameType": {
  67. "type": "string",
  68. "title": "Projektverfasser/in",
  69. "enum": [
  70. "buildingContractor",
  71. "delegationBuildingContractor",
  72. "none",
  73. "other"
  74. ],
  75. "enumNames": [
  76. "Bauherr",
  77. "Vertretung der Bauherrschaft",
  78. "Keine",
  79. "Andere"
  80. ]
  81. }
  82. },
  83. "required": [
  84. "frameType"
  85. ],
  86. "dependencies": {
  87. "frameType": {
  88. "oneOf": [
  89. {
  90. "properties": {
  91. "frameType": {
  92. "enum": [
  93. "other"
  94. ]
  95. },
  96. "buildingContractor": {
  97. "$ref": "#/definitions/buildingContractor"
  98. }
  99. },
  100. "required": [
  101. "buildingContractor"
  102. ]
  103. },
  104. {
  105. "properties": {
  106. "frameType": {
  107. "enum": [
  108. "buildingContractor",
  109. "delegationBuildingContractor",
  110. "none"
  111. ]
  112. }
  113. }
  114. }
  115. ]
  116. }
  117. }
  118. },
  119. "project": {
  120. "type": "object",
  121. "title": "Angaben zum Projekt",
  122. "properties": {
  123. "description": {
  124. "type": "string",
  125. "title": "Projektbeschreibung"
  126. },
  127. "location": {
  128. "type": "object",
  129. "title": "",
  130. "properties": {
  131. "street": {
  132. "type": "string",
  133. "title": "Strasse"
  134. },
  135. "houseNumber": {
  136. "type": "string",
  137. "title": "Nr."
  138. },
  139. "zipCode": {
  140. "type": "string",
  141. "title": "PLZ"
  142. },
  143. "town": {
  144. "type": "string",
  145. "title": "Ort"
  146. },
  147. "locationAdditional": {
  148. "type": "string",
  149. "title": "Standortzusatz"
  150. }
  151. },
  152. "required": [
  153. "zipCode",
  154. "town"
  155. ]
  156. }
  157. }
  158. },
  159. "districtCadastre": {
  160. "type": "array",
  161. "title": "Katasterinformationen",
  162. "items": {
  163. "type": "object",
  164. "title": "",
  165. "properties": {
  166. "district": {
  167. "type": "string",
  168. "title": "Kreis"
  169. },
  170. "cadastre": {
  171. "type": "string",
  172. "title": "Grundstück-Nr."
  173. },
  174. "buildingZone": {
  175. "type": "string",
  176. "title": "Zone"
  177. }
  178. }
  179. }
  180. },
  181. "legalRemedy": {
  182. "type": "object",
  183. "title": "Rechtliche Hinweise und Fristen",
  184. "properties": {
  185. "locationCirculationOffice": {
  186. "type": "string",
  187. "title": "Ort der Planauflage"
  188. },
  189. "additionalLegalRemedy": {
  190. "type": "string",
  191. "title": "Ergänzende rechtliche Hinweise"
  192. },
  193. "daysAfterPublication": {
  194. "type": "integer",
  195. "title": "Frist in Tagen",
  196. "default": 30
  197. },
  198. "entryDeadline": {
  199. "type": "string",
  200. "title": "Ablauf der Frist",
  201. "format": "date"
  202. },
  203. "commentEntryDeadline": {
  204. "type": "string",
  205. "title": "Kommentar zur Frist"
  206. },
  207. "registrationOffice": {
  208. "type": "string",
  209. "title": "Anmeldestelle"
  210. }
  211. },
  212. "required": [
  213. "daysAfterPublication",
  214. "entryDeadline"
  215. ]
  216. },
  217. "additional": {
  218. "type": "object",
  219. "title": "Weitere Angaben zur Meldung",
  220. "properties": {
  221. "remarks": {
  222. "type": "string",
  223. "title": "Bemerkungen"
  224. }
  225. }
  226. }
  227. },
  228. "required": [
  229. "buildingContractor",
  230. "delegation",
  231. "projectFramer",
  232. "legalRemedy"
  233. ]
  234. }
  235. },
  236. "required": [
  237. "buildingApplication"
  238. ]
  239. },
  240. "channels": {
  241. "type": "object",
  242. "title": "Kanalspezifische Einstellungen",
  243. "properties": {
  244. "ab_zurich": {
  245. "type": "object",
  246. "title": "Einstellungen für den Kanal Amtsblatt Zürich",
  247. "properties": {
  248. "publicationDate": {
  249. "type": "string",
  250. "title": "Veröffentlichungsdatum",
  251. "description": "Das Datum an welchem die Publikation im Amtsblatt des Kantons Zürich veröffentlicht werden soll.",
  252. "format": "date"
  253. }
  254. },
  255. "required": [
  256. "publicationDate"
  257. ]
  258. }
  259. },
  260. "required": [
  261. "ab_zurich"
  262. ]
  263. }
  264. },
  265. "required": [
  266. "channels",
  267. "common"
  268. ],
  269. "definitions": {
  270. "address": {
  271. "type": "object",
  272. "title": "Adresse",
  273. "properties": {
  274. "street": {
  275. "type": "string",
  276. "title": "Strasse"
  277. },
  278. "houseNumber": {
  279. "type": "string",
  280. "title": "Nr."
  281. },
  282. "zipCode": {
  283. "type": "string",
  284. "title": "PLZ"
  285. },
  286. "town": {
  287. "type": "string",
  288. "title": "Ort"
  289. }
  290. },
  291. "required": [
  292. "zipCode",
  293. "town"
  294. ]
  295. },
  296. "buildingContractor": {
  297. "type": "object",
  298. "title": "",
  299. "properties": {
  300. "selectType": {
  301. "type": "string",
  302. "title": "Typ",
  303. "enum": [
  304. "person",
  305. "company"
  306. ],
  307. "enumNames": [
  308. "Privatperson",
  309. "Gesellschaft"
  310. ]
  311. }
  312. },
  313. "required": [
  314. "selectType"
  315. ],
  316. "dependencies": {
  317. "selectType": {
  318. "oneOf": [
  319. {
  320. "properties": {
  321. "selectType": {
  322. "enum": [
  323. "person"
  324. ]
  325. },
  326. "persons": {
  327. "$ref": "#/definitions/persons",
  328. "title": ""
  329. }
  330. },
  331. "required": [
  332. "persons"
  333. ]
  334. },
  335. {
  336. "properties": {
  337. "selectType": {
  338. "enum": [
  339. "company"
  340. ]
  341. },
  342. "companies": {
  343. "$ref": "#/definitions/companies",
  344. "title": ""
  345. }
  346. },
  347. "required": [
  348. "companies"
  349. ]
  350. }
  351. ]
  352. }
  353. }
  354. },
  355. "companies": {
  356. "type": "array",
  357. "minItems": 1,
  358. "items": {
  359. "$ref": "#/definitions/company"
  360. }
  361. },
  362. "company": {
  363. "type": "object",
  364. "properties": {
  365. "uid_provided": {
  366. "type": "boolean",
  367. "title": "UID-Nummer vorhanden",
  368. "default": true
  369. }
  370. },
  371. "dependencies": {
  372. "uid_provided": {
  373. "oneOf": [
  374. {
  375. "properties": {
  376. "uid_provided": {
  377. "enum": [
  378. true
  379. ]
  380. },
  381. "uid_data": {
  382. "$ref": "#/definitions/uid_data"
  383. }
  384. },
  385. "required": [
  386. "uid_data"
  387. ]
  388. },
  389. {
  390. "properties": {
  391. "uid_provided": {
  392. "enum": [
  393. false
  394. ]
  395. },
  396. "name": {
  397. "type": "string",
  398. "title": "Name"
  399. },
  400. "customAddress": {
  401. "type": "string",
  402. "title": "Adresse"
  403. },
  404. "country": {
  405. "$ref": "#/definitions/country",
  406. "title": "Land"
  407. }
  408. }
  409. }
  410. ]
  411. }
  412. }
  413. },
  414. "country": {
  415. "type": "string",
  416. "title": "Land",
  417. "enum": [
  418. "AF",
  419. "EG",
  420. "AX",
  421. "AL",
  422. "DZ",
  423. "AS",
  424. "AD",
  425. "AO",
  426. "AI",
  427. "AQ",
  428. "AG",
  429. "GQ",
  430. "AR",
  431. "AM",
  432. "AW",
  433. "AZ",
  434. "ET",
  435. "AU",
  436. "BS",
  437. "BH",
  438. "BD",
  439. "BB",
  440. "BY",
  441. "BE",
  442. "BZ",
  443. "BJ",
  444. "BM",
  445. "BT",
  446. "BO",
  447. "BQ",
  448. "BA",
  449. "BW",
  450. "BV",
  451. "BR",
  452. "IO",
  453. "BN",
  454. "BG",
  455. "BF",
  456. "BI",
  457. "CL",
  458. "CN",
  459. "CK",
  460. "CR",
  461. "CW",
  462. "DK",
  463. "DE",
  464. "DM",
  465. "DO",
  466. "DJ",
  467. "EC",
  468. "SV",
  469. "CI",
  470. "ER",
  471. "EE",
  472. "FK",
  473. "FO",
  474. "FJ",
  475. "FI",
  476. "FR",
  477. "GF",
  478. "PF",
  479. "TF",
  480. "GA",
  481. "GM",
  482. "GE",
  483. "GH",
  484. "GI",
  485. "GD",
  486. "GR",
  487. "GL",
  488. "GP",
  489. "GU",
  490. "GT",
  491. "GG",
  492. "GN",
  493. "GW",
  494. "GY",
  495. "HT",
  496. "HM",
  497. "HN",
  498. "HK",
  499. "IN",
  500. "ID",
  501. "IM",
  502. "IQ",
  503. "IR",
  504. "IE",
  505. "IS",
  506. "IL",
  507. "IT",
  508. "JM",
  509. "JP",
  510. "YE",
  511. "JE",
  512. "JO",
  513. "VG",
  514. "VI",
  515. "KY",
  516. "KH",
  517. "CM",
  518. "CA",
  519. "CV",
  520. "KZ",
  521. "QA",
  522. "KE",
  523. "KG",
  524. "KI",
  525. "CC",
  526. "CO",
  527. "KM",
  528. "CG",
  529. "CD",
  530. "KP",
  531. "KR",
  532. "HR",
  533. "CU",
  534. "KW",
  535. "LA",
  536. "LS",
  537. "LV",
  538. "LB",
  539. "LR",
  540. "LY",
  541. "LI",
  542. "LT",
  543. "LU",
  544. "MO",
  545. "MG",
  546. "MW",
  547. "MY",
  548. "MV",
  549. "ML",
  550. "MT",
  551. "MA",
  552. "MH",
  553. "MQ",
  554. "MR",
  555. "MU",
  556. "YT",
  557. "MK",
  558. "MX",
  559. "FM",
  560. "MD",
  561. "MC",
  562. "MN",
  563. "ME",
  564. "MS",
  565. "MZ",
  566. "MM",
  567. "NA",
  568. "NR",
  569. "NP",
  570. "NC",
  571. "NZ",
  572. "NI",
  573. "NL",
  574. "AN",
  575. "NE",
  576. "NG",
  577. "NU",
  578. "MP",
  579. "NF",
  580. "NO",
  581. "OM",
  582. "AT",
  583. "PK",
  584. "PS",
  585. "PW",
  586. "PA",
  587. "PG",
  588. "PY",
  589. "PE",
  590. "PH",
  591. "PN",
  592. "PL",
  593. "PT",
  594. "PR",
  595. "RE",
  596. "RW",
  597. "RO",
  598. "RU",
  599. "BL",
  600. "MF",
  601. "SB",
  602. "ZM",
  603. "WS",
  604. "SM",
  605. "ST",
  606. "SA",
  607. "SE",
  608. "CH",
  609. "SN",
  610. "RS",
  611. "SC",
  612. "SL",
  613. "ZW",
  614. "SG",
  615. "SX",
  616. "SK",
  617. "SI",
  618. "SO",
  619. "ES",
  620. "LK",
  621. "SH",
  622. "KN",
  623. "LC",
  624. "PM",
  625. "VC",
  626. "ZA",
  627. "SD",
  628. "GS",
  629. "SS",
  630. "SR",
  631. "SJ",
  632. "SZ",
  633. "SY",
  634. "TJ",
  635. "TW",
  636. "TZ",
  637. "TH",
  638. "TL",
  639. "TG",
  640. "TK",
  641. "TO",
  642. "TT",
  643. "TD",
  644. "CZ",
  645. "TN",
  646. "TR",
  647. "TM",
  648. "TC",
  649. "TV",
  650. "UM",
  651. "UG",
  652. "UA",
  653. "HU",
  654. "UY",
  655. "UZ",
  656. "VU",
  657. "VA",
  658. "VE",
  659. "AE",
  660. "US",
  661. "GB",
  662. "VN",
  663. "WF",
  664. "CX",
  665. "EH",
  666. "CF",
  667. "CY"
  668. ],
  669. "enumNames": [
  670. "Afghanistan",
  671. "Ägypten",
  672. "Alandinseln",
  673. "Albanien",
  674. "Algerien",
  675. "Amerikanisch-Samoa",
  676. "Andorra",
  677. "Angola",
  678. "Anguilla",
  679. "Antarktis",
  680. "Antigua und Barbuda",
  681. "Äquatorialguinea",
  682. "Argentinien",
  683. "Armenien",
  684. "Aruba",
  685. "Aserbaidschan",
  686. "Äthiopien",
  687. "Australien",
  688. "Bahamas",
  689. "Bahrain",
  690. "Bangladesch",
  691. "Barbados",
  692. "Belarus",
  693. "Belgien",
  694. "Belize",
  695. "Benin",
  696. "Bermuda",
  697. "Bhutan",
  698. "Bolivien",
  699. "Bonaire, Saint Eustatius und Saba",
  700. "Bosnien und Herzegowina",
  701. "Botsuana",
  702. "Bouvetinsel",
  703. "Brasilien",
  704. "Britische Territorien im Indischen Ozean",
  705. "Brunei Darussalam",
  706. "Bulgarien",
  707. "Burkina Faso",
  708. "Burundi",
  709. "Chile",
  710. "China",
  711. "Cookinseln",
  712. "Costa Rica",
  713. "Curaçao",
  714. "Dänemark",
  715. "Deutschland",
  716. "Dominica",
  717. "Dominikanische Republik",
  718. "Dschibuti",
  719. "Ecuador",
  720. "El Salvador",
  721. "Elfenbeinküste",
  722. "Eritrea",
  723. "Estland",
  724. "Falklandinseln",
  725. "Färöer",
  726. "Fidschi",
  727. "Finnland",
  728. "Frankreich",
  729. "Französisch-Guayana",
  730. "Französisch-Polynesien",
  731. "Französische Süd- und Antarktisgebiete",
  732. "Gabun",
  733. "Gambia",
  734. "Georgien",
  735. "Ghana",
  736. "Gibraltar",
  737. "Grenada",
  738. "Griechenland",
  739. "Grönland",
  740. "Guadeloupe",
  741. "Guam",
  742. "Guatemala",
  743. "Guernsey",
  744. "Guinea",
  745. "Guinea-Bissau",
  746. "Guyana",
  747. "Haiti",
  748. "Heard und McDonaldinseln",
  749. "Honduras",
  750. "Hongkong",
  751. "Indien",
  752. "Indonesien",
  753. "Insel Man",
  754. "Irak",
  755. "Iran",
  756. "Irland",
  757. "Island",
  758. "Israel",
  759. "Italien",
  760. "Jamaika",
  761. "Japan",
  762. "Jemen",
  763. "Jersey",
  764. "Jordanien",
  765. "Jungferninseln (UK)",
  766. "Jungferninseln (USA)",
  767. "Kaimaninseln",
  768. "Kambodscha",
  769. "Kamerun",
  770. "Kanada",
  771. "Kap Verde",
  772. "Kasachstan",
  773. "Katar",
  774. "Kenia",
  775. "Kirgisistan",
  776. "Kiribati",
  777. "Kokosinseln",
  778. "Kolumbien",
  779. "Komoren",
  780. "Kongo (Brazzaville)",
  781. "Kongo (Kinshasa)",
  782. "Korea (Nord-)",
  783. "Korea (Süd-)",
  784. "Kroatien",
  785. "Kuba",
  786. "Kuwait",
  787. "Laos",
  788. "Lesotho",
  789. "Lettland",
  790. "Libanon",
  791. "Liberia",
  792. "Libyen",
  793. "Liechtenstein",
  794. "Litauen",
  795. "Luxemburg",
  796. "Macao",
  797. "Madagaskar",
  798. "Malawi",
  799. "Malaysia",
  800. "Malediven",
  801. "Mali",
  802. "Malta",
  803. "Marokko",
  804. "Marshallinseln",
  805. "Martinique",
  806. "Mauretanien",
  807. "Mauritius",
  808. "Mayotte",
  809. "Mazedonien",
  810. "Mexiko",
  811. "Mikronesien",
  812. "Moldova",
  813. "Monaco",
  814. "Mongolei",
  815. "Montenegro",
  816. "Montserrat",
  817. "Mosambik",
  818. "Myanmar",
  819. "Namibia",
  820. "Nauru",
  821. "Nepal",
  822. "Neukaledonien",
  823. "Neuseeland",
  824. "Nicaragua",
  825. "Niederlande",
  826. "Niederländische Antillen",
  827. "Niger",
  828. "Nigeria",
  829. "Niue",
  830. "Nördliche Marianen",
  831. "Norfolkinsel",
  832. "Norwegen",
  833. "Oman",
  834. "Österreich",
  835. "Pakistan",
  836. "Palästina",
  837. "Palau",
  838. "Panama",
  839. "Papua-Neuguinea",
  840. "Paraguay",
  841. "Peru",
  842. "Philippinen",
  843. "Pitcairninseln",
  844. "Polen",
  845. "Portugal",
  846. "Puerto Rico",
  847. "Reunion",
  848. "Ruanda",
  849. "Rumänien",
  850. "Russland",
  851. "Saint-Barthélemy",
  852. "Saint-Martin (Frankreich)",
  853. "Salomoninseln",
  854. "Sambia",
  855. "Samoa",
  856. "San Marino",
  857. "São Tomé und Príncipe",
  858. "Saudi-Arabien",
  859. "Schweden",
  860. "Schweiz",
  861. "Senegal",
  862. "Serbien",
  863. "Seychellen",
  864. "Sierra Leone",
  865. "Simbabwe",
  866. "Singapur",
  867. "Sint Maarten (Niederlande)",
  868. "Slowakei",
  869. "Slowenien",
  870. "Somalia",
  871. "Spanien",
  872. "Sri Lanka",
  873. "St. Helena",
  874. "St. Kitts und Nevis",
  875. "St. Lucia",
  876. "St. Pierre und Miquelon",
  877. "St. Vincent und die Grenadinen",
  878. "Südafrika",
  879. "Sudan",
  880. "Südgeorgien und Südliche Sandwichinseln",
  881. "Südsudan",
  882. "Suriname",
  883. "Svalbard und Jan Mayen",
  884. "Swasiland",
  885. "Syrien",
  886. "Tadschikistan",
  887. "Taiwan (Chinesisches Taipei)",
  888. "Tansania",
  889. "Thailand",
  890. "Timor-Leste",
  891. "Togo",
  892. "Tokelau",
  893. "Tonga",
  894. "Trinidad und Tobago",
  895. "Tschad",
  896. "Tschechische Republik",
  897. "Tunesien",
  898. "Türkei",
  899. "Turkmenistan",
  900. "Turks- und Caicosinseln",
  901. "Tuvalu",
  902. "Übrige Inseln im Pazifik der USA",
  903. "Uganda",
  904. "Ukraine",
  905. "Ungarn",
  906. "Uruguay",
  907. "Usbekistan",
  908. "Vanuatu",
  909. "Vatikanstadt",
  910. "Venezuela",
  911. "Vereinigte Arabische Emirate",
  912. "Vereinigte Staaten",
  913. "Vereinigtes Königreich",
  914. "Vietnam",
  915. "Wallis und Futuna",
  916. "Weihnachtsinsel",
  917. "Westsahara",
  918. "Zentralafrikanische Republik",
  919. "Zypern"
  920. ]
  921. },
  922. "legalForm": {
  923. "type": "string",
  924. "title": "Rechtsform",
  925. "enum": [
  926. "0101",
  927. "0103",
  928. "0104",
  929. "0105",
  930. "0106",
  931. "0107",
  932. "0108",
  933. "0109",
  934. "0110",
  935. "0111",
  936. "0113",
  937. "0114",
  938. "0115",
  939. "0116",
  940. "0117",
  941. "0118",
  942. "0119",
  943. "0151",
  944. "0220",
  945. "0221",
  946. "0222",
  947. "0223",
  948. "0224",
  949. "0230",
  950. "0231",
  951. "0232",
  952. "0233",
  953. "0234",
  954. "0302",
  955. "0312",
  956. "0327",
  957. "0328",
  958. "0329",
  959. "0441"
  960. ],
  961. "enumNames": [
  962. "0101 - Einzelunternehmen",
  963. "0103 - Kollektivgesellschaft",
  964. "0104 - Kommanditgesellschaft",
  965. "0105 - Kommanditaktiengesellschaft",
  966. "0106 - Aktiengesellschaft",
  967. "0107 - Gesellschaft mit beschränkter Haftung (GmbH)",
  968. "0108 - Genossenschaft",
  969. "0109 - Verein",
  970. "0110 - Stiftung",
  971. "0111 - Ausländische Niederlassung im Handelsregister eingetragen",
  972. "0113 - Besondere Rechtsform",
  973. "0114 - Kommanditgesellschaft für kollektive Kapitalanlagen (KGK)",
  974. "0115 - Investmentgesellschaft mit variablem Kapital (SICAV)",
  975. "0116 - Investmentgesellschaft mit festem Kapital (SICAF)",
  976. "0117 - Institut des öffentlichen Rechts",
  977. "0118 - Nichtkaufmännische Prokuren",
  978. "0119 - Haupt von Gemeinschaften",
  979. "0151 - Schweizerische Zweigniederlassung im Handelsregister eingetragen",
  980. "0220 - Verwaltung Bund",
  981. "0221 - Verwaltung Kanton",
  982. "0222 - Verwaltung Bezirk",
  983. "0223 - Verwaltung Gemeinde",
  984. "0224 - Öffentlich-rechtliche Körperschaft Verwaltung",
  985. "0230 - Öffentliches Unternehmen des Bundes",
  986. "0231 - Öffentliches Unternehmen des Kantons",
  987. "0232 - Öffentliches Unternehmen des Bezirks",
  988. "0233 - Öffentliches Unternehmen der Gemeinde",
  989. "0234 - Öffentliches Unternehmen einer Körperschaft",
  990. "0302 - Einfache Gesellschaft",
  991. "0312 - Ausländische Niederlassung nicht im Handelsregister eingetragen",
  992. "0327 - Ausländisches öffentliches Unternehmen",
  993. "0328 - Ausländische öffentliche Verwaltung (z.B. Botschaft)",
  994. "0329 - Internationale Organisation",
  995. "0441 - Ausländische Unternehmen"
  996. ]
  997. },
  998. "persons": {
  999. "type": "array",
  1000. "minItems": 1,
  1001. "items": {
  1002. "$ref": "#/definitions/person"
  1003. }
  1004. },
  1005. "person": {
  1006. "type": "object",
  1007. "title": "Bauherrschaft",
  1008. "properties": {
  1009. "prename": {
  1010. "type": "string",
  1011. "title": "Vorname"
  1012. },
  1013. "name": {
  1014. "type": "string",
  1015. "title": "Name"
  1016. },
  1017. "countryOfOrigin": {
  1018. "$ref": "#/definitions/country",
  1019. "title": "Staatsbürgerschaft"
  1020. },
  1021. "placeOfOrigin": {
  1022. "type": "string",
  1023. "title": "Heimatort"
  1024. },
  1025. "residence": {
  1026. "type": "string",
  1027. "title": "Wohnsitz",
  1028. "enum": [
  1029. "switzerland",
  1030. "foreign",
  1031. "unknown"
  1032. ],
  1033. "enumNames": [
  1034. "Schweiz",
  1035. "Ausland",
  1036. "Nicht bekannt"
  1037. ]
  1038. }
  1039. },
  1040. "dependencies": {
  1041. "residence": {
  1042. "oneOf": [
  1043. {
  1044. "properties": {
  1045. "residence": {
  1046. "enum": [
  1047. "switzerland"
  1048. ]
  1049. },
  1050. "addressSwitzerland": {
  1051. "$ref": "#/definitions/address",
  1052. "title": ""
  1053. },
  1054. "personInformation": {
  1055. "type": "string",
  1056. "title": "Weitere Informationen zur Person"
  1057. }
  1058. },
  1059. "required": [
  1060. "addressSwitzerland"
  1061. ]
  1062. },
  1063. {
  1064. "properties": {
  1065. "residence": {
  1066. "enum": [
  1067. "foreign"
  1068. ]
  1069. },
  1070. "addressForeign": {
  1071. "type": "object",
  1072. "title": "",
  1073. "properties": {
  1074. "addressCustomText": {
  1075. "type": "string",
  1076. "title": "Adresse"
  1077. },
  1078. "country": {
  1079. "$ref": "#/definitions/country",
  1080. "title": "Staat"
  1081. }
  1082. }
  1083. },
  1084. "personInformation": {
  1085. "type": "string",
  1086. "title": "Weitere Informationen zur Person"
  1087. }
  1088. },
  1089. "required": [
  1090. "addressForeign"
  1091. ]
  1092. },
  1093. {
  1094. "properties": {
  1095. "residence": {
  1096. "enum": [
  1097. "unknown"
  1098. ]
  1099. }
  1100. },
  1101. "personInformation": {
  1102. "type": "string",
  1103. "title": "Weitere Informationen zur Person"
  1104. }
  1105. }
  1106. ]
  1107. }
  1108. },
  1109. "required": [
  1110. "prename",
  1111. "name",
  1112. "residence"
  1113. ]
  1114. },
  1115. "uid_data": {
  1116. "type": "object",
  1117. "title": "",
  1118. "required": [
  1119. "uid",
  1120. "uidOrganizationId",
  1121. "uidOrganizationIdCategory",
  1122. "name",
  1123. "legalForm",
  1124. "address"
  1125. ],
  1126. "properties": {
  1127. "uid": {
  1128. "type": "string",
  1129. "title": "UID"
  1130. },
  1131. "uidOrganizationId": {
  1132. "type": "string",
  1133. "title": "UID Organisations ID"
  1134. },
  1135. "uidOrganizationIdCategory": {
  1136. "type": "string",
  1137. "title": "UID Organisations ID Kategorie",
  1138. "enum": [
  1139. "CHE"
  1140. ]
  1141. },
  1142. "name": {
  1143. "type": "string",
  1144. "title": "Name"
  1145. },
  1146. "legalForm": {
  1147. "$ref": "#/definitions/legalForm"
  1148. },
  1149. "address": {
  1150. "$ref": "#/definitions/address",
  1151. "title": ""
  1152. }
  1153. }
  1154. }
  1155. }
  1156. }
Add Comment
Please, Sign In to add comment