Class: Link
A reference to a local or remote resource, that has a specific relation to the containing object.
URI: oscal:Link
classDiagram
class Link
click Link href "../Link/"
Link <|-- ImplementationCommonLink
click ImplementationCommonLink href "../ImplementationCommonLink/"
Link <|-- SspSystemInformationLink
click SspSystemInformationLink href "../SspSystemInformationLink/"
Link <|-- SspDiagramLink
click SspDiagramLink href "../SspDiagramLink/"
Link <|-- SspLeveragedAuthorizationLink
click SspLeveragedAuthorizationLink href "../SspLeveragedAuthorizationLink/"
Link <|-- SspByComponentLink
click SspByComponentLink href "../SspByComponentLink/"
Link : href
Link : media_type
Link : rel
Link : resource_fragment
Link : text
Inheritance
- Link
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| href | 1 URIReferenceType |
A resolvable URL reference to a resource | direct |
| rel | 0..1 TokenType or MetadataLinkRelEnum |
Describes the type of relationship provided by the link's hypertext reference | direct |
| resource_fragment | 0..1 String |
In case where the href points to a back-matter/resource, this value will indi... | direct |
| media_type | 0..1 String |
A label that indicates the nature of a resource, as a data serialization or f... | direct |
| text | 0..1 MarkupLineType |
A textual label to associate with the containing object | direct |
Usages
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/oscal
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | oscal:Link |
| native | oscal:Link |
LinkML Source
Direct
name: Link
description: A reference to a local or remote resource, that has a specific relation
to the containing object.
in_subset:
- oscal_metadata
from_schema: https://w3id.org/lmodel/oscal
slots:
- href
- rel
- resource-fragment
- media-type
- text
slot_usage:
href:
name: href
description: A resolvable URL reference to a resource.
required: true
rel:
name: rel
any_of:
- range: MetadataLinkRelEnum
- range: TokenType
Induced
name: Link
description: A reference to a local or remote resource, that has a specific relation
to the containing object.
in_subset:
- oscal_metadata
from_schema: https://w3id.org/lmodel/oscal
slot_usage:
href:
name: href
description: A resolvable URL reference to a resource.
required: true
rel:
name: rel
any_of:
- range: MetadataLinkRelEnum
- range: TokenType
attributes:
href:
name: href
description: A resolvable URL reference to a resource.
from_schema: https://w3id.org/lmodel/oscal
rank: 1000
alias: href
owner: Link
domain_of:
- Link
- ResourceLink
- ProfileImport
- ImportSSP
- RelevantEvidence
- ThreatId
- ImportProfile
- ImportAssessmentPlan
- ImportComponentDefinition
- MappingResourceReference
range: URIReferenceType
required: true
rel:
name: rel
description: Describes the type of relationship provided by the link's hypertext
reference. This can be an indicator of the link's purpose.
from_schema: https://w3id.org/lmodel/oscal
rank: 1000
alias: rel
owner: Link
domain_of:
- Link
range: TokenType
any_of:
- range: MetadataLinkRelEnum
- range: TokenType
resource-fragment:
name: resource-fragment
description: In case where the href points to a back-matter/resource, this value
will indicate the URI fragment to append to any rlink associated with the resource.
This value MUST be URI encoded.
from_schema: https://w3id.org/lmodel/oscal
rank: 1000
alias: resource_fragment
owner: Link
domain_of:
- Link
range: string
media-type:
name: media-type
description: A label that indicates the nature of a resource, as a data serialization
or format.
from_schema: https://w3id.org/lmodel/oscal
rank: 1000
alias: media_type
owner: Link
domain_of:
- Link
- ResourceLink
- Base64Resource
range: string
text:
name: text
description: A textual label to associate with the containing object.
from_schema: https://w3id.org/lmodel/oscal
rank: 1000
alias: text
owner: Link
domain_of:
- Link
- Citation
range: MarkupLineType