feat: Migrate data_license_policy to has_or_had_policy; archive previous slot and update related schemas

This commit is contained in:
kempersc 2026-01-22 22:35:10 +01:00
parent 46cb4d40fa
commit 479ceae715
5 changed files with 124 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{
"generated": "2026-01-22T21:17:35.747Z",
"generated": "2026-01-22T21:19:53.129Z",
"schemaRoot": "/schemas/20251121/linkml",
"totalFiles": 3037,
"categoryCounts": {

View file

@ -1,5 +1,5 @@
{
"generated": "2026-01-22T21:19:53.129Z",
"generated": "2026-01-22T21:35:10.346Z",
"schemaRoot": "/schemas/20251121/linkml",
"totalFiles": 3037,
"categoryCounts": {

View file

@ -47,7 +47,7 @@ imports:
- ../slots/has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
- ../slots/has_or_had_budget # was: total_annual_budget - migrated per Rule 53 (2026-01-15)
- ./Budget # for has_or_had_budget range
- ../slots/data_license_policy
- ../slots/has_or_had_policy # was: data_license_policy - migrated per Rule 53 (2026-01-22)
- ../slots/description
- ../slots/governance_authority
- ../slots/has_or_had_area_served
@ -357,7 +357,7 @@ classes:
examples:
- value: OCLC membership is open to libraries and cultural heritage organizations. Members pay annual fees based on
usage. Members receive governance rights and access to services.
data_license_policy:
has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22)
recommended: true
exact_mappings:
- org:FormalOrganization
@ -396,7 +396,7 @@ classes:
rights (voting in Global Council), access to member pricing for services, and participation in cooperative programs.
governance_authority: Governed by Global Council of elected library representatives. Board of Trustees provides strategic
oversight. Regional councils for Americas, EMEA, and Asia Pacific. Annual Members Council meeting.
data_license_policy:
has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22)
policy_name: OCLC Data Usage Policy
openness_stance: MIXED_POLICY
default_license: proprietary-worldcat
@ -459,7 +459,7 @@ classes:
- value: Wikimedia projects are governed by community consensus. The Wikimedia Foundation provides infrastructure
and legal support but does not control content. Movement governance through affiliates, chapters, and community-elected
bodies.
data_license_policy:
has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22)
required: true
exact_mappings:
- schema:Organization
@ -504,7 +504,7 @@ classes:
governance_authority: Wikimedia projects are governed by community consensus through volunteer administrators, arbitration
committees, and policy pages. The Wikimedia Foundation Board of Trustees provides strategic oversight. Movement
governance through affiliates, chapters, and community-elected bodies (Movement Charter in development).
data_license_policy:
has_or_had_policy: # was: data_license_policy - migrated per Rule 53 (2026-01-22)
policy_name: Wikimedia Foundation Open Content Policy
openness_stance: STRONG_OPEN_ADVOCATE
default_license: cc0-1.0

View file

@ -11454,6 +11454,26 @@ fixes:
type: slot
- label: DataLicensePolicy
type: class
processed:
status: true
date: '2026-01-22'
agent: claude-claude-sonnet-4-20250514
notes: |
**Migration #63: data_license_policy** ✅ COMPLETE
**Pattern**: data_license_policy → has_or_had_policy + DataLicensePolicy
**Files Used** (pre-existing):
- has_or_had_policy.yaml (with range: Policy)
- DataLicensePolicy.yaml (subclass of Policy)
**Files Modified**:
- Custodian.yaml: Replaced data_license_policy with has_or_had_policy (range narrowed to DataLicensePolicy)
- WebPortal.yaml: Replaced data_license_policy with has_or_had_policy
- EncompassingBody.yaml: Replaced data_license_policy with has_or_had_policy (also cleaned duplicate imports)
- EncompassingBodyTypes.yaml: Updated slot_usage and examples
**Archived**: modules/slots/archive/data_license_policy_archived_20260122.yaml
- original_slot_id: https://nde.nl/ontology/hc/slot/data_source
revision:
- label: has_or_had_repository
@ -15312,4 +15332,100 @@ fixes:
type: slot
- label: URL
type: class
# https://nde.nl/ontology/hc/slot/has_auxiliary_place
- original_slot_id: https://nde.nl/ontology/hc/slot/has_auxiliary_place
revision:
- label: is_or_was_associated_with
type: slot
- label: Place
type: class
- orignal_slot_id: https://nde.nl/ontology/hc/slot/has_auxiliary_place_type
revision:
- label: has_or_had_type
type: slot
- label: PlaceType
type: class
- label: includes_or_included
type: slot
- label: PlaceTypes
type: class
- orignal_slot_id: https://nde.nl/ontology/hc/slot/has_auxiliary_platform
revision:
- label: is_or_was_associated_with
type: slot
- label: Platform
type: class
- original_slot_id: https://nde.nl/ontology/hc/slot/has_auxiliary_platform_type
revision:
- label: has_or_had_type
type: slot
- label: PlatformType
type: class
- label: includes_or_included
type: slot
- label: PlatformTypes
type: class
- original_slot_id: https://nde.nl/ontology/hc/slot/has_av_equipment
revision:
- label: has_or_had_equipment
type: slot
- label: AVEquipment
type: class
- original_slot_id: https://nde.nl/ontology/hc/slot/has_availability_timespan
revision:
- label: has_or_had_time_interval
type: slot
- label: TimeSpan
type: class
- original_slot_id: https://nde.nl/ontology/hc/slot/has_available_caption_language
revision:
- label: has_or_had_caption
type: slot
- label: Caption
type: class
- label: has_or_had_language
type: slot
- label: Language
type: class
- original_slot_id: https://nde.nl/ontology/hc/slot/has_average_entry_duration_seconds
revision:
- label: had_or_had_time_interval
type: slot
- label: TimeSpan
type: class
- label: has_or_had_mean
type: slot
- label: MeanValue
type: class
- label: has_or_had_unit
type: slot
- label: Unit
type: class
value: seconds
- original_slot_id: https://nde.nl/ontology/hc/slot/has_average_scene_duration_seconds
revision:
- label: has_or_had_dhad_or_had_time_intervaluration
type: slot
- label: TimeSpan
type: class
- label: has_or_had_mean
type: slot
- label: MeanValue
type: class
- label: has_or_had_unit
type: slot
- label: Unit
type: class
value: seconds
- original_slot_id: https://nde.nl/ontology/hc/slot/has_boundary
revision:
- label: has_or_had_boundary
type: slot
- label: Boundary
type: class
- original_slot_id: https://nde.nl/ontology/hc/slot/has_budget
revision:
- label: has_or_had_budget
type: slot
- label: Budget
type: class
# https://nde.nl/ontology/hc/slot/has_climate_control