diff --git a/file-formats/chkv/chkv-v1.json b/file-formats/chkv/chkv-v1.json index ef3e0818d..61bd3801f 100644 --- a/file-formats/chkv/chkv-v1.json +++ b/file-formats/chkv/chkv-v1.json @@ -93,6 +93,67 @@ "description": "The value of the parameter", "type": "string" }, + "structuredValue": { + "title": "Parameter Structure", + "description": "A structured value of a parameter", + "type": "array", + "uniqueItems": true, + "items": { + "title": "Component", + "description": "Component of a structure as a key-value pair", + "type": "object", + "properties": { + "field": { + "title": "Component Name", + "description": "Name of a component of a structure", + "type": "string" + }, + "value": { + "title": "Component Value", + "description": "Value of a component of a structure", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "field", + "value" + ] + } + }, + "structuredValueList": { + "title": "Parameter Structure List", + "description": "A list of structured values of a parameter", + "type": "array", + "items": { + "title": "Structure", + "description": "A structured value as a list of key-value pairs", + "type": "array", + "uniqueItems": true, + "items": { + "title": "Component", + "description": "Component of a structure as a key-value pair", + "type": "object", + "properties": { + "field": { + "title": "Component Name", + "description": "Name of a component of a structure", + "type": "string" + }, + "value": { + "title": "Component Value", + "description": "Value of a component of a structure", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "field", + "value" + ] + } + } + }, "valueList": { "title": "List of Parameter Values", "description": "List of values for a multi-value check parameter", diff --git a/file-formats/chkv/type/zif_aff_chkv_v1.intf.abap b/file-formats/chkv/type/zif_aff_chkv_v1.intf.abap index b9e9bdfd3..b62e1277a 100644 --- a/file-formats/chkv/type/zif_aff_chkv_v1.intf.abap +++ b/file-formats/chkv/type/zif_aff_chkv_v1.intf.abap @@ -27,6 +27,24 @@ INTERFACE zif_aff_chkv_v1 "!

Entry in Value List

"! A parameter value in the parameter value list ty_param_value TYPE string, + "!

Component

+ "! Component of a structure as a key-value pair + BEGIN OF ty_structured_value_comp, + "!

Component Name

+ "! Name of a component of a structure + "! $required + field TYPE string, + "!

Component Value

+ "! Value of a component of a structure + "! $required + value TYPE string, + END OF ty_structured_value_comp, + "!

Structure

+ "! A structured value as a list of key-value pairs + ty_structured_value TYPE SORTED TABLE OF ty_structured_value_comp WITH UNIQUE KEY field, + "!

Structure List

+ "! A list of structured values + ty_structured_value_list TYPE STANDARD TABLE OF ty_structured_value WITH DEFAULT KEY, "!

Parameter

"! Parameter of ATC check @@ -34,16 +52,22 @@ INTERFACE zif_aff_chkv_v1 "!

Parameter Name

"! The parameter name "! $required - name TYPE string, + name TYPE string, "!

Parameter Value

"! The value of the parameter - value TYPE string, + value TYPE string, + "!

Parameter Structure

+ "! A structured value of a parameter + structured_value TYPE ty_structured_value, + "!

Parameter Structure List

+ "! A list of structured values of a parameter + structured_value_list TYPE ty_structured_value_list, "!

List of Parameter Values

"! List of values for a multi-value check parameter - value_list TYPE STANDARD TABLE OF ty_param_value WITH DEFAULT KEY, + value_list TYPE STANDARD TABLE OF ty_param_value WITH DEFAULT KEY, "!

List of Range Values

"! List of range values for a check parameter - value_range_list TYPE ty_ranges, + value_range_list TYPE ty_ranges, END OF ty_parameter, "!

Parameters