@universis/accommodation 1.0.0
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.
- package/.gitlab-ci.yml +23 -0
- package/LICENSE +163 -0
- package/README.md +3 -0
- package/dist/AccommodationSchemaLoader.js +35 -0
- package/dist/AccommodationSchemaLoader.js.map +1 -0
- package/dist/AccommodationService.js +68 -0
- package/dist/AccommodationService.js.map +1 -0
- package/dist/DepartmentReplacer.js +54 -0
- package/dist/DepartmentReplacer.js.map +1 -0
- package/dist/StudentReplacer.js +75 -0
- package/dist/StudentReplacer.js.map +1 -0
- package/dist/config/models/Accommodation.json +96 -0
- package/dist/config/models/AccommodationCardEffectiveStatusType.json +107 -0
- package/dist/config/models/AccommodationCardEffectiveStatusTypeLocale.json +85 -0
- package/dist/config/models/AccommodationChildFinancialAttribute.json +46 -0
- package/dist/config/models/AccommodationGuardianFinancialAttribute.json +46 -0
- package/dist/config/models/AccommodationInscriptionModeTag.json +100 -0
- package/dist/config/models/AccommodationRequestAction.json +500 -0
- package/dist/config/models/AccommodationRequestActionMessage.json +46 -0
- package/dist/config/models/AccommodationRequestActionReview.json +31 -0
- package/dist/config/models/AccommodationRequestAttachmentConfiguration.json +72 -0
- package/dist/config/models/AccommodationRequestCategory.json +50 -0
- package/dist/config/models/AccommodationRequestEffectiveStatusType.json +212 -0
- package/dist/config/models/AccommodationRequestEffectiveStatusTypeLocale.json +85 -0
- package/dist/config/models/AccommodationRequestEvent.json +117 -0
- package/dist/config/models/AccommodationRequestFinancialAttribute.json +53 -0
- package/dist/config/models/AccommodationRoom.json +151 -0
- package/dist/config/models/AccommodationSiblingFinancialAttribute.json +57 -0
- package/dist/config/models/CancelAccommodationCardAction.json +32 -0
- package/dist/config/models/GuardianType.json +78 -0
- package/dist/config/models/Review.json +50 -0
- package/dist/config/models/RoomType.json +320 -0
- package/dist/config/models/RoomTypeLocale.json +86 -0
- package/dist/config/models/StudentAccommodationCard.json +158 -0
- package/dist/config/models/TestAction.json +50 -0
- package/dist/config/scope.access.js +148 -0
- package/dist/config/scope.access.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/listeners/AddDefaultAttachmentConfiguration.js +44 -0
- package/dist/listeners/AddDefaultAttachmentConfiguration.js.map +1 -0
- package/dist/listeners/DefaultAttachmentConfigurations.json +277 -0
- package/dist/listeners/DefaultAttachmentTypes.json +523 -0
- package/dist/listeners/GenerateRequestNumberListener.js +87 -0
- package/dist/listeners/GenerateRequestNumberListener.js.map +1 -0
- package/dist/listeners/OnActionCompleteListener.js +96 -0
- package/dist/listeners/OnActionCompleteListener.js.map +1 -0
- package/dist/listeners/OnCancelAccommodationCardListener.js +87 -0
- package/dist/listeners/OnCancelAccommodationCardListener.js.map +1 -0
- package/dist/listeners/OnReactivateAccommodationCardListener.js +87 -0
- package/dist/listeners/OnReactivateAccommodationCardListener.js.map +1 -0
- package/dist/listeners/SendEmailAfterActionStatusChangeListener.js +98 -0
- package/dist/listeners/SendEmailAfterActionStatusChangeListener.js.map +1 -0
- package/dist/listeners/SendEmailAfterCardStatusChangeListener.js +139 -0
- package/dist/listeners/SendEmailAfterCardStatusChangeListener.js.map +1 -0
- package/dist/listeners/StudentAccommodationCardSaveListener.js +90 -0
- package/dist/listeners/StudentAccommodationCardSaveListener.js.map +1 -0
- package/dist/listeners/UpdateStudentAccommodationCardListener.js +70 -0
- package/dist/listeners/UpdateStudentAccommodationCardListener.js.map +1 -0
- package/dist/listeners/ValidateActionListener.js +348 -0
- package/dist/listeners/ValidateActionListener.js.map +1 -0
- package/dist/listeners/data-localization.js +209 -0
- package/dist/listeners/data-localization.js.map +1 -0
- package/dist/listeners/lookup-cache-listener.js +90 -0
- package/dist/listeners/lookup-cache-listener.js.map +1 -0
- package/dist/models/Accommodation.js +53 -0
- package/dist/models/Accommodation.js.map +1 -0
- package/dist/models/AccommodationRequestAction.js +214 -0
- package/dist/models/AccommodationRequestAction.js.map +1 -0
- package/dist/models/AccommodationRequestEvent.js +277 -0
- package/dist/models/AccommodationRequestEvent.js.map +1 -0
- package/dist/models/EnableAttachmentModel.js +210 -0
- package/dist/models/EnableAttachmentModel.js.map +1 -0
- package/dist/models/StudentAccommodationCard.js +93 -0
- package/dist/models/StudentAccommodationCard.js.map +1 -0
- package/dist/models/TestAction.d.ts +5 -0
- package/dist/models/TestAction.js +5 -0
- package/dist/models/TestAction.js.map +1 -0
- package/dist/templates/mail-after-dining-request-status-change/html.ejs +27 -0
- package/package.json +57 -0
- package/src/AccommodationSchemaLoader.js +35 -0
- package/src/AccommodationService.js +67 -0
- package/src/DepartmentReplacer.js +53 -0
- package/src/StudentReplacer.js +74 -0
- package/src/config/models/Accommodation.json +96 -0
- package/src/config/models/AccommodationCardEffectiveStatusType.json +107 -0
- package/src/config/models/AccommodationCardEffectiveStatusTypeLocale.json +85 -0
- package/src/config/models/AccommodationChildFinancialAttribute.json +46 -0
- package/src/config/models/AccommodationGuardianFinancialAttribute.json +46 -0
- package/src/config/models/AccommodationInscriptionModeTag.json +100 -0
- package/src/config/models/AccommodationRequestAction.json +500 -0
- package/src/config/models/AccommodationRequestActionMessage.json +46 -0
- package/src/config/models/AccommodationRequestActionReview.json +31 -0
- package/src/config/models/AccommodationRequestAttachmentConfiguration.json +72 -0
- package/src/config/models/AccommodationRequestCategory.json +50 -0
- package/src/config/models/AccommodationRequestEffectiveStatusType.json +212 -0
- package/src/config/models/AccommodationRequestEffectiveStatusTypeLocale.json +85 -0
- package/src/config/models/AccommodationRequestEvent.json +117 -0
- package/src/config/models/AccommodationRequestFinancialAttribute.json +53 -0
- package/src/config/models/AccommodationRoom.json +151 -0
- package/src/config/models/AccommodationSiblingFinancialAttribute.json +57 -0
- package/src/config/models/CancelAccommodationCardAction.json +32 -0
- package/src/config/models/GuardianType.json +78 -0
- package/src/config/models/Review.json +50 -0
- package/src/config/models/RoomType.json +320 -0
- package/src/config/models/RoomTypeLocale.json +86 -0
- package/src/config/models/StudentAccommodationCard.json +158 -0
- package/src/config/models/TestAction.json +50 -0
- package/src/config/scope.access.js +148 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/listeners/AddDefaultAttachmentConfiguration.js +43 -0
- package/src/listeners/DefaultAttachmentConfigurations.json +277 -0
- package/src/listeners/DefaultAttachmentTypes.json +523 -0
- package/src/listeners/GenerateRequestNumberListener.js +86 -0
- package/src/listeners/OnActionCompleteListener.js +95 -0
- package/src/listeners/OnCancelAccommodationCardListener.js +86 -0
- package/src/listeners/OnReactivateAccommodationCardListener.js +86 -0
- package/src/listeners/SendEmailAfterActionStatusChangeListener.js +97 -0
- package/src/listeners/SendEmailAfterCardStatusChangeListener.js +138 -0
- package/src/listeners/StudentAccommodationCardSaveListener.js +89 -0
- package/src/listeners/UpdateStudentAccommodationCardListener.js +69 -0
- package/src/listeners/ValidateActionListener.js +347 -0
- package/src/listeners/data-localization.js +214 -0
- package/src/listeners/lookup-cache-listener.js +89 -0
- package/src/models/Accommodation.js +52 -0
- package/src/models/AccommodationRequestAction.js +195 -0
- package/src/models/AccommodationRequestEvent.js +276 -0
- package/src/models/EnableAttachmentModel.js +209 -0
- package/src/models/StudentAccommodationCard.js +92 -0
- package/src/models/TestAction.d.ts +5 -0
- package/src/models/TestAction.js +10 -0
- package/src/templates/mail-after-dining-request-status-change/html.ejs +27 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
|
|
3
|
+
"@id": "https://universis.io/schemas/AccommodationSiblingFinancialAttribute",
|
|
4
|
+
"name": "AccommodationSiblingFinancialAttribute",
|
|
5
|
+
"title": "AccommodationSiblingFinancialAttributes",
|
|
6
|
+
"hidden": true,
|
|
7
|
+
"sealed": false,
|
|
8
|
+
"abstract": false,
|
|
9
|
+
"version": "1.0",
|
|
10
|
+
"inherits": "AccommodationRequestFinancialAttribute",
|
|
11
|
+
"fields": [
|
|
12
|
+
{
|
|
13
|
+
"name": "accommodationRequest",
|
|
14
|
+
"type": "AccommodationRequestAction",
|
|
15
|
+
"nullable": false
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"privileges": [
|
|
19
|
+
{
|
|
20
|
+
"mask": 15,
|
|
21
|
+
"type": "global"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"mask": 15,
|
|
25
|
+
"type": "global",
|
|
26
|
+
"account": "Administrators"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"mask": 15,
|
|
30
|
+
"type": "global",
|
|
31
|
+
"account": "Administrators"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"mask": 15,
|
|
35
|
+
"type": "self",
|
|
36
|
+
"filter": "accommodationRequest/student/department eq departments()",
|
|
37
|
+
"account": "Administrators"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"mask": 1,
|
|
41
|
+
"type": "self",
|
|
42
|
+
"filter": "accommodationRequest/owner eq me()"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"mask": 2,
|
|
46
|
+
"type": "self",
|
|
47
|
+
"filter": "accommodationRequest/owner eq me() and accommodationRequest/agent eq null and accommodationRequest/actionStatus/alternateName eq 'PotentialActionStatus'",
|
|
48
|
+
"account": "Students"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"mask": 4,
|
|
52
|
+
"type": "self",
|
|
53
|
+
"filter": "accommodationRequest/owner eq me() and accommodationRequest/agent eq null and accommodationRequest/actionStatus/alternateName eq 'PotentialActionStatus'",
|
|
54
|
+
"account": "Students"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
|
|
3
|
+
"@id": "http://schema.org/CancelAccommodationCardAction",
|
|
4
|
+
"name": "CancelAccommodationCardAction",
|
|
5
|
+
"title": "CancelAccommodationCardAction",
|
|
6
|
+
"abstract": false,
|
|
7
|
+
"sealed": false,
|
|
8
|
+
"inherits": "Action",
|
|
9
|
+
"version": "1.0",
|
|
10
|
+
"fields": [
|
|
11
|
+
{
|
|
12
|
+
"@id": "http://schema.org/accommodationCard",
|
|
13
|
+
"name": "accommodationCard",
|
|
14
|
+
"type": "StudentAccommodationCard"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"privileges": [
|
|
18
|
+
{
|
|
19
|
+
"mask": 15,
|
|
20
|
+
"type": "global"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"mask": 15,
|
|
24
|
+
"type": "global",
|
|
25
|
+
"account": "Administrators"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"eventListeners": [{
|
|
29
|
+
"type": "@themost/data/previous-state-listener"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
|
|
3
|
+
"@id": "https://universis.io/schemas/GuardianType",
|
|
4
|
+
"name": "GuardianType",
|
|
5
|
+
"title": "GuardianTypes",
|
|
6
|
+
"hidden": false,
|
|
7
|
+
"sealed": false,
|
|
8
|
+
"abstract": false,
|
|
9
|
+
"caching": "always",
|
|
10
|
+
"implements": "Enumeration",
|
|
11
|
+
"version": "1.0",
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"name": "id",
|
|
15
|
+
"title": "Id",
|
|
16
|
+
"type": "Counter",
|
|
17
|
+
"nullable": false,
|
|
18
|
+
"primary": true
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"privileges": [
|
|
22
|
+
{
|
|
23
|
+
"mask": 1,
|
|
24
|
+
"type": "global",
|
|
25
|
+
"account": "*"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"mask": 15,
|
|
29
|
+
"type": "global"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"mask": 15,
|
|
33
|
+
"type": "global",
|
|
34
|
+
"account": "Administrators"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"constraints": [
|
|
38
|
+
{
|
|
39
|
+
"type": "unique",
|
|
40
|
+
"description": "Alternate name must be unique across different records",
|
|
41
|
+
"fields": [
|
|
42
|
+
"alternateName"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "unique",
|
|
47
|
+
"description": "Name must be unique across different records",
|
|
48
|
+
"fields": [
|
|
49
|
+
"name"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"seed": [
|
|
54
|
+
{
|
|
55
|
+
"alternateName": "nobody",
|
|
56
|
+
"name": "Κανένας",
|
|
57
|
+
"identifier": 1
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"alternateName": "parents",
|
|
61
|
+
"name": "Γονείς",
|
|
62
|
+
"identifier": 2
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"alternateName": "father",
|
|
66
|
+
"name": "Πατέρας",
|
|
67
|
+
"identifier": 3
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"alternateName": "mother",
|
|
71
|
+
"name": "Μητέρα",
|
|
72
|
+
"identifier": 4
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"eventListeners": [
|
|
76
|
+
|
|
77
|
+
]
|
|
78
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
|
|
3
|
+
"@id": "https://themost.io/schemas/Review",
|
|
4
|
+
"name": "Review",
|
|
5
|
+
"description": "A review of an item",
|
|
6
|
+
"title": "Reviews",
|
|
7
|
+
"abstract": false,
|
|
8
|
+
"sealed": false,
|
|
9
|
+
"hidden": true,
|
|
10
|
+
"implements": "Thing",
|
|
11
|
+
"version": "1.0",
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"name": "reviewBody",
|
|
15
|
+
"title": "Body",
|
|
16
|
+
"description": "The actual body of the review.",
|
|
17
|
+
"type": "Text",
|
|
18
|
+
"size": 4000
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "reviewAspect",
|
|
22
|
+
"title": "Review aspect",
|
|
23
|
+
"description": "This Review or Rating is relevant to this value.",
|
|
24
|
+
"type": "Text"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "reviewRating",
|
|
28
|
+
"title": "Review rating",
|
|
29
|
+
"description": "The rating given in this review.",
|
|
30
|
+
"type": "Number"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "itemReviewed",
|
|
34
|
+
"title": "Item reviewed",
|
|
35
|
+
"description": "The item that is being reviewed.",
|
|
36
|
+
"type": "Object"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"privileges": [
|
|
40
|
+
{
|
|
41
|
+
"mask": 15,
|
|
42
|
+
"type": "global"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"mask": 15,
|
|
46
|
+
"type": "global",
|
|
47
|
+
"account": "Administrators"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
|
|
3
|
+
"@id": "https://universis.io/schemas/RoomType",
|
|
4
|
+
"name": "RoomType",
|
|
5
|
+
"title": "Τύπος αίθουσας",
|
|
6
|
+
"type": "lookup",
|
|
7
|
+
"hidden": false,
|
|
8
|
+
"sealed": false,
|
|
9
|
+
"version": "1.4",
|
|
10
|
+
"fields": [
|
|
11
|
+
{
|
|
12
|
+
"name": "id",
|
|
13
|
+
"title": "Id",
|
|
14
|
+
"description": "Κωδικός",
|
|
15
|
+
"type": "Integer",
|
|
16
|
+
"nullable": false,
|
|
17
|
+
"size": 4,
|
|
18
|
+
"primary": true,
|
|
19
|
+
"value": "javascript:return this.newid();",
|
|
20
|
+
"readonly": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "name",
|
|
24
|
+
"title": "Ονομασία",
|
|
25
|
+
"description": "Η ονομασία του αντικειμένου",
|
|
26
|
+
"type": "Text",
|
|
27
|
+
"nullable": false,
|
|
28
|
+
"size": 100
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "alternateName",
|
|
32
|
+
"title": "Εναλλακτική Ονομασία",
|
|
33
|
+
"description": "Εναλλακτική Ονομασία",
|
|
34
|
+
"type": "Text",
|
|
35
|
+
"nullable": true,
|
|
36
|
+
"size": 100
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "accessibleType",
|
|
40
|
+
"title": "Προσβάσιμος τύπος (ΝΑΙ/ΟΧΙ)",
|
|
41
|
+
"description": "Αν o τύπος αίθουσας είναι προσβάσιμος σε άτομα με αναπηρία",
|
|
42
|
+
"type": "Boolean",
|
|
43
|
+
"calculation": "javascript:return this.convertStrictBoolean(this.target,'accessibleType');",
|
|
44
|
+
"nullable": false,
|
|
45
|
+
"value": "javascript:return 0;"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "locales",
|
|
49
|
+
"type": "RoomTypeLocale",
|
|
50
|
+
"mapping": {
|
|
51
|
+
"associationType": "association",
|
|
52
|
+
"cascade": "delete",
|
|
53
|
+
"parentModel": "RoomType",
|
|
54
|
+
"parentField": "id",
|
|
55
|
+
"childModel": "RoomTypeLocale",
|
|
56
|
+
"childField": "object"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "locale",
|
|
61
|
+
"type": "RoomTypeLocale",
|
|
62
|
+
"readonly": true,
|
|
63
|
+
"editable": false,
|
|
64
|
+
"many": true,
|
|
65
|
+
"expandable": true,
|
|
66
|
+
"multiplicity": "ZeroOrOne",
|
|
67
|
+
"mapping": {
|
|
68
|
+
"associationType": "association",
|
|
69
|
+
"cascade": "delete",
|
|
70
|
+
"parentModel": "RoomType",
|
|
71
|
+
"parentField": "id",
|
|
72
|
+
"childModel": "RoomTypeLocale",
|
|
73
|
+
"childField": "object",
|
|
74
|
+
"options": {
|
|
75
|
+
"$filter": "inLanguage eq lang()",
|
|
76
|
+
"$first": true
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"privileges": [
|
|
82
|
+
{
|
|
83
|
+
"mask": 1,
|
|
84
|
+
"type": "global",
|
|
85
|
+
"account": "*"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"mask": 31,
|
|
89
|
+
"type": "global"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"mask": 15,
|
|
93
|
+
"type": "global",
|
|
94
|
+
"account": "Administrators"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"eventListeners": [
|
|
98
|
+
{
|
|
99
|
+
"type": "./listeners/data-localization"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"seed":[
|
|
103
|
+
{
|
|
104
|
+
"alternateName": "unknown",
|
|
105
|
+
"name": "Άγνωστο",
|
|
106
|
+
"description": "Άγνωστο",
|
|
107
|
+
"locales": [
|
|
108
|
+
{
|
|
109
|
+
"inLanguage": "en",
|
|
110
|
+
"name": "Unknown",
|
|
111
|
+
"description": "Unknown"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"alternateName": "restaurant",
|
|
117
|
+
"name": "Εστιατόριο",
|
|
118
|
+
"description": "Εστιατόριο",
|
|
119
|
+
"locales": [
|
|
120
|
+
{
|
|
121
|
+
"inLanguage": "en",
|
|
122
|
+
"name": "Restaurant",
|
|
123
|
+
"description": "Restaurant"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"alternateName": "plain",
|
|
129
|
+
"name": "Κανονικό",
|
|
130
|
+
"description": "Κανονικό",
|
|
131
|
+
"locales": [
|
|
132
|
+
{
|
|
133
|
+
"inLanguage": "en",
|
|
134
|
+
"name": "Plain",
|
|
135
|
+
"description": "Plain"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"alternateName": "disabled",
|
|
141
|
+
"name": "Ανενεργό",
|
|
142
|
+
"description": "Ανενεργό",
|
|
143
|
+
"locales": [
|
|
144
|
+
{
|
|
145
|
+
"inLanguage": "en",
|
|
146
|
+
"name": "Disabled",
|
|
147
|
+
"description": "Disabled"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"alternateName": "warehouse",
|
|
153
|
+
"name": "Αποθήκη",
|
|
154
|
+
"description": "Αποθήκη",
|
|
155
|
+
"locales": [
|
|
156
|
+
{
|
|
157
|
+
"inLanguage": "en",
|
|
158
|
+
"name": "Warehouse",
|
|
159
|
+
"description": "Warehouse"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"alternateName": "office",
|
|
165
|
+
"name": "Γραφείο",
|
|
166
|
+
"description": "Γραφείο",
|
|
167
|
+
"locales": [
|
|
168
|
+
{
|
|
169
|
+
"inLanguage": "en",
|
|
170
|
+
"name": "Office",
|
|
171
|
+
"description": "Office"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"alternateName": "lab",
|
|
177
|
+
"name": "Εργαστήριο",
|
|
178
|
+
"description": "Εργαστήριο",
|
|
179
|
+
"locales": [
|
|
180
|
+
{
|
|
181
|
+
"inLanguage": "en",
|
|
182
|
+
"name": "Lab",
|
|
183
|
+
"description": "Lab"
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"alternateName": "wc",
|
|
189
|
+
"name": "WC",
|
|
190
|
+
"description": "WC",
|
|
191
|
+
"locales": [
|
|
192
|
+
{
|
|
193
|
+
"inLanguage": "en",
|
|
194
|
+
"name": "WC",
|
|
195
|
+
"description": "WC"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"alternateName": "reading-room",
|
|
201
|
+
"name": "Αναγνωστήριο",
|
|
202
|
+
"description": "Αναγνωστήριο",
|
|
203
|
+
"locales": [
|
|
204
|
+
{
|
|
205
|
+
"inLanguage": "en",
|
|
206
|
+
"name": "Reading Room",
|
|
207
|
+
"description": "Reading Room"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"alternateName": "multi-purpose",
|
|
213
|
+
"name": "Πολυχρηστικό",
|
|
214
|
+
"description": "Πολυχρηστικό",
|
|
215
|
+
"locales": [
|
|
216
|
+
{
|
|
217
|
+
"inLanguage": "en",
|
|
218
|
+
"name": "Multi purpose",
|
|
219
|
+
"description": "Multi purpose"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"alternateName": "event-hall",
|
|
225
|
+
"name": "Αίθουσα εκδηλώσεων",
|
|
226
|
+
"description": "Αίθουσα εκδηλώσεων",
|
|
227
|
+
"locales": [
|
|
228
|
+
{
|
|
229
|
+
"inLanguage": "en",
|
|
230
|
+
"name": "Event hall",
|
|
231
|
+
"description": "Event hall"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"alternateName": "library",
|
|
237
|
+
"name": "Βιβλιοθήκη",
|
|
238
|
+
"description": "Βιβλιοθήκη",
|
|
239
|
+
"locales": [
|
|
240
|
+
{
|
|
241
|
+
"inLanguage": "en",
|
|
242
|
+
"name": "Library",
|
|
243
|
+
"description": "Library"
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"alternateName": "boiler",
|
|
249
|
+
"name": "Λεβητοστάσιο",
|
|
250
|
+
"description": "Λεβητοστάσιο",
|
|
251
|
+
"locales": [
|
|
252
|
+
{
|
|
253
|
+
"inLanguage": "en",
|
|
254
|
+
"name": "Boiler",
|
|
255
|
+
"description": "Boiler"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"alternateName": "mechanical",
|
|
261
|
+
"name": "Μηχανοστάσιο",
|
|
262
|
+
"description": "Μηχανοστάσιο",
|
|
263
|
+
"locales": [
|
|
264
|
+
{
|
|
265
|
+
"inLanguage": "en",
|
|
266
|
+
"name": "Mechanical",
|
|
267
|
+
"description": "Mechanical"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"alternateName": "laundry",
|
|
273
|
+
"name": "Πλυντήριο",
|
|
274
|
+
"description": "Πλυντήριο",
|
|
275
|
+
"locales": [
|
|
276
|
+
{
|
|
277
|
+
"inLanguage": "en",
|
|
278
|
+
"name": "Laundry",
|
|
279
|
+
"description": "Laundry"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"alternateName": "church",
|
|
285
|
+
"name": "Εκκλησία",
|
|
286
|
+
"description": "Εκκλησία",
|
|
287
|
+
"locales": [
|
|
288
|
+
{
|
|
289
|
+
"inLanguage": "en",
|
|
290
|
+
"name": "Church",
|
|
291
|
+
"description": "Church"
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"alternateName": "hostel",
|
|
297
|
+
"name": "Χόστελ",
|
|
298
|
+
"description": "Χόστελ",
|
|
299
|
+
"locales": [
|
|
300
|
+
{
|
|
301
|
+
"inLanguage": "en",
|
|
302
|
+
"name": "Hostel",
|
|
303
|
+
"description": "Hostel"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"alternateName": "temporary",
|
|
309
|
+
"name": "Προσωρινό",
|
|
310
|
+
"description": "Προσωρινό",
|
|
311
|
+
"locales": [
|
|
312
|
+
{
|
|
313
|
+
"inLanguage": "en",
|
|
314
|
+
"name": "Temporary",
|
|
315
|
+
"description": "Temporary"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
|
|
3
|
+
"@id": "https://universis.io/entities/RoomTypeLocale",
|
|
4
|
+
"name": "RoomTypeLocale",
|
|
5
|
+
"description": "Contains a collection of extra field required for room types.",
|
|
6
|
+
"title": "RoomTypeLocale",
|
|
7
|
+
"abstract": false,
|
|
8
|
+
"contains": "RoomType",
|
|
9
|
+
"hidden": true,
|
|
10
|
+
"sealed": false,
|
|
11
|
+
"version": "1.4",
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"@id": "https://themost.io/schemas/id",
|
|
15
|
+
"name": "id",
|
|
16
|
+
"title": "ID",
|
|
17
|
+
"description": "The identifier of the item.",
|
|
18
|
+
"type": "Counter",
|
|
19
|
+
"primary": true,
|
|
20
|
+
"nullable": false
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"@id": "https://themost.io/schemas/object",
|
|
24
|
+
"name": "object",
|
|
25
|
+
"title": "object",
|
|
26
|
+
"description": "The parent item.",
|
|
27
|
+
"type": "RoomType"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"@id": "http://schema.org/inLanguage",
|
|
31
|
+
"name": "inLanguage",
|
|
32
|
+
"title": "inLanguage",
|
|
33
|
+
"description": "The language of this item.",
|
|
34
|
+
"type": "Text",
|
|
35
|
+
"size": 5
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "name",
|
|
39
|
+
"title": "Ονομασία",
|
|
40
|
+
"description": "Η ονομασία του αντικειμένου",
|
|
41
|
+
"type": "Text",
|
|
42
|
+
"nullable": true,
|
|
43
|
+
"size": 100
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "alternateName",
|
|
47
|
+
"title": "Εναλλακτική Ονομασία",
|
|
48
|
+
"description": "Εναλλακτική Ονομασία",
|
|
49
|
+
"type": "Text",
|
|
50
|
+
"nullable": true,
|
|
51
|
+
"size": 100
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "abbreviation",
|
|
55
|
+
"title": "Συντομογραφία",
|
|
56
|
+
"description": "Συντομογραφία",
|
|
57
|
+
"type": "Text",
|
|
58
|
+
"nullable": true,
|
|
59
|
+
"size": 10
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"constraints": [
|
|
63
|
+
{
|
|
64
|
+
"type": "unique",
|
|
65
|
+
"fields": [
|
|
66
|
+
"object", "inLanguage"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"privileges": [
|
|
71
|
+
{
|
|
72
|
+
"mask": 1,
|
|
73
|
+
"type": "global",
|
|
74
|
+
"account": "*"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"mask": 31,
|
|
78
|
+
"type": "global"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"mask": 15,
|
|
82
|
+
"type": "global",
|
|
83
|
+
"account": "Administrators"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|