|
| 1 | +{ |
| 2 | + "$comment": "This file is autogenerated, do not edit manually, see https://github.com/SAP/abap-file-formats for more information.", |
| 3 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 4 | + "$id": "https://github.com/SAP/abap-file-formats/blob/main/file-formats/aifa/aifa-v1.json", |
| 5 | + "title": "Action", |
| 6 | + "description": "Action", |
| 7 | + "type": "object", |
| 8 | + "properties": { |
| 9 | + "formatVersion": { |
| 10 | + "title": "ABAP File Format Version", |
| 11 | + "description": "The ABAP file format version", |
| 12 | + "type": "string", |
| 13 | + "const": "1" |
| 14 | + }, |
| 15 | + "header": { |
| 16 | + "title": "Header", |
| 17 | + "description": "Header", |
| 18 | + "type": "object", |
| 19 | + "properties": { |
| 20 | + "description": { |
| 21 | + "title": "Description", |
| 22 | + "description": "Description of the ABAP object", |
| 23 | + "type": "string", |
| 24 | + "maxLength": 60 |
| 25 | + }, |
| 26 | + "originalLanguage": { |
| 27 | + "title": "Original Language", |
| 28 | + "description": "Original language of the ABAP object", |
| 29 | + "type": "string", |
| 30 | + "minLength": 2 |
| 31 | + }, |
| 32 | + "abapLanguageVersion": { |
| 33 | + "title": "ABAP Language Version", |
| 34 | + "description": "ABAP language version", |
| 35 | + "type": "string", |
| 36 | + "enum": [ |
| 37 | + "standard", |
| 38 | + "cloudDevelopment" |
| 39 | + ], |
| 40 | + "enumTitles": [ |
| 41 | + "Standard", |
| 42 | + "ABAP Cloud Development" |
| 43 | + ], |
| 44 | + "enumDescriptions": [ |
| 45 | + "Standard", |
| 46 | + "ABAP cloud development" |
| 47 | + ], |
| 48 | + "default": "standard" |
| 49 | + } |
| 50 | + }, |
| 51 | + "additionalProperties": false, |
| 52 | + "required": [ |
| 53 | + "description", |
| 54 | + "originalLanguage" |
| 55 | + ] |
| 56 | + }, |
| 57 | + "generalInformation": { |
| 58 | + "title": "General Information", |
| 59 | + "description": "General information", |
| 60 | + "type": "object", |
| 61 | + "properties": { |
| 62 | + "namespace": { |
| 63 | + "title": "Namespace", |
| 64 | + "description": "Namespace", |
| 65 | + "type": "string", |
| 66 | + "maxLength": 15 |
| 67 | + }, |
| 68 | + "aifAction": { |
| 69 | + "title": "AIF Action", |
| 70 | + "description": "AIF action", |
| 71 | + "type": "string", |
| 72 | + "maxLength": 20 |
| 73 | + }, |
| 74 | + "mainComponentType": { |
| 75 | + "title": "Main Component Type", |
| 76 | + "description": "Main component type", |
| 77 | + "type": "string", |
| 78 | + "maxLength": 30 |
| 79 | + }, |
| 80 | + "implementingClass": { |
| 81 | + "title": "Implementing Class", |
| 82 | + "description": "Implementing class", |
| 83 | + "type": "string", |
| 84 | + "maxLength": 30 |
| 85 | + } |
| 86 | + }, |
| 87 | + "additionalProperties": false, |
| 88 | + "required": [ |
| 89 | + "namespace", |
| 90 | + "aifAction" |
| 91 | + ] |
| 92 | + }, |
| 93 | + "fieldsToRestore": { |
| 94 | + "title": "Fields To Restore", |
| 95 | + "description": "Fields to restore", |
| 96 | + "type": "array", |
| 97 | + "items": { |
| 98 | + "title": "Field To Restore", |
| 99 | + "description": "Field to restore", |
| 100 | + "type": "object", |
| 101 | + "properties": { |
| 102 | + "name": { |
| 103 | + "title": "Name", |
| 104 | + "description": "Name", |
| 105 | + "type": "string" |
| 106 | + } |
| 107 | + }, |
| 108 | + "additionalProperties": false |
| 109 | + } |
| 110 | + }, |
| 111 | + "checks": { |
| 112 | + "title": "Checks", |
| 113 | + "description": "Checks", |
| 114 | + "type": "array", |
| 115 | + "items": { |
| 116 | + "title": "Check Details", |
| 117 | + "description": "Check details", |
| 118 | + "type": "object", |
| 119 | + "properties": { |
| 120 | + "id": { |
| 121 | + "title": "ID", |
| 122 | + "description": "ID", |
| 123 | + "type": "string", |
| 124 | + "maxLength": 3, |
| 125 | + "pattern": "^[0-9]+$" |
| 126 | + }, |
| 127 | + "check": { |
| 128 | + "title": "Check", |
| 129 | + "description": "Check", |
| 130 | + "type": "string", |
| 131 | + "maxLength": 30 |
| 132 | + }, |
| 133 | + "checkBehaviour": { |
| 134 | + "title": "Check Behavior", |
| 135 | + "description": "Check behavior", |
| 136 | + "type": "string", |
| 137 | + "enum": [ |
| 138 | + "treatAsError", |
| 139 | + "ignoreData" |
| 140 | + ], |
| 141 | + "enumTitles": [ |
| 142 | + "Treat As Error", |
| 143 | + "Ignore Data" |
| 144 | + ], |
| 145 | + "enumDescriptions": [ |
| 146 | + "Treat as error if check is not successful", |
| 147 | + "Ignore data if check is not successful" |
| 148 | + ], |
| 149 | + "default": "ignoreData" |
| 150 | + }, |
| 151 | + "fields": { |
| 152 | + "title": "Fields", |
| 153 | + "description": "Fields", |
| 154 | + "type": "array", |
| 155 | + "items": { |
| 156 | + "title": "Fields To Check", |
| 157 | + "description": "Field to check", |
| 158 | + "type": "object", |
| 159 | + "properties": { |
| 160 | + "type": { |
| 161 | + "title": "Type", |
| 162 | + "description": "Type", |
| 163 | + "type": "string", |
| 164 | + "enum": [ |
| 165 | + "sourceStructure", |
| 166 | + "destinationStructure", |
| 167 | + "constant", |
| 168 | + "systemField", |
| 169 | + "sendingSystem", |
| 170 | + "currentLineNumber", |
| 171 | + "hierarchicalMapping" |
| 172 | + ], |
| 173 | + "enumTitles": [ |
| 174 | + "Source Structure", |
| 175 | + "Destination Structure", |
| 176 | + "Constant", |
| 177 | + "System Field", |
| 178 | + "Sending System", |
| 179 | + "Current Line Number", |
| 180 | + "Hierarchical Mapping" |
| 181 | + ], |
| 182 | + "enumDescriptions": [ |
| 183 | + "Field is in source structure", |
| 184 | + "Field is in desctination structure", |
| 185 | + "Field is constant value", |
| 186 | + "Field is system field", |
| 187 | + "Field is in sending systemte", |
| 188 | + "Field is current line number", |
| 189 | + "Fieldpath is starting from a parant node" |
| 190 | + ], |
| 191 | + "default": "sourceStructure" |
| 192 | + }, |
| 193 | + "name": { |
| 194 | + "title": "Name/Value", |
| 195 | + "description": "Name/Value", |
| 196 | + "type": "string" |
| 197 | + } |
| 198 | + }, |
| 199 | + "additionalProperties": false |
| 200 | + } |
| 201 | + } |
| 202 | + }, |
| 203 | + "additionalProperties": false, |
| 204 | + "required": [ |
| 205 | + "id", |
| 206 | + "check" |
| 207 | + ] |
| 208 | + } |
| 209 | + } |
| 210 | + }, |
| 211 | + "additionalProperties": false, |
| 212 | + "required": [ |
| 213 | + "formatVersion", |
| 214 | + "header", |
| 215 | + "generalInformation" |
| 216 | + ] |
| 217 | +} |
0 commit comments