Financials pillar · v0.16.0
fx-rate-table FxRateTable
FX rate table — time series of rates from a single source for a single base currency. Replaces scalar `FxReference.usd_eur_rate`.
$id · https://corpospec.com/schemas/v0.16.0/fx-rate-table.schema.json
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| base_currency | IsoCurrency | yes | ISO 4217 currency code. |
| id | PathRef | yes | Path-based cross-reference relative to .corpospec/ root. Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$` |
| quote_basis | QuoteBasis | yes | Direct vs indirect quote basis. |
| rates | FxRate[] | yes | |
| source | FxSource | yes | Source authority for FX rates. |
| next_refresh_due | IsoDate? | — | Next scheduled refresh date for automated CI refresh. |
| note | string? | — |
Definitions
Shared types referenced within this schema.
FxRate
One date-indexed rate observation.
type: object
FxSource
Source authority for FX rates.
IsoCurrency
ISO 4217 currency code.
pattern: ^[A-Z]{3}$
IsoDate
ISO 8601 date (YYYY-MM-DD).
type: string
PathRef
Path-based cross-reference relative to .corpospec/ root.
Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$`
pattern: ^[a-z0-9_-]+(/[a-z0-9_.-]+)+$
QuoteBasis
Direct vs indirect quote basis.
RateType
Rate-type classification within a feed.
Reference in your YAML
# yaml-language-server: $schema=https://corpospec.com/schemas/v0.16.0/fx-rate-table.schema.json