|
| 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/edoi/edoi-v1.json", |
| 5 | + "title": "eDocument Interface", |
| 6 | + "description": "eDocument interface", |
| 7 | + "type": "object", |
| 8 | + "properties": { |
| 9 | + "formatVersion": { |
| 10 | + "title": "Format Version", |
| 11 | + "description": "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": 100 |
| 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 | + "direction": { |
| 63 | + "title": "Direction", |
| 64 | + "description": "Interface direction", |
| 65 | + "type": "string", |
| 66 | + "enum": [ |
| 67 | + "outbound", |
| 68 | + "inbound" |
| 69 | + ], |
| 70 | + "enumTitles": [ |
| 71 | + "Outbound", |
| 72 | + "Inbound" |
| 73 | + ], |
| 74 | + "enumDescriptions": [ |
| 75 | + "Outbound", |
| 76 | + "Inbound" |
| 77 | + ], |
| 78 | + "default": "outbound" |
| 79 | + } |
| 80 | + }, |
| 81 | + "additionalProperties": false, |
| 82 | + "required": [ |
| 83 | + "direction" |
| 84 | + ] |
| 85 | + }, |
| 86 | + "versions": { |
| 87 | + "title": "Versions", |
| 88 | + "description": "Interface versions", |
| 89 | + "type": "array", |
| 90 | + "uniqueItems": true, |
| 91 | + "items": { |
| 92 | + "title": "Version Details", |
| 93 | + "description": "eDocument interface version details", |
| 94 | + "type": "object", |
| 95 | + "properties": { |
| 96 | + "version": { |
| 97 | + "title": "Version", |
| 98 | + "description": "Version", |
| 99 | + "type": "integer", |
| 100 | + "minimum": 1, |
| 101 | + "maximum": 9999 |
| 102 | + }, |
| 103 | + "description": { |
| 104 | + "title": "Description", |
| 105 | + "description": "Description", |
| 106 | + "type": "string", |
| 107 | + "maxLength": 30 |
| 108 | + }, |
| 109 | + "activeFrom": { |
| 110 | + "title": "Active From", |
| 111 | + "description": "Active from", |
| 112 | + "type": "string", |
| 113 | + "format": "date-time" |
| 114 | + }, |
| 115 | + "communicationAttributes": { |
| 116 | + "title": "Communication Integration Attributes", |
| 117 | + "description": "Communication integration attributes", |
| 118 | + "type": "object", |
| 119 | + "properties": { |
| 120 | + "processType": { |
| 121 | + "title": "Process Type", |
| 122 | + "description": "DRC process type", |
| 123 | + "type": "string", |
| 124 | + "maxLength": 50 |
| 125 | + }, |
| 126 | + "processVersion": { |
| 127 | + "title": "Process Version", |
| 128 | + "description": "DRC process version", |
| 129 | + "type": "string", |
| 130 | + "maxLength": 20 |
| 131 | + }, |
| 132 | + "processSubtype": { |
| 133 | + "title": "Process Subtype", |
| 134 | + "description": "DRC process subtype", |
| 135 | + "type": "string", |
| 136 | + "maxLength": 50 |
| 137 | + }, |
| 138 | + "drcAction": { |
| 139 | + "title": "Action", |
| 140 | + "description": "DRC process action", |
| 141 | + "type": "string", |
| 142 | + "maxLength": 30 |
| 143 | + }, |
| 144 | + "responseInterface": { |
| 145 | + "title": "Response Interface", |
| 146 | + "description": "eDoc response interface", |
| 147 | + "type": "string", |
| 148 | + "maxLength": 30 |
| 149 | + }, |
| 150 | + "responseInterfaceVersion": { |
| 151 | + "title": "Response Interface Version", |
| 152 | + "description": "Response interface version", |
| 153 | + "type": "integer", |
| 154 | + "minimum": 1, |
| 155 | + "maximum": 9999 |
| 156 | + } |
| 157 | + }, |
| 158 | + "additionalProperties": false |
| 159 | + } |
| 160 | + }, |
| 161 | + "additionalProperties": false, |
| 162 | + "required": [ |
| 163 | + "version", |
| 164 | + "description", |
| 165 | + "activeFrom" |
| 166 | + ] |
| 167 | + } |
| 168 | + } |
| 169 | + }, |
| 170 | + "additionalProperties": false, |
| 171 | + "required": [ |
| 172 | + "formatVersion", |
| 173 | + "header", |
| 174 | + "generalInformation", |
| 175 | + "versions" |
| 176 | + ] |
| 177 | +} |
0 commit comments