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

import xml from './xml';

export default {
  $xmlns: {
    ecore: 'http://www.eclipse.org/emf/2002/Ecore',
    xsd: 'http://www.w3.org/2001/XMLSchema',
    atom: 'http://www.w3.org/2005/Atom',
    xml: 'http://www.w3.org/XML/1998/namespace',
  },
  $imports: [
    xml,
  ],
  targetNamespace: 'http://www.w3.org/2005/Atom',
  attributeFormDefault: 'unqualified',
  elementFormDefault: 'qualified',
  'xml:lang': 'en',
  element: [
    {
      name: 'link',
      type: 'atom:linkType',
    },
  ],
  complexType: [
    {
      name: 'linkType',
      mixed: true,
      attribute: [
        {
          name: 'href',
          type: 'xsd:anyURI',
          use: 'required',
        },
        {
          name: 'rel',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'type',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'hreflang',
          type: 'xsd:NMTOKEN',
          use: 'optional',
        },
        {
          name: 'title',
          type: 'xsd:string',
          use: 'optional',
        },
        {
          name: 'length',
          type: 'xsd:positiveInteger',
          use: 'optional',
        },
        {
          name: 'etag',
          type: 'xsd:string',
          use: 'optional',
        },
      ],
      attributeGroup: [
        {
          ref: 'atom:commonAttributes',
        },
      ],
    },
  ],
  attributeGroup: [
    {
      name: 'commonAttributes',
      attribute: [
        {
          ref: 'xml:base',
        },
        {
          ref: 'xml:lang',
        },
      ],
      anyAttribute: {
        namespace: '##other',
      },
    },
  ],
  simpleType: [
    {
      name: 'Uri',
      restriction: {
        base: 'xsd:anyURI',
      },
    },
  ],
} as const;
