fix: update generated timestamp in manifest.json and add has_or_had_expenses slot definition

This commit is contained in:
kempersc 2026-01-14 09:06:36 +01:00
parent b30711fcfb
commit 554c5721ea
3 changed files with 72 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"generated": "2026-01-13T23:20:27.789Z",
"generated": "2026-01-14T08:05:54.440Z",
"schemaRoot": "/schemas/20251121/linkml",
"totalFiles": 2923,
"categoryCounts": {

View file

@ -1,5 +1,5 @@
{
"generated": "2026-01-14T08:05:54.440Z",
"generated": "2026-01-14T08:06:36.818Z",
"schemaRoot": "/schemas/20251121/linkml",
"totalFiles": 2923,
"categoryCounts": {

View file

@ -0,0 +1,70 @@
id: https://nde.nl/ontology/hc/slot/has_or_had_expenses
name: has_or_had_expenses_slot
title: Has Or Had Expenses Slot
description: >-
Links an entity to its expense records. Follows RiC-O temporal naming
convention (has_or_had_*) to indicate the relationship may be current
or historical.
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
frapo: http://purl.org/cerif/frapo/
imports:
- linkml:types
default_prefix: hc
slots:
has_or_had_expenses:
description: >-
Links an entity (e.g., FinancialStatement, Budget) to its categorized
expense records.
**USAGE**:
```yaml
financial_statement:
has_or_had_expenses:
- expense_type: ADMINISTRATIVE
amount: 10000000.0
currency: EUR
- expense_type: PROGRAM
amount: 62000000.0
currency: EUR
```
**DESIGN RATIONALE**:
This is a GENERIC slot following slot_fixes.yaml revision. Do NOT create
bespoke slots like `has_administrative_expenses` or `has_program_expenses`.
Instead, use this single slot with Expenses instances that have an
`expense_type` classification.
**REPLACES**:
- `administrative_expenses` (deprecated stub)
- `has_or_had_administrative_expense` (bespoke, should not have been created)
- `program_expense` (migrate to Expenses with type=PROGRAM)
- `fundraising_expense` (migrate to Expenses with type=FUNDRAISING)
- `innovation_expense` (migrate to Expenses with type=INNOVATION)
range: Expenses
multivalued: true
inlined: true
inlined_as_list: true
slot_uri: hc:hasOrHadExpenses
exact_mappings:
- frapo:hasExpenditure
related_mappings:
- schema:MonetaryAmount
- frapo:hasFunding
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Financial expenses applicable to all heritage custodian types.
custodian_types_primary: M
specificity_score: 0.55
specificity_rationale: >-
Moderately specific - financial expense tracking is specialized but applicable
across institution types with financial reporting requirements.