@leuffen/themejs1 8.0.3 → 8.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,140 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Website Configuration",
4
+ "description": "JSON schema for website configuration. Use data from context to fill in the values.",
5
+ "type": "object",
6
+ "properties": {
7
+ "pagebuilder": {
8
+ "type": "string",
9
+ "description": "Just replace the subscriptio_id (like name-k123) with the actual data from context"
10
+ },
11
+ "site_base_url": {
12
+ "type": "string",
13
+ "description": "Base URL of the site (load from context) - if not defined, use undefined-domain.de as fallback"
14
+ },
15
+ "subscription_id": {
16
+ "type": "string",
17
+ "description": "The subscription_id has the format name-k123. Look for some-text-k<number>"
18
+ },
19
+ "title": {
20
+ "type": "string",
21
+ "description": "Title of the website"
22
+ },
23
+ "name": {
24
+ "type": "string",
25
+ "description": "Name of the practice"
26
+ },
27
+ "name2": {
28
+ "type": "string",
29
+ "description": "Secondary name of the practice",
30
+ "nullable": true
31
+ },
32
+ "desc": {
33
+ "type": "string",
34
+ "description": "Short description"
35
+ },
36
+ "fachrichtung": {
37
+ "type": "string",
38
+ "description": "Specialty"
39
+ },
40
+ "logoalt": {
41
+ "type": "string",
42
+ "description": "Alt text for the logo"
43
+ },
44
+ "street": {
45
+ "type": "string",
46
+ "description": "Street address"
47
+ },
48
+ "zip": {
49
+ "type": "string",
50
+ "description": "ZIP code"
51
+ },
52
+ "city": {
53
+ "type": "string",
54
+ "description": "City"
55
+ },
56
+ "termin_url": {
57
+ "type": "string",
58
+ "description": "URL for appointments. If not provided in context use /online-termin as fallback"
59
+ },
60
+ "map_url": {
61
+ "type": "string",
62
+ "description": "Embedded map URL"
63
+ },
64
+ "map_link": {
65
+ "type": "string",
66
+ "description": "Link to the map"
67
+ },
68
+ "datenschutzbeauftragter": {
69
+ "type": "string",
70
+ "description": "Output null if no data available, otherwise the name of the data protection officer"
71
+ },
72
+ "bildnachweise": {
73
+ "type": "string",
74
+ "description": "Image credits"
75
+ },
76
+ "phone1_text": {
77
+ "type": "string",
78
+ "description": "Displayed phone number Format: (123) 456-7890"
79
+ },
80
+ "phone1": {
81
+ "type": "string",
82
+ "description": "Phone number with country code without spaces or dashes Format: +1234567890"
83
+ },
84
+ "fax1_text": {
85
+ "type": "string",
86
+ "description": "Displayed fax number: Format: (123) 456-7890",
87
+ },
88
+ "email": {
89
+ "type": "string",
90
+ "description": "Email address"
91
+ },
92
+ "domain": {
93
+ "type": "string",
94
+ "description": "Domain. In unspecified use undefined-domain.de as fallback",
95
+ "nullable": true
96
+ },
97
+ "tools": {
98
+ "type": "object",
99
+ "description": "Tools configuration",
100
+ "properties": {
101
+ "googlemaps": {
102
+ "type": "boolean",
103
+ "description": "Google Maps enabled"
104
+ },
105
+ "jameda": {
106
+ "type": "boolean",
107
+ "description": "Jameda enabled: Default is false"
108
+ },
109
+ "recaptcha": {
110
+ "type": "boolean",
111
+ "description": "reCAPTCHA enabled: Default is false"
112
+ }
113
+ },
114
+ "required": ["googlemaps", "jameda", "recaptcha"]
115
+ }
116
+ },
117
+ "required": [
118
+ "pagebuilder",
119
+ "site_base_url",
120
+ "subscription_id",
121
+ "title",
122
+ "name",
123
+ "desc",
124
+ "fachrichtung",
125
+ "logoalt",
126
+ "street",
127
+ "zip",
128
+ "city",
129
+ "termin_url",
130
+ "map_url",
131
+ "map_link",
132
+ "datenschutzbeauftragter",
133
+ "bildnachweise",
134
+ "phone1_text",
135
+ "phone1",
136
+ "fax1_text",
137
+ "email",
138
+ "tools"
139
+ ]
140
+ }
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "table": {
10
10
  "type": "array",
11
- "items": {
11
+ "description": "Table with opening hours. Provide a dedicated row for each day in the week (Mo - Fr).",
12
+ "items": {
12
13
  "type": "object",
13
14
  "properties": {
14
15
  "day": {
@@ -50,7 +51,8 @@
50
51
  },
51
52
  "vacation": {
52
53
  "type": "array",
53
- "items": {
54
+ "description": "List of vacation days. Provide a dedicated row for each vacation day. Always provide a demo entry with start and enddate in the past",
55
+ "items": {
54
56
  "type": "object",
55
57
  "properties": {
56
58
  "from": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leuffen/themejs1",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "description": "",
5
5
  "license": "proprietary",
6
6
  "main": "./dist/index.js",