Skip to content

Commit

Permalink
Recreate json schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
lord-haffi committed Oct 6, 2023
1 parent cdb5aaa commit 5fff1b4
Show file tree
Hide file tree
Showing 93 changed files with 11,382 additions and 4,301 deletions.
568 changes: 407 additions & 161 deletions json_schemas/bo/Angebot.json

Large diffs are not rendered by default.

179 changes: 127 additions & 52 deletions json_schemas/bo/Ansprechpartner.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,27 @@
"title": "Hausnummer"
},
"landescode": {
"allOf": [
"anyOf": [
{
"$ref": "#/$defs/Landescode"
},
{
"type": "null"
}
],
"default": "DE"
},
"ort": {
"title": "Ort",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ort"
},
"ortsteil": {
"anyOf": [
Expand All @@ -89,8 +100,16 @@
"title": "Postfach"
},
"postleitzahl": {
"title": "Postleitzahl",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Postleitzahl"
},
"strasse": {
"anyOf": [
Expand All @@ -105,10 +124,6 @@
"title": "Strasse"
}
},
"required": [
"postleitzahl",
"ort"
],
"title": "Adresse",
"type": "object"
},
Expand Down Expand Up @@ -181,18 +196,30 @@
"title": " Id"
},
"exRefName": {
"title": "Exrefname",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Exrefname"
},
"exRefWert": {
"title": "Exrefwert",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Exrefwert"
}
},
"required": [
"exRefName",
"exRefWert"
],
"title": "ExterneReferenz",
"type": "object"
},
Expand Down Expand Up @@ -267,19 +294,35 @@
"type": "null"
}
],
"default": [],
"default": null,
"title": "Externereferenzen"
},
"geschaeftspartnerrolle": {
"items": {
"$ref": "#/$defs/Geschaeftspartnerrolle"
},
"title": "Geschaeftspartnerrolle",
"type": "array"
"anyOf": [
{
"items": {
"$ref": "#/$defs/Geschaeftspartnerrolle"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Geschaeftspartnerrolle"
},
"gewerbekennzeichnung": {
"title": "Gewerbekennzeichnung",
"type": "boolean"
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Gewerbekennzeichnung"
},
"glaeubigerId": {
"anyOf": [
Expand Down Expand Up @@ -317,12 +360,20 @@
"type": "null"
}
],
"default": [],
"default": null,
"title": "Kontaktweg"
},
"name1": {
"title": "Name1",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name1"
},
"name2": {
"anyOf": [
Expand Down Expand Up @@ -389,11 +440,6 @@
"title": "Website"
}
},
"required": [
"name1",
"gewerbekennzeichnung",
"geschaeftspartnerrolle"
],
"title": "Geschaeftspartner",
"type": "object"
},
Expand Down Expand Up @@ -694,17 +740,29 @@
"title": " Id"
},
"nummerntyp": {
"$ref": "#/$defs/Rufnummernart"
"anyOf": [
{
"$ref": "#/$defs/Rufnummernart"
},
{
"type": "null"
}
],
"default": null
},
"rufnummer": {
"title": "Rufnummer",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Rufnummer"
}
},
"required": [
"nummerntyp",
"rufnummer"
],
"title": "Rufnummer",
"type": "object"
},
Expand Down Expand Up @@ -841,12 +899,17 @@
"title": "Jobtitel"
},
"themengebiet": {
"$ref": "#/$defs/Themengebiet"
"anyOf": [
{
"$ref": "#/$defs/Themengebiet"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"themengebiet"
],
"title": "Zustaendigkeit",
"type": "object"
}
Expand Down Expand Up @@ -920,11 +983,19 @@
"type": "null"
}
],
"default": [],
"default": null,
"title": "Externereferenzen"
},
"geschaeftspartner": {
"$ref": "#/$defs/Geschaeftspartner"
"anyOf": [
{
"$ref": "#/$defs/Geschaeftspartner"
},
{
"type": "null"
}
],
"default": null
},
"individuelleAnrede": {
"anyOf": [
Expand All @@ -951,8 +1022,16 @@
"title": "Kommentar"
},
"nachname": {
"title": "Nachname",
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Nachname"
},
"rufnummer": {
"anyOf": [
Expand Down Expand Up @@ -1005,10 +1084,6 @@
"default": null
}
},
"required": [
"nachname",
"geschaeftspartner"
],
"title": "Ansprechpartner",
"type": "object"
}
Loading

0 comments on commit 5fff1b4

Please sign in to comment.