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

import atcresultquery from './atcresultquery';
import atcfinding from './atcfinding';
import atcobject from './atcobject';
import atctagdescription from './atctagdescription';
import atcinfo from './atcinfo';
import atc from './atc';

export default {
  $xmlns: {
    xsd: 'http://www.w3.org/2001/XMLSchema',
    ecore: 'http://www.eclipse.org/emf/2002/Ecore',
    atcfinding: 'http://www.sap.com/adt/atc/finding',
    atcobject: 'http://www.sap.com/adt/atc/object',
    atctd: 'http://www.sap.com/adt/atc/tagdescription',
    atcinfo: 'http://www.sap.com/adt/atc/info',
    atcresultquery: 'http://www.sap.com/adt/atc/resultquery',
    atcresult: 'http://www.sap.com/adt/atc/result',
    atc: 'http://www.sap.com/adt/atc',
  },
  $imports: [
    atcresultquery,
    atcfinding,
    atcobject,
    atctagdescription,
    atcinfo,
    atc,
  ],
  targetNamespace: 'http://www.sap.com/adt/atc/result',
  attributeFormDefault: 'qualified',
  elementFormDefault: 'qualified',
  complexType: [
    {
      name: 'AtcResult',
      sequence: {
        element: [
          {
            name: 'displayId',
            type: 'xsd:string',
          },
          {
            name: 'title',
            type: 'xsd:string',
          },
          {
            name: 'checkVariant',
            type: 'xsd:string',
          },
          {
            name: 'runSeries',
            type: 'xsd:string',
          },
          {
            name: 'createdAt',
            type: 'xsd:dateTime',
          },
          {
            name: 'aggregates',
            type: 'atcresult:AtcResultAggregates',
          },
          {
            name: 'objects',
            type: 'atcobject:AtcObjectList',
          },
          {
            ref: 'atctd:descriptionTags',
          },
          {
            name: 'scaAttributes',
            type: 'atc:ScaAttributes',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'infos',
            type: 'atcinfo:AtcInfoList',
          },
        ],
      },
    },
    {
      name: 'AtcResultAggregates',
      sequence: {
        element: [
          {
            name: 'numPrio1',
            type: 'xsd:int',
          },
          {
            name: 'numPrio2',
            type: 'xsd:int',
          },
          {
            name: 'numPrio3',
            type: 'xsd:int',
          },
          {
            name: 'numPrio4',
            type: 'xsd:int',
          },
          {
            name: 'numFailure',
            type: 'xsd:int',
          },
        ],
      },
    },
    {
      name: 'AtcResultList',
      sequence: {
        element: [
          {
            name: 'result',
            type: 'atcresult:AtcResult',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
        ],
      },
    },
    {
      name: 'AtcResultQueryChoice',
      choice: {
        element: [
          {
            ref: 'atcresultquery:activeResultQuery',
          },
          {
            ref: 'atcresultquery:specificResultQuery',
          },
          {
            ref: 'atcresultquery:userResultQuery',
          },
        ],
      },
    },
  ],
  element: [
    {
      name: 'resultList',
      type: 'atcresult:AtcResultList',
    },
    {
      name: 'queryChoice',
      type: 'atcresult:AtcResultQueryChoice',
    },
  ],
} as const;
