/**
 * Auto-generated schema from XSD
 * 
 * DO NOT EDIT - Generated by ts-xsd codegen
 * Source: xsd/sap/dataelements.xsd
 */

export default {
  $xmlns: {
    dtel: 'http://www.sap.com/adt/dictionary/dataelements',
    ecore: 'http://www.eclipse.org/emf/2002/Ecore',
    xsd: 'http://www.w3.org/2001/XMLSchema',
    'package': 'http://www.sap.com/adt/dictionary/dataelements',
  },
  targetNamespace: 'http://www.sap.com/adt/dictionary/dataelements',
  attributeFormDefault: 'unqualified',
  elementFormDefault: 'qualified',
  element: [
    {
      name: 'dataElement',
      type: 'dtel:DataElement',
    },
  ],
  complexType: [
    {
      name: 'DataElement',
      sequence: {
        element: [
          {
            name: 'typeKind',
            type: 'dtel:TypeKind',
            minOccurs: '1',
            maxOccurs: '1',
          },
          {
            name: 'typeName',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'dataType',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'dataTypeLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'dataTypeLengthEnabled',
            type: 'xsd:boolean',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'dataTypeDecimals',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'dataTypeDecimalsEnabled',
            type: 'xsd:boolean',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'shortFieldLabel',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'shortFieldLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'shortFieldMaxLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'mediumFieldLabel',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'mediumFieldLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'mediumFieldMaxLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'longFieldLabel',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'longFieldLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'longFieldMaxLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'headingFieldLabel',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'headingFieldLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'headingFieldMaxLength',
            type: 'xsd:int',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'searchHelp',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'searchHelpParameter',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'setGetParameter',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'defaultComponentName',
            type: 'xsd:string',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'deactivateInputHistory',
            type: 'xsd:boolean',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'changeDocument',
            type: 'xsd:boolean',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'leftToRightDirection',
            type: 'xsd:boolean',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'deactivateBIDIFiltering',
            type: 'xsd:boolean',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'documentationStatus',
            type: 'dtel:DocumentationStatus',
            minOccurs: '0',
            maxOccurs: '1',
          },
        ],
      },
    },
  ],
  simpleType: [
    {
      name: 'TypeKind',
      restriction: {
        base: 'xsd:string',
        enumeration: [
          {
            value: 'domain',
          },
          {
            value: 'predefinedAbapType',
          },
          {
            value: 'refToPredefinedAbapType',
          },
          {
            value: 'refToDictionaryType',
          },
          {
            value: 'refToClifType',
          },
        ],
      },
    },
    {
      name: 'DocumentationStatus',
      restriction: {
        base: 'xsd:string',
        enumeration: [
          {
            value: 'required',
          },
          {
            value: 'notUsedInScreens',
          },
          {
            value: 'explainedByShortText',
          },
          {
            value: 'postponed',
          },
        ],
      },
    },
  ],
} as const;
