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

import atomExtended from './atomExtended';

export default {
  $xmlns: {
    xsd: 'http://www.w3.org/2001/XMLSchema',
    atom: 'http://www.w3.org/2005/Atom',
  },
  $includes: [
    atomExtended,
  ],
  targetNamespace: 'http://www.w3.org/2005/Atom',
  elementFormDefault: 'qualified',
  element: [
    {
      name: 'feed',
      type: 'atom:feedType',
    },
    {
      name: 'entry',
      type: 'atom:entryType',
    },
    {
      name: 'id',
      type: 'xsd:string',
    },
    {
      name: 'updated',
      type: 'xsd:string',
    },
    {
      name: 'author',
      type: 'atom:authorType',
    },
    {
      name: 'name',
      type: 'xsd:string',
    },
    {
      name: 'content',
      type: 'atom:contentType',
    },
  ],
  complexType: [
    {
      name: 'authorType',
      sequence: {
        element: [
          {
            ref: 'atom:name',
            minOccurs: '0',
          },
        ],
      },
    },
    {
      name: 'contentType',
      mixed: true,
      attribute: [
        {
          name: 'type',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'src',
          type: 'xsd:string',
          use: 'optional',
        },
      ],
    },
    {
      name: 'entryType',
      sequence: {
        element: [
          {
            ref: 'atom:id',
            minOccurs: '0',
          },
          {
            ref: 'atom:title',
            minOccurs: '0',
          },
          {
            ref: 'atom:link',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
          {
            ref: 'atom:updated',
            minOccurs: '0',
          },
          {
            ref: 'atom:author',
            minOccurs: '0',
          },
          {
            ref: 'atom:content',
            minOccurs: '0',
          },
        ],
      },
    },
    {
      name: 'feedType',
      sequence: {
        element: [
          {
            ref: 'atom:author',
            minOccurs: '0',
          },
          {
            ref: 'atom:title',
            minOccurs: '0',
          },
          {
            ref: 'atom:updated',
            minOccurs: '0',
          },
          {
            ref: 'atom:id',
            minOccurs: '0',
          },
          {
            ref: 'atom:entry',
            minOccurs: '0',
            maxOccurs: 'unbounded',
          },
        ],
      },
    },
  ],
} as const;
