Class: FileProvEntry¶
File-level provenance event (snapshot or branch creation).
URI: debrief:class/FileProvEntry
classDiagram
class FileProvEntry
click FileProvEntry href "../../classes/FileProvEntry/"
FileProvEntry : activity_id
FileProvEntry : asset
FileProvEntry : branch_id
FileProvEntry : direction
FileProvEntry --> "0..1" FileProvDirectionEnum : direction
click FileProvDirectionEnum href "../../enums/FileProvDirectionEnum/"
FileProvEntry : timestamp
FileProvEntry : type
FileProvEntry --> "1" FileProvEventTypeEnum : type
click FileProvEventTypeEnum href "../../enums/FileProvEventTypeEnum/"
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| activity_id | 1 String |
Unique event identifier | direct |
| type | 1 FileProvEventTypeEnum |
Event type: snapshot or branch | direct |
| timestamp | 1 datetime |
When the event occurred (ISO 8601 with timezone) | direct |
| asset | 0..1 String |
Path to snapshot file (for snapshot events) | direct |
| branch_id | 0..1 String |
Branch identifier (for branch events) | direct |
| direction | 0..1 FileProvDirectionEnum |
'source' or 'target' (for branch events) | direct |
Usages¶
| used by | used in | type | used |
|---|---|---|---|
| SystemRecordProperties | provenance | range | FileProvEntry |
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://debrief.info/schemas/debrief
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | debrief:FileProvEntry |
| native | debrief:FileProvEntry |
LinkML Source¶
Direct¶
name: FileProvEntry
description: File-level provenance event (snapshot or branch creation).
from_schema: https://debrief.info/schemas/debrief
attributes:
activity_id:
name: activity_id
description: Unique event identifier.
from_schema: https://debrief.info/schemas/system-record
domain_of:
- LogEntry
- FileProvEntry
range: string
required: true
type:
name: type
description: 'Event type: snapshot or branch.'
from_schema: https://debrief.info/schemas/system-record
domain_of:
- GeoJSONPoint
- GeoJSONEmptyPoint
- GeoJSONLineString
- GeoJSONPolygon
- GeoJSONMultiPoint
- GeoJSONMultiLineString
- GeoJSONMultiPolygon
- TrackFeature
- ReferenceLocation
- SystemState
- MultiPointFeature
- MultiPolygonFeature
- NarrativeEntry
- CircleAnnotation
- RectangleAnnotation
- LineAnnotation
- TextAnnotation
- VectorAnnotation
- PolyAnnotation
- ToolParameter
- FileProvEntry
- GeoJSONGeometry
- GeoJSONFeature
- DatasetAxisMetadata
- DatasetEntry
range: FileProvEventTypeEnum
required: true
timestamp:
name: timestamp
description: When the event occurred (ISO 8601 with timezone).
from_schema: https://debrief.info/schemas/system-record
domain_of:
- LogEntry
- TuneAnnotation
- FileProvEntry
- FeatureSelection
range: datetime
required: true
asset:
name: asset
description: Path to snapshot file (for snapshot events).
from_schema: https://debrief.info/schemas/system-record
domain_of:
- SnapshotRef
- FileProvEntry
range: string
required: false
branch_id:
name: branch_id
description: Branch identifier (for branch events).
from_schema: https://debrief.info/schemas/system-record
domain_of:
- BranchRecord
- BranchOrigin
- FileProvEntry
range: string
required: false
direction:
name: direction
description: '''source'' or ''target'' (for branch events).'
from_schema: https://debrief.info/schemas/system-record
rank: 1000
domain_of:
- FileProvEntry
range: FileProvDirectionEnum
required: false
Induced¶
name: FileProvEntry
description: File-level provenance event (snapshot or branch creation).
from_schema: https://debrief.info/schemas/debrief
attributes:
activity_id:
name: activity_id
description: Unique event identifier.
from_schema: https://debrief.info/schemas/system-record
alias: activity_id
owner: FileProvEntry
domain_of:
- LogEntry
- FileProvEntry
range: string
required: true
type:
name: type
description: 'Event type: snapshot or branch.'
from_schema: https://debrief.info/schemas/system-record
alias: type
owner: FileProvEntry
domain_of:
- GeoJSONPoint
- GeoJSONEmptyPoint
- GeoJSONLineString
- GeoJSONPolygon
- GeoJSONMultiPoint
- GeoJSONMultiLineString
- GeoJSONMultiPolygon
- TrackFeature
- ReferenceLocation
- SystemState
- MultiPointFeature
- MultiPolygonFeature
- NarrativeEntry
- CircleAnnotation
- RectangleAnnotation
- LineAnnotation
- TextAnnotation
- VectorAnnotation
- PolyAnnotation
- ToolParameter
- FileProvEntry
- GeoJSONGeometry
- GeoJSONFeature
- DatasetAxisMetadata
- DatasetEntry
range: FileProvEventTypeEnum
required: true
timestamp:
name: timestamp
description: When the event occurred (ISO 8601 with timezone).
from_schema: https://debrief.info/schemas/system-record
alias: timestamp
owner: FileProvEntry
domain_of:
- LogEntry
- TuneAnnotation
- FileProvEntry
- FeatureSelection
range: datetime
required: true
asset:
name: asset
description: Path to snapshot file (for snapshot events).
from_schema: https://debrief.info/schemas/system-record
alias: asset
owner: FileProvEntry
domain_of:
- SnapshotRef
- FileProvEntry
range: string
required: false
branch_id:
name: branch_id
description: Branch identifier (for branch events).
from_schema: https://debrief.info/schemas/system-record
alias: branch_id
owner: FileProvEntry
domain_of:
- BranchRecord
- BranchOrigin
- FileProvEntry
range: string
required: false
direction:
name: direction
description: '''source'' or ''target'' (for branch events).'
from_schema: https://debrief.info/schemas/system-record
rank: 1000
alias: direction
owner: FileProvEntry
domain_of:
- FileProvEntry
range: FileProvDirectionEnum
required: false