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

import atom from './atom';
import Ecore from './Ecore';

export default {
  $xmlns: {
    atom: 'http://www.w3.org/2005/Atom',
    ecore: 'http://www.eclipse.org/emf/2002/Ecore',
    transports: 'http://www.sap.com/cts/adt/transports/search',
    xsd: 'http://www.w3.org/2001/XMLSchema',
  },
  $imports: [
    atom,
    Ecore,
  ],
  targetNamespace: 'http://www.sap.com/cts/adt/transports/search',
  element: [
    {
      name: 'searchresults',
      type: 'transports:searchresults',
    },
  ],
  complexType: [
    {
      name: 'requests',
      sequence: {
        element: [
          {
            name: 'request',
            type: 'transports:request',
            minOccurs: '0',
            maxOccurs: 'unbounded',
            form: 'qualified',
          },
        ],
      },
    },
    {
      name: 'request',
      sequence: {
        element: [
          {
            ref: 'atom:link',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
          {
            name: 'tasks',
            type: 'xsd:anyURI',
            minOccurs: '0',
            form: 'qualified',
          },
        ],
      },
      attribute: [
        {
          name: 'number',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'owner',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'description',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'type',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'target',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'status',
          type: 'ecore:EString',
          form: 'qualified',
        },
      ],
    },
    {
      name: 'tasks',
      sequence: {
        element: [
          {
            name: 'task',
            type: 'xsd:anyURI',
            minOccurs: '0',
            maxOccurs: 'unbounded',
            form: 'qualified',
          },
        ],
      },
    },
    {
      name: 'task',
      sequence: {
        element: [
          {
            ref: 'atom:link',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
        ],
      },
      attribute: [
        {
          name: 'number',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'owner',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'description',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'type',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'status',
          type: 'ecore:EString',
          form: 'qualified',
        },
        {
          name: 'parent',
          type: 'xsd:anyURI',
        },
      ],
    },
    {
      name: 'searchresults',
      sequence: {
        element: [
          {
            name: 'requests',
            type: 'xsd:anyURI',
            minOccurs: '0',
            form: 'qualified',
          },
          {
            name: 'tasks',
            type: 'xsd:anyURI',
            minOccurs: '0',
            form: 'qualified',
          },
        ],
      },
    },
  ],
} as const;
