Class: ElectronicsItem
Consumer electronics: phones, tablets, laptops, cameras, audio devices, cables, gaming consoles. COICOP 09.1 (audio-visual equipment) and 09.2.
Assessment: ElectronicsAssessmentEnum (functional and cosmetic state). Functional state is the primary redistribution signal for electronics — a cracked-screen phone that works is more useful than a pristine one that does not. assessment_result required regardless of usage because new devices can have factory defects or dead batteries.
Data wiping is a process concern (fragment step in sort_electronics process path), not a schema constraint — it is enforced by the fragment engine, not by a UC rule here.
classDiagram
class ElectronicsItem
click ElectronicsItem href "../ElectronicsItem/"
ElectronicsCategory <|-- ElectronicsItem
click ElectronicsCategory href "../ElectronicsCategory/"
DonationItem <|-- ElectronicsItem
click DonationItem href "../DonationItem/"
ElectronicsItem : assessment_result
ElectronicsItem --> "1" ElectronicsAssessmentEnum : assessment_result
click ElectronicsAssessmentEnum href "../ElectronicsAssessmentEnum/"
ElectronicsItem : attribute_completeness
ElectronicsItem --> "0..1" AttributeCompletenessEnum : attribute_completeness
click AttributeCompletenessEnum href "../AttributeCompletenessEnum/"
ElectronicsItem : category
ElectronicsItem : created_at
ElectronicsItem : donation_source
ElectronicsItem --> "0..1" DonationSource : donation_source
click DonationSource href "../DonationSource/"
ElectronicsItem : id
ElectronicsItem : includes_charger
ElectronicsItem : includes_original_packaging
ElectronicsItem : lifecycle_state
ElectronicsItem --> "1" ItemLifecycleStateEnum : lifecycle_state
click ItemLifecycleStateEnum href "../ItemLifecycleStateEnum/"
ElectronicsItem : material
ElectronicsItem : sorting_notes
ElectronicsItem : source_collection
ElectronicsItem --> "0..1" DonationCollection : source_collection
click DonationCollection href "../DonationCollection/"
ElectronicsItem : storage_unit
ElectronicsItem --> "0..1" StorageLocation : storage_unit
click StorageLocation href "../StorageLocation/"
ElectronicsItem : subcategory
ElectronicsItem --> "1" ElectronicsSubcategoryEnum : subcategory
click ElectronicsSubcategoryEnum href "../ElectronicsSubcategoryEnum/"
ElectronicsItem : updated_at
ElectronicsItem : usage
ElectronicsItem --> "1" ItemUsageEnum : usage
click ItemUsageEnum href "../ItemUsageEnum/"
Inheritance
- DonationItem
- ElectronicsItem [ ElectronicsCategory]
Class Properties
| Property | Value |
|---|---|
| Class URI | pto:Consumer_electronics |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| subcategory | 1 ElectronicsSubcategoryEnum |
Subcategory within the item type | ElectronicsCategory |
| assessment_result | 1 ElectronicsAssessmentEnum |
Functional and cosmetic assessment | ElectronicsCategory |
| includes_charger | 0..1 Boolean |
Whether a compatible charger is included | ElectronicsCategory |
| includes_original_packaging | 0..1 Boolean |
Whether original retail packaging is present | ElectronicsCategory |
| id | 1 Uriorcurie |
A unique identifier for the entity | DonationItem |
| usage | 1 ItemUsageEnum |
Provenance condition — was the item ever used before donation? Orthogonal to ... | DonationItem |
| category | 1 String |
Type-defining slot on DonationItem | DonationItem |
| lifecycle_state | 1 ItemLifecycleStateEnum |
Current lifecycle state of the entity | DonationItem |
| attribute_completeness | 0..1 AttributeCompletenessEnum |
Data quality tier set by the fragment engine on sorting completion | DonationItem |
| source_collection | 0..1 DonationCollection |
FK — the DonationCollection (arrival type) this item was registered from | DonationItem |
| donation_source | 0..1 DonationSource |
Reference to the DonationSource — privacy boundary between item records and d... | DonationItem |
| storage_unit | 0..1 StorageLocation |
FK — set when lifecycle_state transitions to stored | DonationItem |
| sorting_notes | 0..1 String |
Free-text notes recorded by the sorter during sorting | DonationItem |
| created_at | 1 Datetime |
Timestamp when the entity was created | DonationItem |
| updated_at | 1 Datetime |
Timestamp when the entity record was last modified | DonationItem |
| material | 0..1 String |
Primary material composition | CategoryMixin |
Rules
lc-sorted-electronics-assessment-required
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'lifecycle_state': {'equals_string': 'sorted'}} |
{'assessment_result': {'required': True}} |
lc-sorted-electronics-not-untested
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'lifecycle_state': {'equals_string': 'sorted'}} |
{'assessment_result': {'none_of': [{'equals_string': 'untested'}]}} |
See Also
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| label_en | Electronics |
| label_de | Elektronik |
Schema Source
- from schema: https://inkind-at.github.io/inkind-knowledge-repo
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | pto:Consumer_electronics |
| native | inkind_knowledge_repo:ElectronicsItem |
LinkML Source
Direct
name: ElectronicsItem
annotations:
label_en:
tag: label_en
value: Electronics
label_de:
tag: label_de
value: Elektronik
description: 'Consumer electronics: phones, tablets, laptops, cameras, audio devices,
cables, gaming consoles. COICOP 09.1 (audio-visual equipment) and 09.2.
Assessment: ElectronicsAssessmentEnum (functional and cosmetic state). Functional
state is the primary redistribution signal for electronics — a cracked-screen phone
that works is more useful than a pristine one that does not. assessment_result required
regardless of usage because new devices can have factory defects or dead batteries.
Data wiping is a process concern (fragment step in sort_electronics process path),
not a schema constraint — it is enforced by the fragment engine, not by a UC rule
here.'
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- http://www.productontology.org/id/Consumer_electronics
is_a: DonationItem
mixins:
- ElectronicsCategory
class_uri: pto:Consumer_electronics
rules:
- preconditions:
slot_conditions:
lifecycle_state:
name: lifecycle_state
equals_string: sorted
postconditions:
slot_conditions:
assessment_result:
name: assessment_result
required: true
description: assessment_result required at sorted state regardless of usage. New
devices can have factory defects or dead batteries.
title: lc-sorted-electronics-assessment-required
- preconditions:
slot_conditions:
lifecycle_state:
name: lifecycle_state
equals_string: sorted
postconditions:
slot_conditions:
assessment_result:
name: assessment_result
none_of:
- equals_string: untested
description: untested is only valid at received state. At sorted state the sorter
must have tested the device and recorded a definitive assessment result.
title: lc-sorted-electronics-not-untested
Induced
name: ElectronicsItem
annotations:
label_en:
tag: label_en
value: Electronics
label_de:
tag: label_de
value: Elektronik
description: 'Consumer electronics: phones, tablets, laptops, cameras, audio devices,
cables, gaming consoles. COICOP 09.1 (audio-visual equipment) and 09.2.
Assessment: ElectronicsAssessmentEnum (functional and cosmetic state). Functional
state is the primary redistribution signal for electronics — a cracked-screen phone
that works is more useful than a pristine one that does not. assessment_result required
regardless of usage because new devices can have factory defects or dead batteries.
Data wiping is a process concern (fragment step in sort_electronics process path),
not a schema constraint — it is enforced by the fragment engine, not by a UC rule
here.'
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- http://www.productontology.org/id/Consumer_electronics
is_a: DonationItem
mixins:
- ElectronicsCategory
attributes:
subcategory:
name: subcategory
annotations:
label_en:
tag: label_en
value: Subcategory
label_de:
tag: label_de
value: Unterkategorie
description: Subcategory within the item type. Overridden via slot_usage in each
concrete DonationItem subclass to a category-specific enum.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: subcategory
owner: ElectronicsItem
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- FurnitureCategory
- BeddingTextilesCategory
- HouseholdCategory
- ElectronicsCategory
- ToysCategory
- SportsCategory
- BooksCategory
- StationeryCategory
- PersonalCareCategory
- MobilityAidsCategory
- BabyInfantCategory
- AnyValue
range: ElectronicsSubcategoryEnum
required: true
assessment_result:
name: assessment_result
annotations:
label_en:
tag: label_en
value: Assessment Result
label_de:
tag: label_de
value: Bewertungsergebnis
description: Functional and cosmetic assessment. Required regardless of usage
— new devices can have factory defects or dead batteries.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- schema:OfferItemCondition
rank: 1000
alias: assessment_result
owner: ElectronicsItem
domain_of:
- FurnitureCategory
- BeddingTextilesCategory
- ElectronicsCategory
- SportsCategory
- MobilityAidsCategory
- BabyInfantCategory
range: ElectronicsAssessmentEnum
required: true
includes_charger:
name: includes_charger
description: Whether a compatible charger is included. Affects redistribution
value — a device without a charger is significantly less useful. Optional —
detailed completeness tier.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: includes_charger
owner: ElectronicsItem
domain_of:
- ElectronicsCategory
range: boolean
includes_original_packaging:
name: includes_original_packaging
description: Whether original retail packaging is present. Optional — detailed
tier.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: includes_original_packaging
owner: ElectronicsItem
domain_of:
- ElectronicsCategory
range: boolean
id:
name: id
description: A unique identifier for the entity.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: ElectronicsItem
domain_of:
- NamedThing
- SocialOrganisation
- Actor
- StorageLocation
- DonationSource
- DonationCollection
- DonationItem
- DemandSignal
- Campaign
- ProvenanceRecord
range: uriorcurie
required: true
usage:
name: usage
annotations:
label_en:
tag: label_en
value: Provenance
label_de:
tag: label_de
value: Provenance
description: Provenance condition — was the item ever used before donation? Orthogonal
to condition_grade and assessment_result. Maps to schema:NewCondition / schema:UsedCondition.
usage = new does NOT imply no defects — manufacturing defects are possible and
assessment must always be performed regardless of usage.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- schema:OfferItemCondition
- schema:NewCondition
- schema:UsedCondition
rank: 1000
slot_uri: schema:itemCondition
alias: usage
owner: ElectronicsItem
domain_of:
- DonationItem
range: ItemUsageEnum
required: true
category:
name: category
annotations:
label_en:
tag: label_en
value: Item Type
label_de:
tag: label_de
value: Artikeltyp
description: Type-defining slot on DonationItem. Value is the class URI of the
concrete subclass (e.g. inkind_knowledge_repo:ClothingItem). linkml-validate,
gen-json-schema, and gen-pydantic all use this slot to dispatch to the correct
subclass schema and valid slot set. For other entities (DemandSignal, StorageLocation)
the range is overridden via slot_usage to CategoryEnum.
notes:
- Due to a limitation in LinkML, the designates_type annotation was removed because
the range is an Enum and not a string.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
slot_uri: schema:additionalType
designates_type: true
alias: category
owner: ElectronicsItem
domain_of:
- DonationItem
- DemandSignal
range: string
required: true
lifecycle_state:
name: lifecycle_state
description: Current lifecycle state of the entity. Concrete enum range applied
via slot_usage. Transitions enforced by Django model clean().
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: lifecycle_state
owner: ElectronicsItem
domain_of:
- DonationSource
- DonationCollection
- DonationItem
- DemandSignal
- Campaign
range: ItemLifecycleStateEnum
required: true
attribute_completeness:
name: attribute_completeness
description: 'Data quality tier set by the fragment engine on sorting completion.
Not derived from field presence. Not a lifecycle gate. Used by the match engine
to filter candidates by data quality tier. See AttributeCompletenessEnum for
the relationship to lifecycle_state. Set by: fragment_engine. Read by: match_engine.'
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: attribute_completeness
owner: ElectronicsItem
domain_of:
- DonationItem
range: AttributeCompletenessEnum
required: false
source_collection:
name: source_collection
description: FK — the DonationCollection (arrival type) this item was registered
from. Null for items not arriving as part of a collection.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: source_collection
owner: ElectronicsItem
domain_of:
- DonationItem
range: DonationCollection
required: false
donation_source:
name: donation_source
description: Reference to the DonationSource — privacy boundary between item records
and donor identity. Concrete range applied via slot_usage.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
slot_uri: inkind_knowledge_repo:donation_source
alias: donation_source
owner: ElectronicsItem
domain_of:
- DonationCollection
- DonationItem
range: DonationSource
required: false
storage_unit:
name: storage_unit
description: FK — set when lifecycle_state transitions to stored. Null until the
item reaches stored state.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: storage_unit
owner: ElectronicsItem
domain_of:
- DonationItem
range: StorageLocation
required: false
sorting_notes:
name: sorting_notes
annotations:
label_en:
tag: label_en
value: Notes
label_de:
tag: label_de
value: Notizen
description: Free-text notes recorded by the sorter during sorting. Required by
UC warn rules to capture explicit sorter confirmation (e.g. incomplete pair,
body-contact item, inconclusive assessment).
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: sorting_notes
owner: ElectronicsItem
domain_of:
- DonationItem
range: string
created_at:
name: created_at
description: Timestamp when the entity was created.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: created_at
owner: ElectronicsItem
domain_of:
- DonationSource
- DonationCollection
- DonationItem
range: datetime
required: true
updated_at:
name: updated_at
description: Timestamp when the entity record was last modified.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: updated_at
owner: ElectronicsItem
domain_of:
- DonationItem
range: datetime
required: true
material:
name: material
annotations:
label_en:
tag: label_en
value: Material
label_de:
tag: label_de
value: Material
description: Primary material composition. Range overridden per class.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: material
owner: ElectronicsItem
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- FurnitureCategory
- BeddingTextilesCategory
- HouseholdCategory
- ToysCategory
- CategoryMixin
range: string
class_uri: pto:Consumer_electronics
rules:
- preconditions:
slot_conditions:
lifecycle_state:
name: lifecycle_state
equals_string: sorted
postconditions:
slot_conditions:
assessment_result:
name: assessment_result
required: true
description: assessment_result required at sorted state regardless of usage. New
devices can have factory defects or dead batteries.
title: lc-sorted-electronics-assessment-required
- preconditions:
slot_conditions:
lifecycle_state:
name: lifecycle_state
equals_string: sorted
postconditions:
slot_conditions:
assessment_result:
name: assessment_result
none_of:
- equals_string: untested
description: untested is only valid at received state. At sorted state the sorter
must have tested the device and recorded a definitive assessment result.
title: lc-sorted-electronics-not-untested