Class: GranularMarking
_The granular-marking type defines how the list of marking-definition objects referenced by the marking_refs property to apply to a set of content identified by the list of selectors in the selectors property. _
classDiagram
class GranularMarking
click GranularMarking href "../GranularMarking/"
CommonSchemaComponent <|-- GranularMarking
click CommonSchemaComponent href "../CommonSchemaComponent/"
GranularMarking : description
GranularMarking : id
GranularMarking : lang
GranularMarking : marking_ref
GranularMarking : name
GranularMarking : selectors
GranularMarking : type
Inheritance
- StixEntity
- CommonSchemaComponent
- GranularMarking
- CommonSchemaComponent
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| marking_ref | 1 StixIdentifier |
Marking-definition reference | direct |
| selectors | 1..* String |
A list of selectors for content contained within the STIX object in which thi... | direct |
| lang | 0..1 String |
Language of textual properties | 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 |
| description | 0..1 String |
Human-readable description | StixEntity |
Usages
In Subsets
Comments
- jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/common/granular-marking.json
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/attack
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | attack:GranularMarking |
| native | attack:GranularMarking |
LinkML Source
Direct
name: GranularMarking
description: 'The granular-marking type defines how the list of marking-definition
objects referenced by the marking_refs property to apply to a set of content identified
by the list of selectors in the selectors property. '
comments:
- 'jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/common/granular-marking.json'
in_subset:
- common
from_schema: https://w3id.org/lmodel/attack
is_a: CommonSchemaComponent
slots:
- marking_ref
- selectors
- lang
slot_usage:
marking_ref:
name: marking_ref
required: true
pattern: ^marking-definition--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
selectors:
name: selectors
comments:
- 'jsonschema_minItems: "1"'
required: true
Induced
name: GranularMarking
description: 'The granular-marking type defines how the list of marking-definition
objects referenced by the marking_refs property to apply to a set of content identified
by the list of selectors in the selectors property. '
comments:
- 'jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/common/granular-marking.json'
in_subset:
- common
from_schema: https://w3id.org/lmodel/attack
is_a: CommonSchemaComponent
slot_usage:
marking_ref:
name: marking_ref
required: true
pattern: ^marking-definition--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
selectors:
name: selectors
comments:
- 'jsonschema_minItems: "1"'
required: true
attributes:
marking_ref:
name: marking_ref
description: Marking-definition reference.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: marking_ref
owner: GranularMarking
domain_of:
- GranularMarking
range: stix_identifier
required: true
pattern: ^marking-definition--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
selectors:
name: selectors
description: A list of selectors for content contained within the STIX object
in which this property appears.
comments:
- 'jsonschema_minItems: "1"'
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: selectors
owner: GranularMarking
domain_of:
- GranularMarking
range: string
required: true
multivalued: true
lang:
name: lang
description: Language of textual properties.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: lang
owner: GranularMarking
domain_of:
- Core
- GranularMarking
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: GranularMarking
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: GranularMarking
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: GranularMarking
domain_of:
- RelatedAsset
- StixEntity
- ExtensionDefinition
- MarkingDefinition
- AutonomousSystem
- File
range: string
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: GranularMarking
domain_of:
- RelatedAsset
- MutableElement
- StixEntity
- ExtensionDefinition
- ExternalReference
range: string