Class: Constraint
An ODRL constraint expressed as leftOperand operator rightOperand, e.g. purpose eq "safety-reporting", or dateTime lt "2026-01-01".
URI: dds:class/Constraint
erDiagram
Constraint {
string leftOperand
ConstraintOperator operator
string rightOperand
string unit
string OID
string uuid
string name
string description
string label
stringList aliases
}
Coding {
string code
string decode
string codeSystem
string codeSystemVersion
AliasPredicate aliasType
}
Constraint ||--}o Coding : "coding"
Inheritance
- IdentifiableElement [ Identifiable Labelled]
- Constraint
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| leftOperand | 1 String |
The subject of the constraint (odrl:leftOperand), e.g. "purpose", "recipient", "dateTime" | direct |
| operator | 1 ConstraintOperator |
The comparison operator (odrl:operator) | direct |
| rightOperand | 1 String |
The value compared against (odrl:rightOperand) | direct |
| unit | 0..1 String |
Unit of the rightOperand, where applicable | direct |
| OID | 1 String |
Local identifier within this study/context. Use CDISC OID format for regulatory submissions, or simple strings for internal use. | Identifiable |
| uuid | 0..1 String |
Universal unique identifier | Identifiable |
| name | 0..1 String |
Short name or identifier, used for field names | Labelled |
| description | 0..1 String or String or TranslatedText |
Detailed description, shown in tooltips | Labelled |
| coding | * Coding |
Semantic tags for this element | Labelled |
| label | 0..1 String or String or TranslatedText |
Human-readable label, shown in UIs | Labelled |
| aliases | * String or String or TranslatedText |
Alternative name or identifier | Labelled |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Rule | constraint | range | Constraint |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/dds
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dds:Constraint |
| native | dds:Constraint |
| exact | odrl:Constraint |
LinkML Source
Direct
name: Constraint
description: An ODRL constraint expressed as leftOperand operator rightOperand, e.g.
purpose eq "safety-reporting", or dateTime lt "2026-01-01".
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:Constraint
is_a: IdentifiableElement
attributes:
leftOperand:
name: leftOperand
description: The subject of the constraint (odrl:leftOperand), e.g. "purpose",
"recipient", "dateTime"
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:leftOperand
rank: 1000
domain_of:
- Constraint
required: true
operator:
name: operator
description: The comparison operator (odrl:operator)
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:operator
domain_of:
- LogicalPredicate
- RangeCheck
- Constraint
range: ConstraintOperator
required: true
rightOperand:
name: rightOperand
description: The value compared against (odrl:rightOperand)
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:rightOperand
rank: 1000
domain_of:
- Constraint
required: true
unit:
name: unit
description: Unit of the rightOperand, where applicable
from_schema: https://w3id.org/dds
rank: 1000
domain_of:
- Constraint
Induced
name: Constraint
description: An ODRL constraint expressed as leftOperand operator rightOperand, e.g.
purpose eq "safety-reporting", or dateTime lt "2026-01-01".
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:Constraint
is_a: IdentifiableElement
attributes:
leftOperand:
name: leftOperand
description: The subject of the constraint (odrl:leftOperand), e.g. "purpose",
"recipient", "dateTime"
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:leftOperand
rank: 1000
alias: leftOperand
owner: Constraint
domain_of:
- Constraint
range: string
required: true
operator:
name: operator
description: The comparison operator (odrl:operator)
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:operator
alias: operator
owner: Constraint
domain_of:
- LogicalPredicate
- RangeCheck
- Constraint
range: ConstraintOperator
required: true
rightOperand:
name: rightOperand
description: The value compared against (odrl:rightOperand)
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:rightOperand
rank: 1000
alias: rightOperand
owner: Constraint
domain_of:
- Constraint
range: string
required: true
unit:
name: unit
description: Unit of the rightOperand, where applicable
from_schema: https://w3id.org/dds
rank: 1000
alias: unit
owner: Constraint
domain_of:
- Constraint
range: string
OID:
name: OID
description: Local identifier within this study/context. Use CDISC OID format
for regulatory submissions, or simple strings for internal use.
from_schema: https://w3id.org/dds
rank: 1000
identifier: true
alias: OID
owner: Constraint
domain_of:
- Identifiable
range: string
required: true
uuid:
name: uuid
description: Universal unique identifier
from_schema: https://w3id.org/dds
rank: 1000
alias: uuid
owner: Constraint
domain_of:
- Identifiable
range: string
name:
name: name
description: Short name or identifier, used for field names
from_schema: https://w3id.org/dds
rank: 1000
alias: name
owner: Constraint
domain_of:
- Labelled
- DefClass
- SubClass
- Standard
range: string
description:
name: description
description: Detailed description, shown in tooltips
from_schema: https://w3id.org/dds
rank: 1000
alias: description
owner: Constraint
domain_of:
- Labelled
- CodeListItem
range: string
any_of:
- range: string
- range: TranslatedText
coding:
name: coding
description: Semantic tags for this element
from_schema: https://w3id.org/dds
rank: 1000
alias: coding
owner: Constraint
domain_of:
- Labelled
- CodeListItem
- SourceItem
range: Coding
multivalued: true
inlined: true
inlined_as_list: true
label:
name: label
description: Human-readable label, shown in UIs
from_schema: https://w3id.org/dds
exact_mappings:
- skos:prefLabel
rank: 1000
alias: label
owner: Constraint
domain_of:
- Labelled
range: string
any_of:
- range: string
- range: TranslatedText
aliases:
name: aliases
description: Alternative name or identifier
from_schema: https://w3id.org/dds
exact_mappings:
- skos:altLabel
rank: 1000
alias: aliases
owner: Constraint
domain_of:
- Labelled
- CodeListItem
range: string
multivalued: true
inlined: true
inlined_as_list: true
any_of:
- range: string
- range: TranslatedText