Class: SourceArtifact
Location and content identity of the uncompressed UTF-8 artifact read by the parser.
classDiagram
class SourceArtifact
click SourceArtifact href "../../classes/SourceArtifact/"
SourceArtifact : byte_size
SourceArtifact : sha256
SourceArtifact : uri
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| uri | 1 uri |
Supplied provenance URI or the local file URI; the parser never fetches it | direct |
| sha256 | 1 String |
SHA-256 digest of the original uncompressed source bytes | direct |
| byte_size | 1 Integer |
Size of the original source in bytes, including all line endings | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| SourceDocument | artifact | range | SourceArtifact |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/ber-data/feature-schemas
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | bfs:SourceArtifact |
| native | bfs:SourceArtifact |
LinkML Source
Direct
name: SourceArtifact
description: Location and content identity of the uncompressed UTF-8 artifact read
by the parser.
from_schema: https://w3id.org/ber-data/feature-schemas
slots:
- uri
- sha256
- byte_size
Induced
name: SourceArtifact
description: Location and content identity of the uncompressed UTF-8 artifact read
by the parser.
from_schema: https://w3id.org/ber-data/feature-schemas
attributes:
uri:
name: uri
description: Supplied provenance URI or the local file URI; the parser never fetches
it.
from_schema: https://w3id.org/ber-data/feature-schemas
rank: 1000
owner: SourceArtifact
domain_of:
- SourceArtifact
range: uri
required: true
sha256:
name: sha256
description: SHA-256 digest of the original uncompressed source bytes.
from_schema: https://w3id.org/ber-data/feature-schemas
rank: 1000
owner: SourceArtifact
domain_of:
- SourceArtifact
range: string
required: true
pattern: ^[0-9a-f]{64}$
byte_size:
name: byte_size
description: Size of the original source in bytes, including all line endings.
from_schema: https://w3id.org/ber-data/feature-schemas
rank: 1000
owner: SourceArtifact
domain_of:
- SourceArtifact
range: integer
required: true
minimum_value: 0