Skip to content

Commit 7ffbc3b

Browse files
Add new object type UIST
1 parent 9019fda commit 7ffbc3b

File tree

3 files changed

+34
-35
lines changed

3 files changed

+34
-35
lines changed

file-formats/uist/examples/z_aff_example_uist.uist.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"description": "Example of UIST Object for ABAP file formats",
55
"originalLanguage": "en"
66
},
7-
"spaceTemplateId": "Z_AFF_EXAMPLE_UIST",
8-
"spaceTemplateTitle": "Example of UIST Object for ABAP file formats",
9-
"spaceTemplateDescription": "Example of UIST Object for ABAP file formats",
10-
"spaceTemplateSortPriority": 1.001,
7+
"id": "Z_AFF_EXAMPLE_UIST",
8+
"title": "Example of UIST Object for ABAP file formats",
9+
"description": "Example of UIST Object for ABAP file formats",
10+
"sortPriority": 1.001,
1111
"baseSpaceTemplateId": "Z_TEST",
1212
"pages": [
1313
{

file-formats/uist/type/zif_aff_uist_v1.intf.abap

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ INTERFACE zif_aff_uist_v1
55
"! <p class="shorttext">SAP Fiori Page Template</p>
66
"! SAP Fiori Page Template
77
BEGIN OF ty_page,
8-
"! <p class="shorttext">ID</p>
9-
"! ID
8+
"! <p class="shorttext">Page Template ID</p>
9+
"! Page Template ID
1010
page_template_id TYPE c LENGTH 35,
1111

1212
"! <p class="shorttext">Title</p>
@@ -27,41 +27,40 @@ INTERFACE zif_aff_uist_v1
2727
"! <p class="shorttext">Format Version</p>
2828
"! Format version
2929
"! $required
30-
format_version TYPE zif_aff_types_v1=>ty_format_version,
30+
format_version TYPE zif_aff_types_v1=>ty_format_version,
3131

3232
"! <p class="shorttext">Header</p>
3333
"! Header
3434
"! $required
35-
header TYPE zif_aff_types_v1=>ty_header_100,
35+
header TYPE zif_aff_types_v1=>ty_header_100,
3636

3737
"! <p class="shorttext">ID</p>
38-
"! ID
38+
"! Space Template ID
3939
"! $required
40-
space_template_id TYPE c LENGTH 35,
40+
id TYPE c LENGTH 35,
4141

4242
"! <p class="shorttext">Title</p>
43-
"! Title
43+
"! Space Template Title
4444
"! $required
45-
space_template_title TYPE zif_aff_types_v1=>ty_description_100,
45+
title TYPE zif_aff_types_v1=>ty_description_100,
4646

4747
"! <p class="shorttext">Description </p>
48-
"! Description
48+
"! Space Template Description
4949
"! $required
50-
space_template_description TYPE zif_aff_types_v1=>ty_description_100,
50+
description TYPE zif_aff_types_v1=>ty_description_100,
5151

5252
"! <p class="shorttext">Sort Priority</p>
5353
"! Sort priority
54-
"! $minimum: 0.001
54+
"! $minimum: -999.999
5555
"! $maximum: 999.999
56-
"! $multipleOf: 0.001
57-
space_template_sort_priority TYPE p LENGTH 7 DECIMALS 3,
56+
sort_priority TYPE p LENGTH 7 DECIMALS 3,
5857

59-
"! <p class="shorttext">Base Space ID</p>
58+
"! <p class="shorttext">Base Space Template ID</p>
6059
"! Base Space Template ID
6160
base_space_template_id TYPE c LENGTH 35,
6261

6362
"! <p class="shorttext">Page Templates</p>
6463
"! Assigned SAP Fiori launchpad page templates
65-
page_templates TYPE ty_pages,
64+
pages TYPE ty_pages,
6665
END OF ty_main.
6766
ENDINTERFACE.

file-formats/uist/uist-v1.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "object",
88
"properties": {
99
"formatVersion": {
10-
"title": "Format version",
10+
"title": "Format Version",
1111
"description": "Format version",
1212
"type": "string",
1313
"const": "1"
@@ -59,40 +59,40 @@
5959
"originalLanguage"
6060
]
6161
},
62-
"spaceTemplateId": {
62+
"id": {
6363
"title": "ID",
64-
"description": "ID",
64+
"description": "Space Template ID",
6565
"type": "string",
6666
"maxLength": 35
6767
},
68-
"spaceTemplateTitle": {
68+
"title": {
6969
"title": "Title",
70-
"description": "Title",
70+
"description": "Space Template Title",
7171
"type": "string",
7272
"maxLength": 100
7373
},
74-
"spaceTemplateDescription": {
74+
"description": {
7575
"title": "Description",
76-
"description": "Description",
76+
"description": "Space Template Description",
7777
"type": "string",
7878
"maxLength": 100
7979
},
80-
"spaceTemplateSortPriority": {
80+
"sortPriority": {
8181
"title": "Sort Priority",
8282
"description": "Sort priority",
8383
"type": "number",
84-
"minimum": 0.001,
84+
"minimum": -999.999,
8585
"maximum": 999.999,
8686
"multipleOf": 0.001
8787
},
8888
"baseSpaceTemplateId": {
89-
"title": "Base Space ID",
89+
"title": "Base Space Template ID",
9090
"description": "Base Space Template ID",
9191
"type": "string",
9292
"maxLength": 35
9393
},
9494
"pages": {
95-
"title": "Assigned SAP Fiori Launchpad Page Templates",
95+
"title": "Page Templates",
9696
"description": "Assigned SAP Fiori launchpad page templates",
9797
"type": "array",
9898
"items": {
@@ -101,8 +101,8 @@
101101
"type": "object",
102102
"properties": {
103103
"pageTemplateId": {
104-
"title": "ID",
105-
"description": "ID",
104+
"title": "Page Template ID",
105+
"description": "Page Template ID",
106106
"type": "string",
107107
"maxLength": 35
108108
},
@@ -127,8 +127,8 @@
127127
"required": [
128128
"formatVersion",
129129
"header",
130-
"spaceTemplateId",
131-
"spaceTemplateTitle",
132-
"spaceTemplateDescription"
130+
"id",
131+
"title",
132+
"description"
133133
]
134134
}

0 commit comments

Comments
 (0)