<?xml version="1.0" encoding="UTF-8"?>
<!-- Vestoris feed format "security" version 1.0. Generated from the data set definition; see https://vestoris.com/help/feeds/security -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:vestoris:feed:security:1.0" targetNamespace="urn:vestoris:feed:security:1.0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
  <xs:annotation><xs:documentation>Security master. Securities with their identifiers (ticker, ISIN, CUSIP, SEDOL, FIGI), issuer, classification and trading attributes. The ticker symbol is the key. Key: symbol.</xs:documentation></xs:annotation>
  <xs:element name="feed">
    <xs:annotation><xs:documentation>One file: the header attributes, then the records.</xs:documentation></xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="record" type="Record" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="businessDate" type="xs:date" use="required"><xs:annotation><xs:documentation>The business date the data is for (YYYY-MM-DD).</xs:documentation></xs:annotation></xs:attribute>
      <xs:attribute name="firm" use="required"><xs:annotation><xs:documentation>Your firm code, shown on Data › Feeds (e.g. F00012).</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="[A-Z][0-9]{5}"/></xs:restriction></xs:simpleType></xs:attribute>
      <xs:attribute name="source" use="optional"><xs:annotation><xs:documentation>Who produced the file (vendor or system name).</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="80"/></xs:restriction></xs:simpleType></xs:attribute>
      <xs:attribute name="generated" type="xs:dateTime" use="required"><xs:annotation><xs:documentation>When the file was produced (UTC).</xs:documentation></xs:annotation></xs:attribute>
      <xs:attribute name="recordCount" type="xs:nonNegativeInteger" use="required"><xs:annotation><xs:documentation>The number of record elements. A file whose count does not match is refused (F004): it was probably cut short.</xs:documentation></xs:annotation></xs:attribute>
      <xs:attribute name="mode" use="optional" default="delta"><xs:annotation><xs:documentation>delta: only the records in the file change, and action=&quot;delete&quot; removes one. full: the file is complete; records it does not list are inactivated, up to the feed's safety threshold.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="delta"/><xs:enumeration value="full"/></xs:restriction></xs:simpleType></xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="Record">
    <xs:annotation><xs:documentation>One security master record. Elements may appear in any order.</xs:documentation></xs:annotation>
    <xs:all>
      <xs:element name="identifiers" type="Identifiers" minOccurs="1"/>
      <xs:element name="name" minOccurs="1">
        <xs:annotation><xs:documentation>The security&apos;s name. Text, up to 120 characters.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="120"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="issuer" minOccurs="0">
        <xs:annotation><xs:documentation>The issuer&apos;s name. Share classes of one issuer share it, so issuer limits count them together. Text, up to 120 characters.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="120"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="issuerCode" minOccurs="0">
        <xs:annotation><xs:documentation>Your code for the issuer (see the issuers data set). A code: letters, digits, &quot;_&quot;, &quot;.&quot; or &quot;-&quot;, up to 20.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="[A-Z0-9][A-Z0-9_.\-]{0,19}"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="sector" minOccurs="0">
        <xs:annotation><xs:documentation>Sector (GICS-style), used by sector limits. Text, up to 40 characters.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="40"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="industry" minOccurs="0">
        <xs:annotation><xs:documentation>Industry within the sector. Text, up to 80 characters.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="80"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="country" minOccurs="0">
        <xs:annotation><xs:documentation>Country of risk (ISO 3166-1 alpha-2), used by country limits. An ISO 3166-1 alpha-2 country code, e.g. US.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="[A-Z]{2}"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="assetClass" minOccurs="0">
        <xs:annotation><xs:documentation>Asset class, used by asset-class limits. One of: equity, fixed_income, commodity, cash_equivalent, treasury, other.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="equity"/><xs:enumeration value="fixed_income"/><xs:enumeration value="commodity"/><xs:enumeration value="cash_equivalent"/><xs:enumeration value="treasury"/><xs:enumeration value="other"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="secType" minOccurs="0">
        <xs:annotation><xs:documentation>Security type: equity, etf or adr. One of: equity, etf, adr.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="equity"/><xs:enumeration value="etf"/><xs:enumeration value="adr"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="marketCapBucket" minOccurs="0">
        <xs:annotation><xs:documentation>Market-cap bucket, used by market-cap limits. One of: mega, large, mid, small.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="mega"/><xs:enumeration value="large"/><xs:enumeration value="mid"/><xs:enumeration value="small"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="currency" minOccurs="0">
        <xs:annotation><xs:documentation>Trading currency (ISO 4217). An ISO 4217 currency code, e.g. USD.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="[A-Z]{3}"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="exchange" minOccurs="0">
        <xs:annotation><xs:documentation>Primary exchange (MIC or short code). A code: letters, digits, &quot;_&quot;, &quot;.&quot; or &quot;-&quot;, up to 12.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="[A-Z0-9][A-Z0-9_.\-]{0,11}"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="avgDailyVolume" minOccurs="0">
        <xs:annotation><xs:documentation>Average daily volume in shares, used by the liquidity rule and the slicing advice. A decimal number written as text, e.g. 1234.5 (min 0).</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:decimal"><xs:minInclusive value="0"/><xs:totalDigits value="25"/><xs:fractionDigits value="10"/></xs:restriction></xs:simpleType>
      </xs:element>
      <xs:element name="active" minOccurs="0">
        <xs:annotation><xs:documentation>false marks the security inactive: it can no longer be ordered. true or false.</xs:documentation></xs:annotation>
        <xs:simpleType><xs:restriction base="xs:boolean"></xs:restriction></xs:simpleType>
      </xs:element>
    </xs:all>
    <xs:attribute name="action" use="optional" default="upsert"><xs:annotation><xs:documentation>upsert (insert or update by key) or delete (removes the record; a security or account is inactivated, never deleted).</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="upsert"/><xs:enumeration value="delete"/></xs:restriction></xs:simpleType></xs:attribute>
  </xs:complexType>
  <xs:complexType name="Identifiers">
    <xs:annotation><xs:documentation>The security&apos;s identifiers, each with its scheme. TICKER is required (the key); ISIN, CUSIP, SEDOL and FIGI check digits are verified.</xs:documentation></xs:annotation>
    <xs:sequence>
      <xs:element name="id" minOccurs="1" maxOccurs="5">
        <xs:complexType><xs:simpleContent><xs:extension base="xs:string"><xs:attribute name="scheme" use="required"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="TICKER"><xs:annotation><xs:documentation>The ticker symbol. The key of the record: a file that sends the same symbol again updates it. A ticker symbol: letters, digits, &quot;.&quot; or &quot;-&quot;, up to 12. Required.</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="ISIN"><xs:annotation><xs:documentation>International Securities Identification Number. The check digit is verified. An ISIN (12 characters, check digit verified).</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="CUSIP"><xs:annotation><xs:documentation>CUSIP (9 characters). The check digit is verified. A CUSIP (9 characters, check digit verified).</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="SEDOL"><xs:annotation><xs:documentation>SEDOL (7 characters). The check digit is verified. A SEDOL (7 characters, check digit verified).</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="FIGI"><xs:annotation><xs:documentation>Financial Instrument Global Identifier. The check digit is verified. A FIGI (12 characters, check digit verified).</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType></xs:attribute></xs:extension></xs:simpleContent></xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
