XML Schema "on_update_teams_3.23.xsd"
Target Namespace:
{no namespace}
Version:
3.23
Defined Components:
elements (2 global + 35 local)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\GitLab\gntechcomproject\projects\video\on-api-docs\flare\Content\on-api-schema-docs\xsds\v3\on_update_teams_3.23.xsd; see XML source
Includes Schemas (1):
types_3.23.xsd [src]
Included in Schemas (1):
on_apis_docs.xsd [src]
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<!-- On Updates Teams - v3.23 -->
<!-- File: on_update_teams_3.23.xsd -->
<!-- Copyright 2017-present. Gracenote, Inc. All rights reserved. -->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="3.23" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="http://files.api.gracenote.com/xsd/types_3.23.xsd"/>
<xs:element name="on">
<xs:complexType>
<xs:sequence>
<xs:element ref="header"/>
<xs:element minOccurs="0" ref="teams"/>
</xs:sequence>
<xs:attribute default="3.23" name="schemaVersion" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>The On Updates schema version number.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="teams">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="team">
<xs:complexType>
<xs:sequence minOccurs="0">
<xs:element minOccurs="0" name="type" type="xs:string"/>
<xs:element name="teamBrands">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="teamBrand">
<xs:complexType>
<xs:sequence>
<xs:element name="teamBrandId" type="xs:positiveInteger"/>
<xs:element minOccurs="0" name="teamBrandGId" type="xs:string">
<xs:annotation>
<xs:documentation>The TeamBrandGId of the TeamBrandId.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="active" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Indicator whether this Brand is the active brand or not.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="fromDate" type="xs:string"/>
<xs:element minOccurs="0" name="toDate" type="xs:string">
<xs:annotation>
<xs:documentation>
The start and end date for when this Brand is or was the active Brand.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="officialName" type="xs:string"/>
<xs:element minOccurs="0" name="properName" type="xs:string"/>
<xs:element minOccurs="0" name="nickName" type="xs:string"/>
<xs:element minOccurs="0" name="abbreviation" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="names">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="name">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="required"/>
<xs:attribute name="lang" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="lang" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="assets">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="asset" type="assetType">
<xs:annotation>
<xs:documentation>Single image and metadata.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="sport">
<xs:annotation>
<xs:documentation>
Single primary sport genre in which team participates.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="genreId" type="xs:positiveInteger" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="genres">
<xs:annotation>
<xs:documentation>
Collection of genres associated with team, based on organization memberships; may
include non-sport-specific genres, such as Olympics, where applicable.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="genre">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="genreId" type="xs:positiveInteger" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="colors">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="color">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="parentTeam">
<xs:annotation>
<xs:documentation>Team designated as parent for this sub-team.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="teamId" type="xs:positiveInteger" use="required"/>
<xs:attribute name="teamGId" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The TeamGId of the parent team</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="venueId" type="xs:positiveInteger"/>
<xs:element minOccurs="0" name="universityId" type="xs:positiveInteger"/>
<xs:element minOccurs="0" name="universityGId" type="xs:string">
<xs:annotation>
<xs:documentation>The UniversityGId of the UniversityId.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="country" type="xs:token">
<xs:annotation>
<xs:documentation>
Country represented by team in international sporting events. Country code given in
ISO 3166-1 alpha-3 format.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="gender" type="genderType"/>
<xs:element minOccurs="0" name="class" type="xs:string"/>
<xs:element minOccurs="0" name="venueGId" type="xs:string">
<xs:annotation>
<xs:documentation>The VenueGId of the VenueId.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="address" type="addressType"/>
<xs:element minOccurs="0" name="members">
<xs:annotation>
<xs:documentation>Parent element for persons related to team.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="member">
<xs:complexType>
<xs:sequence>
<xs:element name="type" type="memberType"/>
<xs:element name="name">
<xs:complexType>
<xs:complexContent>
<xs:extension base="pNameType">
<xs:attribute name="nameId" type="xs:positiveInteger"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="personId" type="xs:positiveInteger"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="teamId" type="xs:positiveInteger" use="required"/>
<xs:attribute name="teamGId" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The TeamGId of the TeamId.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sportGId" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The SportGId of the sport that's played in this Organization.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="updateId" use="required"/>
<xs:attribute name="updateDate" type="xs:dateTime" use="required"/>
<xs:attribute ref="deleted" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
XML schema documentation generated with FlexDoc/XML 1.14 using FlexDoc/XML XSDDoc 3.0 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.