Class: ToysItem
Toys and games. COICOP 09.3 (games, toys, hobbies). Age grading follows EU Toy Safety Directive 2009/48/EC:
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0048
UC rule for small parts choking hazard also references ASTM F963 (US standard) for completeness. Assessment: condition_grade (wear grade).
URI: pto:Toy
classDiagram
class ToysItem
click ToysItem href "../ToysItem/"
ToysCategory <|-- ToysItem
click ToysCategory href "../ToysCategory/"
DonationItem <|-- ToysItem
click DonationItem href "../DonationItem/"
ToysItem : age_range
ToysItem --> "0..1" ToyAgeRangeEnum : age_range
click ToyAgeRangeEnum href "../ToyAgeRangeEnum/"
ToysItem : attribute_completeness
ToysItem --> "0..1" AttributeCompletenessEnum : attribute_completeness
click AttributeCompletenessEnum href "../AttributeCompletenessEnum/"
ToysItem : category
ToysItem : condition_grade
ToysItem --> "0..1" UsedConditionGradeEnum : condition_grade
click UsedConditionGradeEnum href "../UsedConditionGradeEnum/"
ToysItem : created_at
ToysItem : donation_source
ToysItem --> "0..1" DonationSource : donation_source
click DonationSource href "../DonationSource/"
ToysItem : has_small_parts
ToysItem : id
ToysItem : is_set_complete
ToysItem : lifecycle_state
ToysItem --> "1" ItemLifecycleStateEnum : lifecycle_state
click ItemLifecycleStateEnum href "../ItemLifecycleStateEnum/"
ToysItem : material
ToysItem --> "0..1" ToysMaterialEnum : material
click ToysMaterialEnum href "../ToysMaterialEnum/"
ToysItem : sorting_notes
ToysItem : source_collection
ToysItem --> "0..1" DonationCollection : source_collection
click DonationCollection href "../DonationCollection/"
ToysItem : storage_unit
ToysItem --> "0..1" StorageLocation : storage_unit
click StorageLocation href "../StorageLocation/"
ToysItem : subcategory
ToysItem --> "1" ToysSubcategoryEnum : subcategory
click ToysSubcategoryEnum href "../ToysSubcategoryEnum/"
ToysItem : updated_at
ToysItem : usage
ToysItem --> "1" ItemUsageEnum : usage
click ItemUsageEnum href "../ItemUsageEnum/"
Inheritance
- DonationItem
- ToysItem [ ToysCategory]
Class Properties
| Property | Value |
|---|---|
| Class URI | pto:Toy |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| subcategory | 1 ToysSubcategoryEnum |
Subcategory within the item type | ToysCategory |
| material | 0..1 ToysMaterialEnum |
Primary construction material | ToysCategory, CategoryMixin |
| age_range | 0..1 ToyAgeRangeEnum |
Age suitability | ToysCategory |
| is_set_complete | 0..1 Boolean |
Whether all components of the set are present | ToysCategory |
| has_small_parts | 0..1 Boolean |
Whether the item contains small parts posing a choking hazard | ToysCategory |
| condition_grade | 0..1 UsedConditionGradeEnum |
Observed wear/quality grade at sorting time | ToysCategory |
| 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 |
Rules
lc-sorted-toys-condition-grade-required
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'lifecycle_state': {'equals_string': 'sorted'}} |
{'condition_grade': {'required': True}} |
See Also
- http://www.productontology.org/id/Toy
- https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0048
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| label_en | Toys and Games |
| label_de | Spielzeug und Spiele |
Schema Source
- from schema: https://inkind-at.github.io/inkind-knowledge-repo
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | pto:Toy |
| native | inkind_knowledge_repo:ToysItem |
LinkML Source
Direct
name: ToysItem
annotations:
label_en:
tag: label_en
value: Toys and Games
label_de:
tag: label_de
value: Spielzeug und Spiele
description: "Toys and games. COICOP 09.3 (games, toys, hobbies). Age grading follows\
\ EU Toy Safety Directive 2009/48/EC:\n https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0048\n\
UC rule for small parts choking hazard also references ASTM F963 (US standard) for\
\ completeness. Assessment: condition_grade (wear grade)."
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- http://www.productontology.org/id/Toy
- https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0048
is_a: DonationItem
mixins:
- ToysCategory
class_uri: pto:Toy
rules:
- preconditions:
slot_conditions:
lifecycle_state:
name: lifecycle_state
equals_string: sorted
postconditions:
slot_conditions:
condition_grade:
name: condition_grade
required: true
description: condition_grade required at sorted state regardless of usage.
title: lc-sorted-toys-condition-grade-required
Induced
name: ToysItem
annotations:
label_en:
tag: label_en
value: Toys and Games
label_de:
tag: label_de
value: Spielzeug und Spiele
description: "Toys and games. COICOP 09.3 (games, toys, hobbies). Age grading follows\
\ EU Toy Safety Directive 2009/48/EC:\n https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0048\n\
UC rule for small parts choking hazard also references ASTM F963 (US standard) for\
\ completeness. Assessment: condition_grade (wear grade)."
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- http://www.productontology.org/id/Toy
- https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32009L0048
is_a: DonationItem
mixins:
- ToysCategory
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: ToysItem
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- FurnitureCategory
- BeddingTextilesCategory
- HouseholdCategory
- ElectronicsCategory
- ToysCategory
- SportsCategory
- BooksCategory
- StationeryCategory
- PersonalCareCategory
- MobilityAidsCategory
- BabyInfantCategory
- AnyValue
range: ToysSubcategoryEnum
required: true
material:
name: material
annotations:
label_en:
tag: label_en
value: Material
label_de:
tag: label_de
value: Material
description: Primary construction material. Optional — detailed completeness tier.
Operationally relevant under EU Toy Safety Directive 2009/48/EC Annex II (chemical
restrictions in toy materials). See ToysMaterialEnum for full vocabulary, ontology
grounding, and safety rationale.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: material
owner: ToysItem
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- FurnitureCategory
- BeddingTextilesCategory
- HouseholdCategory
- ToysCategory
- CategoryMixin
range: ToysMaterialEnum
required: false
age_range:
name: age_range
annotations:
label_en:
tag: label_en
value: Age Range
label_de:
tag: label_de
value: Altersbereich
description: "Age suitability. Range overridden per class:\n ToysItem → ToyAgeRangeEnum\n\
\ BooksItem → BookAgeRangeEnum"
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: age_range
owner: ToysItem
domain_of:
- ToysCategory
- BooksCategory
range: ToyAgeRangeEnum
required: false
is_set_complete:
name: is_set_complete
annotations:
label_en:
tag: label_en
value: Set Complete
label_de:
tag: label_de
value: Set vollständig
description: Whether all components of the set are present. Optional — standard
completeness tier.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: is_set_complete
owner: ToysItem
domain_of:
- BeddingTextilesCategory
- HouseholdCategory
- ToysCategory
- SportsCategory
- StationeryCategory
range: boolean
has_small_parts:
name: has_small_parts
annotations:
label_en:
tag: label_en
value: Has Small Parts
label_de:
tag: label_de
value: Enthält Kleinteile
description: 'Whether the item contains small parts posing a choking hazard. UC
block: has_small_parts=true → age_range must exclude age_0_to_3. Implements
EU Toy Safety Directive 2009/48/EC.'
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
rank: 1000
alias: has_small_parts
owner: ToysItem
domain_of:
- ToysCategory
range: boolean
condition_grade:
name: condition_grade
annotations:
label_en:
tag: label_en
value: Wear Grade
label_de:
tag: label_de
value: Abnutzungsgrad
description: "Observed wear/quality grade at sorting time. Grounded in schema:OfferItemCondition\
\ and schema:itemCondition. Applied to wear-graded categories: clothing, accessories,\
\ footwear, books, stationery, household, toys, general sports equipment.\n\
Required at sorted state regardless of usage:\n new item, no defects \
\ → like_new\n new item, manufacturing defect → fair or poor\n used item,\
\ minimal wear → like_new or good\nSorters record what they observe,\
\ not what the label says.\nCategories using structured assessment_result enums\
\ instead (furniture, electronics, bedding, protective sports gear, mobility\
\ aids, baby equipment) do NOT declare this slot."
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- schema:OfferItemCondition
- schema:LikeNewCondition
- schema:DamagedCondition
- schema:itemCondition
rank: 1000
alias: condition_grade
owner: ToysItem
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- HouseholdCategory
- ToysCategory
- SportsCategory
- BooksCategory
- StationeryCategory
- BabyInfantCategory
- OtherItem
range: UsedConditionGradeEnum
required: false
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
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: ToysItem
domain_of:
- DonationItem
range: datetime
required: true
class_uri: pto:Toy
rules:
- preconditions:
slot_conditions:
lifecycle_state:
name: lifecycle_state
equals_string: sorted
postconditions:
slot_conditions:
condition_grade:
name: condition_grade
required: true
description: condition_grade required at sorted state regardless of usage.
title: lc-sorted-toys-condition-grade-required