Documentation for SportsML/Basketball

Version: 0.5
Creator: IPTC
PublicId: -//IPTC//SportsML DTD 0.5//EN

Description

SportsML Plug-in for Basketball.

Root elements

Element index

action-basketball-foul TBD.
action-basketball-shot TBD.
action-basketball-substitution TBD.
action-basketball-time-out TBD.
all-specific-elements A placeholder, to help isolate sport-specific elements.
event-actions-basketball TBD.
event-metadata-basketball TBD.
player-metadata-basketball TBD.
player-stats-basketball TBD.
stats-basketball-defensive TBD.
stats-basketball-offensive TBD.
stats-basketball-rebounding TBD.
team-metadata-basketball TBD.
team-stats-basketball TBD.

Element descriptions

action-basketball-foul

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
comment TBD.
CDATA (#IMPLIED )
foul-level TBD.
['regular', 'flagrant', 'technical'] (#IMPLIED )
foul-type TBD.
['offensive', 'defensive'] (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
period-time-elapsed TBD.
CDATA (#IMPLIED )
period-time-remaining TBD.
CDATA (#IMPLIED )
period-value TBD.
CDATA (#IMPLIED )
player-idref TBD.
IDREF (#IMPLIED )

Parents

event-actions-basketball

Content model

EMPTY

action-basketball-shot

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
comment TBD.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
period-time-elapsed TBD.
CDATA (#IMPLIED )
period-time-remaining TBD.
CDATA (#IMPLIED )
period-value TBD.
CDATA (#IMPLIED )
player-idref TBD.
IDREF (#IMPLIED )
result TBD.
['missed', 'made'] (#IMPLIED )
score-type TBD.
['free-throw', 'fg', 'fg3'] (#IMPLIED )

Parents

event-actions-basketball

Content model

EMPTY

action-basketball-substitution

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
comment TBD.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
period-time-elapsed TBD.
CDATA (#IMPLIED )
period-time-remaining TBD.
CDATA (#IMPLIED )
period-value TBD.
CDATA (#IMPLIED )
person-original-idref TBD.
IDREF (#IMPLIED )
person-original-position TBD.
CDATA (#IMPLIED )
person-replacing-idref TBD.
IDREF (#IMPLIED )
person-replacing-position TBD.
CDATA (#IMPLIED )
person-type TBD.
['player', 'auxilliary', 'official'] (#IMPLIED )
substitution-reason TBD.
CDATA (#IMPLIED )

Parents

event-actions-basketball

Content model

EMPTY

action-basketball-time-out

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
comment TBD.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
period-time-elapsed TBD.
CDATA (#IMPLIED )
period-time-remaining TBD.
CDATA (#IMPLIED )
period-value TBD.
CDATA (#IMPLIED )
team-idref TBD.
IDREF (#IMPLIED )
time-out-type TBD.
CDATA (#IMPLIED )

Parents

event-actions-basketball

Content model

EMPTY

all-specific-elements

A placeholder, to help isolate sport-specific elements. Just helps the documentation. Not part of SportsML.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

Must appear as the root element.

Content model

(event-metadata-basketball , event-actions-basketball , team-metadata-basketball , team-stats-basketball , player-metadata-basketball , player-stats-basketball , official-metadata-basketball , official-stats-basketball , associate-metadata-basketball , associate-stats-basketball , tournament-metadata-basketball , tournament-division-metadata-basketball)

event-actions-basketball

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

(action-basketball-shot | action-basketball-foul | action-basketball-time-out | action-basketball-substitution)*

event-metadata-basketball

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )
period-time-elapsed TBD.
CDATA (#IMPLIED )
period-time-remaining TBD.
CDATA (#IMPLIED )
period-value TBD.
CDATA (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY

player-metadata-basketball

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY

player-stats-basketball

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
average-minutes-per-game TBD.
CDATA (#IMPLIED )
games-played TBD.
CDATA (#IMPLIED )
games-started TBD.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
minutes-played TBD.
CDATA (#IMPLIED )

Parents

all-specific-elements

Content model

(stats-basketball-offensive? , stats-basketball-rebounding? , stats-basketball-defensive?)

stats-basketball-defensive

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
blocks-per-game TBD.
CDATA (#IMPLIED )
blocks-total TBD.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
steals-per-game TBD.
CDATA (#IMPLIED )
steals-total TBD.
CDATA (#IMPLIED )

Parents

player-stats-basketball team-stats-basketball

Content model

EMPTY

stats-basketball-offensive

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
assists-per-game TBD.
CDATA (#IMPLIED )
assists-total TBD.
CDATA (#IMPLIED )
field-goals-attempted TBD.
CDATA (#IMPLIED )
field-goals-made TBD.
CDATA (#IMPLIED )
field-goals-percentage TBD.
CDATA (#IMPLIED )
free-throws-attempted TBD.
CDATA (#IMPLIED )
free-throws-made TBD.
CDATA (#IMPLIED )
free-throws-percentage TBD.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
points-scored-per-game TBD.
CDATA (#IMPLIED )
points-scored-total TBD.
CDATA (#IMPLIED )
three-pointers-attempted TBD.
CDATA (#IMPLIED )
three-pointers-made TBD.
CDATA (#IMPLIED )
three-pointers-percentage TBD.
CDATA (#IMPLIED )
turnovers-per-game TBD.
CDATA (#IMPLIED )
turnovers-total TBD.
CDATA (#IMPLIED )

Parents

player-stats-basketball team-stats-basketball

Content model

EMPTY

stats-basketball-rebounding

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )
rebounds-defensive TBD.
CDATA (#IMPLIED )
rebounds-offensive TBD.
CDATA (#IMPLIED )
rebounds-per-game TBD.
CDATA (#IMPLIED )
rebounds-total TBD.
CDATA (#IMPLIED )

Parents

player-stats-basketball team-stats-basketball

Content model

EMPTY

team-metadata-basketball

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY

team-stats-basketball

TBD. TBD.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )
largest-lead TBD.
CDATA (#IMPLIED )
points-scored-in-paint TBD.
CDATA (#IMPLIED )
points-scored-off-turnovers TBD.
CDATA (#IMPLIED )
points-scored-on-fast-break TBD.
CDATA (#IMPLIED )
points-scored-on-second-chance TBD.
CDATA (#IMPLIED )
timeouts-left TBD.
CDATA (#IMPLIED )

Parents

all-specific-elements

Content model

(stats-basketball-offensive? , stats-basketball-rebounding? , stats-basketball-defensive?)
Produced by dtddoc.py, using xmlproc.