Class: ExternalReference
_External references are used to describe pointers to information represented outside of STIX. _
classDiagram
class ExternalReference
click ExternalReference href "../ExternalReference/"
CommonSchemaComponent <|-- ExternalReference
click CommonSchemaComponent href "../CommonSchemaComponent/"
ExternalReference : description
ExternalReference : external_id
ExternalReference : hashes
ExternalReference --> "0..1" HashesType : hashes
click HashesType href "../HashesType/"
ExternalReference : id
ExternalReference : name
ExternalReference : source_name
ExternalReference : type
ExternalReference : url
Inheritance
- StixEntity
- CommonSchemaComponent
- ExternalReference
- CommonSchemaComponent
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| source_name | 1 String |
Name of the external source | direct |
| description | 0..1 String |
Human-readable description | direct |
| url | 0..1 Uriorcurie |
A URL reference to an external resource | direct |
| hashes | 0..1 HashesType |
Specifies a dictionary of hashes for the file or content | direct |
| external_id | 0..1 String |
An identifier for the external reference content | direct |
| id | 0..1 StixIdentifier |
STIX object identifier | StixEntity |
| type | 0..1 StixTypeName |
STIX object type | StixEntity |
| name | 0..1 String |
Human-readable name | StixEntity |
Usages
In Subsets
Comments
- jsonschema_rule: oneOf validator_hint: external-reference-branch-validation jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/common/external-reference.json
Notes
- Upstream JSON Schema uses oneOf branches keyed by source_name; exact branch logic is delegated to validator tooling.
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/attack
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | attack:ExternalReference |
| native | attack:ExternalReference |
| exact | unified_cyber_ontology:ExternalReference |
LinkML Source
Direct
name: ExternalReference
description: 'External references are used to describe pointers to information represented
outside of STIX. '
notes:
- Upstream JSON Schema uses oneOf branches keyed by source_name; exact branch logic
is delegated to validator tooling.
comments:
- 'jsonschema_rule: oneOf validator_hint: external-reference-branch-validation jsonschema_source:
https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/common/external-reference.json'
in_subset:
- common
from_schema: https://w3id.org/lmodel/attack
exact_mappings:
- unified_cyber_ontology:ExternalReference
is_a: CommonSchemaComponent
slots:
- source_name
- description
- url
- hashes
- external_id
slot_usage:
source_name:
name: source_name
required: true
url:
name: url
pattern: '^\w+:'
Induced
name: ExternalReference
description: 'External references are used to describe pointers to information represented
outside of STIX. '
notes:
- Upstream JSON Schema uses oneOf branches keyed by source_name; exact branch logic
is delegated to validator tooling.
comments:
- 'jsonschema_rule: oneOf validator_hint: external-reference-branch-validation jsonschema_source:
https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/common/external-reference.json'
in_subset:
- common
from_schema: https://w3id.org/lmodel/attack
exact_mappings:
- unified_cyber_ontology:ExternalReference
is_a: CommonSchemaComponent
slot_usage:
source_name:
name: source_name
required: true
url:
name: url
pattern: '^\w+:'
attributes:
source_name:
name: source_name
description: Name of the external source.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- unified_cyber_ontology:name
rank: 1000
alias: source_name
owner: ExternalReference
domain_of:
- ExternalReference
range: string
required: true
description:
name: description
description: Human-readable description.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- unified_cyber_ontology:description
rank: 1000
alias: description
owner: ExternalReference
domain_of:
- RelatedAsset
- MutableElement
- StixEntity
- ExtensionDefinition
- ExternalReference
range: string
url:
name: url
description: A URL reference to an external resource.
from_schema: https://w3id.org/lmodel/attack
related_mappings:
- unified_cyber_ontology:URL
rank: 1000
alias: url
owner: ExternalReference
domain_of:
- ExternalReference
- Artifact
range: uriorcurie
pattern: '^\w+:'
hashes:
name: hashes
description: Specifies a dictionary of hashes for the file or content.
from_schema: https://w3id.org/lmodel/attack
exact_mappings:
- unified_cyber_ontology:hashes
rank: 1000
alias: hashes
owner: ExternalReference
domain_of:
- ExternalReference
- Artifact
- File
- X509Certificate
range: HashesType
external_id:
name: external_id
description: An identifier for the external reference content.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: external_id
owner: ExternalReference
domain_of:
- ExternalReference
range: string
id:
name: id
description: STIX object identifier.
from_schema: https://w3id.org/lmodel/attack
related_mappings:
- unified_cyber_ontology:externalReference
rank: 1000
alias: id
owner: ExternalReference
domain_of:
- StixEntity
- Bundle
- Core
- CyberObservableCore
- ExtensionDefinition
- LanguageContent
- MarkingDefinition
- File
range: stix_identifier
type:
name: type
description: STIX object type.
from_schema: https://w3id.org/lmodel/attack
related_mappings:
- unified_cyber_ontology:state
rank: 1000
alias: type
owner: ExternalReference
domain_of:
- StixEntity
- Bundle
- Core
- CyberObservableCore
- ExtensionDefinition
- LanguageContent
- MarkingDefinition
- File
range: stix_type_name
name:
name: name
description: Human-readable name.
from_schema: https://w3id.org/lmodel/attack
exact_mappings:
- unified_cyber_ontology:name
rank: 1000
alias: name
owner: ExternalReference
domain_of:
- RelatedAsset
- StixEntity
- ExtensionDefinition
- MarkingDefinition
- AutonomousSystem
- File
range: string