Class: RuleStatement
A statement in the rules text of a card or ability. It consists of an action, with optional sources and targets (e.g. players or cards), and specifications constraining the action in time, quantity or otherwise.
URI: mtgo:RuleStatement
classDiagram
class RuleStatement
Thing <|-- RuleStatement
RuleStatement : action_spec
RuleStatement : id
RuleStatement : source
RuleStatement : target
RuleStatement : time_spec
RuleStatement : value_spec
Inheritance
- Thing
- RuleStatement
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| source | 0..1 xsd:string |
The entity responsible for an action | direct |
| target | 0..1 xsd:string |
The entity targeted by an action or constraint | direct |
| action_spec | 0..* ActionSpecification |
A specification of an action | direct |
| value_spec | 0..* ValueSpecification |
A specification for the value of a property | direct |
| time_spec | 0..* TimeSpecification |
A specification of the time of an event | direct |
| id | 1..1 xsd:anyURI |
A unique identifier for a thing | Thing |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Ability | effect | range | RuleStatement |
| ActivatedAbility | condition | range | RuleStatement |
| ActivatedAbility | effect | range | RuleStatement |
| StaticAbility | effect | range | RuleStatement |
| TriggeredAbility | condition | range | RuleStatement |
| TriggeredAbility | effect | range | RuleStatement |
| AbilityCollection | conditions | range | RuleStatement |
Identifier and Mapping Information
Schema Source
- from schema: https://cmdoret.net/mtg_ontology/
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mtgo:RuleStatement |
| native | mtgo:RuleStatement |
LinkML Source
Direct
name: RuleStatement
description: A statement in the rules text of a card or ability. It consists of an
action, with optional sources and targets (e.g. players or cards), and specifications
constraining the action in time, quantity or otherwise.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
is_a: Thing
slots:
- source
- target
- action_spec
- value_spec
- time_spec
class_uri: mtgo:RuleStatement
Induced
name: RuleStatement
description: A statement in the rules text of a card or ability. It consists of an
action, with optional sources and targets (e.g. players or cards), and specifications
constraining the action in time, quantity or otherwise.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
is_a: Thing
attributes:
source:
name: source
description: The entity responsible for an action.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:source
alias: source
owner: RuleStatement
domain_of:
- RuleStatement
range: string
any_of:
- range: Player
- range: Card
target:
name: target
description: The entity targeted by an action or constraint.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:target
alias: target
owner: RuleStatement
domain_of:
- RuleStatement
range: string
any_of:
- range: Player
- range: Card
action_spec:
name: action_spec
description: A specification of an action.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:action_spec
multivalued: true
alias: action_spec
owner: RuleStatement
domain_of:
- RuleStatement
range: ActionSpecification
value_spec:
name: value_spec
description: A specification for the value of a property.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:value_spec
multivalued: true
alias: value_spec
owner: RuleStatement
domain_of:
- RuleStatement
- KeywordCounter
range: ValueSpecification
time_spec:
name: time_spec
description: A specification of the time of an event.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:time_spec
multivalued: true
alias: time_spec
owner: RuleStatement
domain_of:
- RuleStatement
range: TimeSpecification
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: RuleStatement
domain_of:
- NamedThing
- Thing
range: uriorcurie
class_uri: mtgo:RuleStatement