Class: Rule

An ODRL rule asserting that an action is permitted, prohibited, or required on a target asset, optionally restricted by constraints.

URI: dds:class/Rule

erDiagram
Rule {
    string action  
    string target  
    string assigner  
    string assignee  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}
Coding {
    string code  
    string decode  
    string codeSystem  
    string codeSystemVersion  
    AliasPredicate aliasType  
}
Constraint {
    string leftOperand  
    ConstraintOperator operator  
    string rightOperand  
    string unit  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}

Rule ||--}o Constraint : "constraint"
Rule ||--}o Coding : "coding"
Constraint ||--}o Coding : "coding"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
action 1
String
The operation the rule governs (odrl:action), e.g. "use", "distribute", "anonymize", "delete". Semantics may be tagged via coding. direct
target 0..1
String
The asset the rule applies to (odrl:target), e.g. the Dataflow or Dataset OID/IRI under agreement. direct
assigner 0..1
String or 
Organization or 
String
Party issuing the rule, if overriding the policy-level assigner direct
assignee 0..1
String or 
Organization or 
String
Party the rule is granted to, if overriding the policy-level assignee direct
constraint *
Constraint
Conditions that narrow when/how the rule applies (odrl:constraint) 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
Policy permission range Rule
Policy prohibition range Rule
Policy obligation range Rule

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/dds

Mappings

Mapping Type Mapped Value
self dds:Rule
native dds:Rule
exact odrl:Rule

LinkML Source

Direct

name: Rule
description: An ODRL rule asserting that an action is permitted, prohibited, or required
  on a target asset, optionally restricted by constraints.
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:Rule
is_a: IdentifiableElement
attributes:
  action:
    name: action
    description: The operation the rule governs (odrl:action), e.g. "use", "distribute",
      "anonymize", "delete". Semantics may be tagged via coding.
    from_schema: https://w3id.org/dds
    exact_mappings:
    - odrl:action
    domain_of:
    - IsSdmxDataset
    - Rule
    required: true
  target:
    name: target
    description: The asset the rule applies to (odrl:target), e.g. the Dataflow or
      Dataset OID/IRI under agreement.
    from_schema: https://w3id.org/dds
    exact_mappings:
    - odrl:target
    rank: 1000
    domain_of:
    - Rule
  assigner:
    name: assigner
    description: Party issuing the rule, if overriding the policy-level assigner
    from_schema: https://w3id.org/dds
    domain_of:
    - Policy
    - Rule
    any_of:
    - range: Organization
    - range: string
  assignee:
    name: assignee
    description: Party the rule is granted to, if overriding the policy-level assignee
    from_schema: https://w3id.org/dds
    domain_of:
    - Policy
    - Rule
    any_of:
    - range: Organization
    - range: string
  constraint:
    name: constraint
    description: Conditions that narrow when/how the rule applies (odrl:constraint)
    from_schema: https://w3id.org/dds
    exact_mappings:
    - odrl:constraint
    rank: 1000
    domain_of:
    - Rule
    range: Constraint
    multivalued: true
    inlined: true
    inlined_as_list: true

Induced

name: Rule
description: An ODRL rule asserting that an action is permitted, prohibited, or required
  on a target asset, optionally restricted by constraints.
from_schema: https://w3id.org/dds
exact_mappings:
- odrl:Rule
is_a: IdentifiableElement
attributes:
  action:
    name: action
    description: The operation the rule governs (odrl:action), e.g. "use", "distribute",
      "anonymize", "delete". Semantics may be tagged via coding.
    from_schema: https://w3id.org/dds
    exact_mappings:
    - odrl:action
    alias: action
    owner: Rule
    domain_of:
    - IsSdmxDataset
    - Rule
    range: string
    required: true
  target:
    name: target
    description: The asset the rule applies to (odrl:target), e.g. the Dataflow or
      Dataset OID/IRI under agreement.
    from_schema: https://w3id.org/dds
    exact_mappings:
    - odrl:target
    rank: 1000
    alias: target
    owner: Rule
    domain_of:
    - Rule
    range: string
  assigner:
    name: assigner
    description: Party issuing the rule, if overriding the policy-level assigner
    from_schema: https://w3id.org/dds
    alias: assigner
    owner: Rule
    domain_of:
    - Policy
    - Rule
    range: string
    any_of:
    - range: Organization
    - range: string
  assignee:
    name: assignee
    description: Party the rule is granted to, if overriding the policy-level assignee
    from_schema: https://w3id.org/dds
    alias: assignee
    owner: Rule
    domain_of:
    - Policy
    - Rule
    range: string
    any_of:
    - range: Organization
    - range: string
  constraint:
    name: constraint
    description: Conditions that narrow when/how the rule applies (odrl:constraint)
    from_schema: https://w3id.org/dds
    exact_mappings:
    - odrl:constraint
    rank: 1000
    alias: constraint
    owner: Rule
    domain_of:
    - Rule
    range: Constraint
    multivalued: true
    inlined: true
    inlined_as_list: true
  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: Rule
    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: Rule
    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: Rule
    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: Rule
    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: Rule
    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: Rule
    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: Rule
    domain_of:
    - Labelled
    - CodeListItem
    range: string
    multivalued: true
    inlined: true
    inlined_as_list: true
    any_of:
    - range: string
    - range: TranslatedText