Skip to content

Slot: format

Concrete serialization of the artifact, as a lowercase token: the file extension the artifact is written with, without the leading dot (png, pdf, svg, csv, parquet, json, fits, hdf5, html, md). Where type says what the output is (figure, table, data), format says how it is encoded, so consumers can render, diff, or open it without inspecting the file.

The value space is deliberately open — any lowercase token matching the pattern is legal, so formats specific to a field (asdf, zarr, nc) need no schema change.

Recommended, not required, in 0.0.x: validators warn when it is missing. It becomes required for non-aliased Outputs in 0.1.0. Forbidden when from is set (inherited from the source).

URI: astra:format Alias: format

Applicable Classes

Name Description Modifies Slot
Output An expected output from the analysis no

Properties

Type and Range

Property Value
Range String
Domain Of Output

Cardinality and Requirements

Property Value
Recommended Yes
### Slot Characteristics
Property Value
Owner Output

Value Constraints

Property Value
Regex Pattern ^[a-z0-9][a-z0-9_.+-]*$

Identifier and Mapping Information

Annotations

property value
required_in 0.1.0

Schema Source

Mappings

Mapping Type Mapped Value
self astra:format
native astra:format

LinkML Source

name: format
annotations:
  required_in:
    tag: required_in
    value: 0.1.0
description: 'Concrete serialization of the artifact, as a lowercase token: the file
  extension the artifact is written with, without the leading dot (`png`, `pdf`, `svg`,
  `csv`, `parquet`, `json`, `fits`, `hdf5`, `html`, `md`). Where `type` says what
  the output *is* (figure, table, data), `format` says how it is encoded, so consumers
  can render, diff, or open it without inspecting the file.

  The value space is deliberately open  any lowercase token matching the pattern
  is legal, so formats specific to a field (`asdf`, `zarr`, `nc`) need no schema change.

  Recommended, not required, in 0.0.x: validators warn when it is missing. It becomes
  **required** for non-aliased Outputs in 0.1.0. Forbidden when `from` is set (inherited
  from the source).'
from_schema: https://w3id.org/astra/analysis
rank: 1000
alias: format
owner: Output
domain_of:
- Output
range: string
recommended: true
pattern: ^[a-z0-9][a-z0-9_.+-]*$