<?xml version="1.0" encoding="UTF-8"?>
<!--
~ JBoss, Home of Professional Open Source
~ Copyright 2022, Red Hat, Inc., and individual contributors as indicated
~ by the @authors tag.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           targetNamespace="urn:jboss:jakartaee:1.0"
           xmlns="urn:jboss:jakartaee:1.0"
           xmlns:jakartaee="https://jakarta.ee/xml/ns/jakartaee"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified"
           version="4.0">
   <xs:import namespace="https://jakarta.ee/xml/ns/jakartaee" schemaLocation="https://www.jboss.org/schema/jbossas/jboss-ejb3-spec-4_0.xsd"/>

   <xs:element name="ejb" type="jakartaee:jboss-ejb-beanType"/>

   <xs:element name="ejb-jar" type="jakartaee:jboss-ejb-jarType"/>

   <xs:element name="enterprise-beans" type="jakartaee:jboss-enterprise-beansType"/>

   <xs:element name="destination-jndi-name" type="xs:string" />

   <xs:element name="distinct-name" type="xs:string">
       <xs:annotation>
           <xs:documentation>
               The distinct-name for this EJB module.
           </xs:documentation>
       </xs:annotation>
   </xs:element>
</xs:schema>
