Class: Card
A card in the Magic The Gathering game.
- NOTE: this is an abstract class and should not be instantiated directly
URI: mtgo:Card
classDiagram
class Card
NamedThing <|-- Card
Card : ability
Card : artist
Card : back_face
Card : card_set
Card : card_subtype
Card : card_supertype
Card : card_type
Card : color
Card : converted_mana_cost
Card : description
Card : flavor_text
Card : front_face
Card : id
Card : mana_cost
Card : name
Card : oracle_text
Card : rarity
Card : type_line
Card <|-- Sorcery
Card <|-- Instant
Card <|-- Enchantment
Card <|-- Artifact
Card <|-- Creature
Card <|-- Land
Card : ability
Card : artist
Card : back_face
Card : card_set
Card : card_subtype
Card : card_supertype
Card : card_type
Card : color
Card : converted_mana_cost
Card : description
Card : flavor_text
Card : front_face
Card : id
Card : mana_cost
Card : name
Card : oracle_text
Card : rarity
Card : type_line
Inheritance
- NamedThing
- Card
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
mana_cost | 0..* ManaCost |
A mana cost for a card or ability | direct |
converted_mana_cost | 0..1 xsd:integer |
The total mana cost for a card or ability, summed across all colors | direct |
color | 1..* Color |
The color of a card | direct |
card_set | 0..1 xsd:string |
A pool of cards released together and designed for the same play environment | direct |
ability | 0..* Ability |
An ability associated with a card | direct |
artist | 0..1 xsd:string |
The artist who drew a card's illustration | direct |
flavor_text | 0..1 xsd:string |
The lore text at the bottom of a card | direct |
front_face | 0..1 Card |
Front face corresponding to this card (back) face | direct |
back_face | 0..1 xsd:string |
Back face corresponding to this card (front) face | direct |
type_line | 1..1 xsd:string |
The text line below a card's illustration containing the card's type, subtype... | direct |
card_type | 1..* xsd:string |
The text line below a card's illustration containing the card's type, subtype... | direct |
card_subtype | 0..* xsd:string |
The subtype(s) of a card, such as Equipment, Cat or Warrior | direct |
card_supertype | 0..* xsd:string |
The supertype(s) of a card, such as Basic, Legendary or Snow | direct |
rarity | 0..1 Rarity |
An ability associated with a card | direct |
oracle_text | 0..1 xsd:string |
The official wording for the card effects | direct |
id | 1..1 xsd:anyURI |
A unique identifier for a thing | NamedThing |
name | 1..1 xsd:string |
A human-readable name for a thing | NamedThing |
description | 0..1 xsd:string |
A human-readable description for a thing | NamedThing |
Usages
used by | used in | type | used |
---|---|---|---|
Card | front_face | domain | Card |
Card | front_face | range | Card |
Card | back_face | domain | Card |
Sorcery | front_face | domain | Card |
Sorcery | front_face | range | Card |
Sorcery | back_face | domain | Card |
Instant | front_face | domain | Card |
Instant | front_face | range | Card |
Instant | back_face | domain | Card |
Enchantment | front_face | domain | Card |
Enchantment | front_face | range | Card |
Enchantment | back_face | domain | Card |
Artifact | front_face | domain | Card |
Artifact | front_face | range | Card |
Artifact | back_face | domain | Card |
Creature | front_face | domain | Card |
Creature | front_face | range | Card |
Creature | back_face | domain | Card |
Land | front_face | domain | Card |
Land | front_face | range | Card |
Land | back_face | domain | Card |
CardCollection | cards | range | Card |
See Also
Identifier and Mapping Information
Schema Source
- from schema: https://cmdoret.net/mtg_ontology/
Mappings
Mapping Type | Mapped Value |
---|---|
self | mtgo:Card |
native | mtgo:Card |
LinkML Source
Direct
name: Card
description: A card in the Magic The Gathering game.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:Card
rank: 1000
is_a: NamedThing
abstract: true
slots:
- mana_cost
- converted_mana_cost
- color
- card_set
- ability
- artist
- flavor_text
- front_face
- back_face
- type_line
- card_type
- card_subtype
- card_supertype
- rarity
- oracle_text
class_uri: mtgo:Card
Induced
name: Card
description: A card in the Magic The Gathering game.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:Card
rank: 1000
is_a: NamedThing
abstract: true
attributes:
mana_cost:
name: mana_cost
description: A mana cost for a card or ability.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:mana_cost
multivalued: true
alias: mana_cost
owner: Card
domain_of:
- Card
range: ManaCost
converted_mana_cost:
name: converted_mana_cost
description: The total mana cost for a card or ability, summed across all colors.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:converted_mana_cost
alias: converted_mana_cost
owner: Card
domain_of:
- Card
range: integer
color:
name: color
description: The color of a card.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:color
multivalued: true
alias: color
owner: Card
domain_of:
- Token
- Card
- Mana
range: Color
required: true
card_set:
name: card_set
description: A pool of cards released together and designed for the same play
environment.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:card_set
alias: card_set
owner: Card
domain_of:
- Token
- Card
range: string
ability:
name: ability
description: An ability associated with a card.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:ability
multivalued: true
alias: ability
owner: Card
domain_of:
- Token
- Card
range: Ability
artist:
name: artist
description: The artist who drew a card's illustration.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:artist
alias: artist
owner: Card
domain_of:
- Token
- Card
range: string
flavor_text:
name: flavor_text
description: The lore text at the bottom of a card.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:flavor_text
alias: flavor_text
owner: Card
domain_of:
- Token
- Card
range: string
front_face:
name: front_face
description: Front face corresponding to this card (back) face.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
domain: Card
slot_uri: mtgo:front_face
alias: front_face
owner: Card
domain_of:
- Card
inverse: back_face
range: Card
back_face:
name: back_face
description: Back face corresponding to this card (front) face.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
domain: Card
slot_uri: mtgo:back_face
alias: back_face
owner: Card
domain_of:
- Card
inverse: front_face
range: string
type_line:
name: type_line
description: The text line below a card's illustration containing the card's type,
subtype and supertype (if applicable).
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:type_line
alias: type_line
owner: Card
domain_of:
- Token
- Card
range: string
required: true
card_type:
name: card_type
description: The text line below a card's illustration containing the card's type,
subtype and supertype (if applicable).
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:card_type
multivalued: true
alias: card_type
owner: Card
domain_of:
- Token
- Card
range: string
required: true
card_subtype:
name: card_subtype
description: The subtype(s) of a card, such as Equipment, Cat or Warrior. Appears
on the right of the type line.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:card_subtype
multivalued: true
alias: card_subtype
owner: Card
domain_of:
- Token
- Card
range: string
card_supertype:
name: card_supertype
description: The supertype(s) of a card, such as Basic, Legendary or Snow. Appears
on the left of the type line, before the type.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:card_supertype
multivalued: true
alias: card_supertype
owner: Card
domain_of:
- Token
- Card
range: string
rarity:
name: rarity
description: An ability associated with a card.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:rarity
alias: rarity
owner: Card
domain_of:
- Card
range: Rarity
oracle_text:
name: oracle_text
description: The official wording for the card effects.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:oracle_text
alias: oracle_text
owner: Card
domain_of:
- Token
- Card
range: string
id:
name: id
description: A unique identifier for a thing
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: Card
domain_of:
- NamedThing
- Thing
range: uriorcurie
name:
name: name
description: A human-readable name for a thing
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: schema:name
alias: name
owner: Card
domain_of:
- NamedThing
range: string
required: true
description:
name: description
description: A human-readable description for a thing
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: schema:description
alias: description
owner: Card
domain_of:
- NamedThing
range: string
class_uri: mtgo:Card