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

import atom from '../sap/atom';

export default {
  $xmlns: {
    xsd: 'http://www.w3.org/2001/XMLSchema',
    atom: 'http://www.w3.org/2005/Atom',
    objprops: 'http://www.sap.com/adt/repository/informationsystem/objectproperties',
  },
  $imports: [
    atom,
  ],
  targetNamespace: 'http://www.sap.com/adt/repository/informationsystem/objectproperties',
  attributeFormDefault: 'unqualified',
  elementFormDefault: 'qualified',
  element: [
    {
      name: 'objectProperties',
      type: 'objprops:objectPropertiesType',
    },
  ],
  complexType: [
    {
      name: 'objectPropertiesType',
      sequence: {
        element: [
          {
            name: 'object',
            type: 'objprops:objectType',
            minOccurs: '0',
            maxOccurs: '1',
          },
          {
            name: 'property',
            type: 'objprops:propertyType',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
        ],
      },
    },
    {
      name: 'objectType',
      sequence: {
        element: [
          {
            ref: 'atom:link',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
        ],
      },
      attribute: [
        {
          name: 'name',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'type',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'package',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'uri',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'vituri',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'text',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'expandable',
          type: 'xsd:boolean',
          use: 'optional',
        },
      ],
    },
    {
      name: 'propertyType',
      sequence: {
        element: [
          {
            ref: 'atom:link',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
        ],
      },
      attribute: [
        {
          name: 'facet',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'name',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'displayName',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'text',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'hasChildrenOfSameFacet',
          type: 'xsd:boolean',
          use: 'optional',
        },
        {
          name: 'version',
          type: 'xsd:string',
          use: 'optional',
        },
      ],
    },
  ],
} as const;
