<?xml version="1.0" encoding="UTF-8"?>

<namespace xmlns="http://www.mulesoft.org/schema/mule/tooling.attributes" xmlns:mule="http://www.mulesoft.org/schema/mule/core" prefix="espn" url="http://www.mulesoft.org/schema/mule/espn">
  <global-cloud-connector extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="" localId="parentConfig" icon="" description="" caption="ESPN"></global-cloud-connector>
  <global-cloud-connector extends="http://www.mulesoft.org/schema/mule/espn/parentConfig" abstract="false" image="icons/large/espn-connector-48x32.png" localId="config" icon="icons/small/espn-connector-24x16.png" description="Global ESPN configuration information." caption="ESPN">
    <attribute-category description="Espn configuration properties." caption="General">
      <group caption="Generic" id="espnGenericProperties">
        <name required="true" description="Give a name to this configuration so it can be later referenced by config-ref." caption="Name" name="name"></name>
      </group>
      <group caption="General" id="general">
        <string javaType="java.lang.String" required="true" description="ApiKey provided by ESPN during api registration process." caption="Api Key" name="apiKey"></string>
      </group>
    </attribute-category>
  </global-cloud-connector>
  <cloud-connector abstract="true" image="icons/large/espn-connector-48x32.png" localId="abstractEspnConnectorGeneric" icon="icons/small/espn-connector-24x16.png" description="Interact with Espn." caption="Abstractespnconnectorgeneric">
    <attribute-category description="General." caption="General">
      <group caption="Generic" id="abstractEspnConnectorGeneric">
        <globalRef requiredType="http://www.mulesoft.org/schema/mule/espn/config" required="true" description="Specify which configuration to use for this invocation." caption="Config Reference" name="config-ref"></globalRef>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" image="icons/large/espn-connector-48x32.png" localId="espn-connector" icon="icons/small/espn-connector-24x16.png" description="Mule ESPN API Connector - Connect Mule applications to the ESPN developer API (see http://developer.espn.com/)." caption="ESPN" aliasId="org.mule.tooling.ui.modules.core.pattern.espn">
    <attribute-category description="General." caption="General">
      <group caption="Generic" id="espnConnectorGeneric">
        <modeSwitch alwaysCombo="true" description="Operation." caption="Operation" name="Espn operations to execute">
          <mode modeLabel="Get athletes" modeId="http://www.mulesoft.org/schema/mule/espn/get-athletes"></mode>
          <mode modeLabel="Get athletes news" modeId="http://www.mulesoft.org/schema/mule/espn/get-athletes-news"></mode>
          <mode modeLabel="Get news" modeId="http://www.mulesoft.org/schema/mule/espn/get-news"></mode>
          <mode modeLabel="Get news by id" modeId="http://www.mulesoft.org/schema/mule/espn/get-news-by-id"></mode>
          <mode modeLabel="Get news headlines" modeId="http://www.mulesoft.org/schema/mule/espn/get-news-headlines"></mode>
          <mode modeLabel="Get news headlines top" modeId="http://www.mulesoft.org/schema/mule/espn/get-news-headlines-top"></mode>
          <mode modeLabel="Get sports" modeId="http://www.mulesoft.org/schema/mule/espn/get-sports"></mode>
          <mode modeLabel="Get sports organizing bodies" modeId="http://www.mulesoft.org/schema/mule/espn/get-sports-organizing-bodies"></mode>
          <mode modeLabel="Get sports organizing groups divisions" modeId="http://www.mulesoft.org/schema/mule/espn/get-sports-organizing-groups-divisions"></mode>
          <mode modeLabel="Get teams" modeId="http://www.mulesoft.org/schema/mule/espn/get-teams"></mode>
          <mode modeLabel="Get teams news" modeId="http://www.mulesoft.org/schema/mule/espn/get-teams-news"></mode>
        </modeSwitch>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-athletes" icon="icons/small/espn-connector-24x16.png" caption="Get Athletes">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN player id." caption="Athlete Id" name="athleteId"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN dates values (year) for requested data (i.e. 2011, 2012, etc...)." caption="Dates" name="dates"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN optional flag to enable specific info (comma separated string) valid values: [stats|logos|notes|competitors]." caption="Enable" name="enable"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN group (integer) allows filtering by &quot;group&quot; or division." caption="Group" name="group"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /sports/baseball/mlb)." caption="Resource" name="resource"></string>
        <string defaultValue="reg" javaType="java.lang.String" required="false" description="ESPN season type accepts pre/reg/post for preseason, regular and postseason respectively." caption="Season Type" name="seasonType"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-athletes-news" icon="icons/small/espn-connector-24x16.png" caption="Get Athletes News">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string javaType="java.lang.String" required="true" description="ESPN identifier for a particular player/athlete." caption="Athlete Id" name="athleteId"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="Integer in the form of &quot;yyyymmdd&quot; to get news for a particular date." caption="Dates" name="dates"></string>
        <string defaultValue="yes" javaType="java.lang.String" required="false" description="ESPN content to be included, valid values: yes, no, only." caption="Insider" name="insider"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /espnw)." caption="Resource" name="resource"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-news" icon="icons/small/espn-connector-24x16.png" caption="Get News">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="Integer in the form of &quot;yyyymmdd&quot; to get news for a particular date." caption="Dates" name="dates"></string>
        <string defaultValue="yes" javaType="java.lang.String" required="false" description="ESPN content to be included, valid values: yes, no, only." caption="Insider" name="insider"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /espnw)." caption="Resource" name="resource"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-news-by-id" icon="icons/small/espn-connector-24x16.png" caption="Get News By Id">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="Integer in the form of &quot;yyyymmdd&quot; to get news for a particular date." caption="Dates" name="dates"></string>
        <string defaultValue="yes" javaType="java.lang.String" required="false" description="ESPN content to be included, valid values: yes, no, only." caption="Insider" name="insider"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN specific story identifier." caption="News Id" name="newsId"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /espnw)." caption="Resource" name="resource"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-news-headlines" icon="icons/small/espn-connector-24x16.png" caption="Get News Headlines">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="yes" javaType="java.lang.String" required="false" description="ESPN content to be included, valid values: yes, no, only." caption="Insider" name="insider"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /espnw)." caption="Resource" name="resource"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-news-headlines-top" icon="icons/small/espn-connector-24x16.png" caption="Get News Headlines Top">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="yes" javaType="java.lang.String" required="false" description="ESPN content to be included, valid values: yes, no, only." caption="Insider" name="insider"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string defaultValue="us" javaType="java.lang.String" required="false" description="Can be used in conjunction with the lang query string parameter to return focused headlines for a particular region, where available." caption="Region" name="region"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /espnw)." caption="Resource" name="resource"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-sports" icon="icons/small/espn-connector-24x16.png" caption="Get Sports">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-sports-organizing-bodies" icon="icons/small/espn-connector-24x16.png" caption="Get Sports Organizing Bodies">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN sport name." caption="Sport" name="sport"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-sports-organizing-groups-divisions" icon="icons/small/espn-connector-24x16.png" caption="Get Sports Organizing Groups Divisions">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string javaType="java.lang.String" required="true" description="ESPN league abbreviation (organizing body)." caption="League" name="league"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN sport name." caption="Sport" name="sport"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-teams" icon="icons/small/espn-connector-24x16.png" caption="Get Teams">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN optional flag to enable specific info (comma separated string) valid values: [venues|stats|roster|leaders]." caption="Enable" name="enable"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN group (integer) allows filtering by &quot;group&quot; or division." caption="Groups" name="groups"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /sports/baseball/mlb)." caption="Resource" name="resource"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="ESPN team identifier." caption="Team Id" name="teamId"></string>
      </group>
    </attribute-category>
  </cloud-connector>
  <cloud-connector returnType="java.lang.String" extends="http://www.mulesoft.org/schema/mule/espn/abstractEspnConnectorGeneric" abstract="true" image="icons/large/espn-connector-48x32.png" localId="get-teams-news" icon="icons/small/espn-connector-24x16.png" caption="Get Teams News">
    <attribute-category description="General." caption="General">
      <group caption="General" id="general">
        <string defaultValue="application/json" javaType="java.lang.String" required="false" description="Used when you can not set the Accepted header (i.e. application/json, text/xml)." caption="Accept" name="accept"></string>
        <string defaultValue="" javaType="java.lang.String" required="false" description="Integer in the form of &quot;yyyymmdd&quot; to get news for a particular date." caption="Dates" name="dates"></string>
        <string defaultValue="yes" javaType="java.lang.String" required="false" description="ESPN content to be included, valid values: yes, no, only." caption="Insider" name="insider"></string>
        <string defaultValue="en" javaType="java.lang.String" required="false" description="ESPN lang - valid values include 'en' (English) and 'es' (Spanish)." caption="Language" name="language"></string>
        <string defaultValue="50" javaType="java.lang.String" required="false" description="Used to limit the number of results returned." caption="Limit" name="limit"></string>
        <string defaultValue="0" javaType="java.lang.String" required="false" description="Used for pagination (i.e. 11 will start with the 11th entry in the response)." caption="Offset" name="offset"></string>
        <string javaType="java.lang.String" required="true" description="ESPN resource (i.e. /espnw)." caption="Resource" name="resource"></string>
        <string javaType="java.lang.String" required="true" description="ESPN identifier for a particular team." caption="Team Id" name="teamId"></string>
      </group>
    </attribute-category>
  </cloud-connector>
</namespace>