Skip to content

Class: BooksItem

Books and educational materials. COICOP 09.5 (newspapers, books, stationery). Grounded in schema:Book (schema.org has a first-class Book type distinct from generic Product). No demographic or clothing-style size dimension — age_range (BookAgeRangeEnum) is broader and non-gendered. Assessment: condition_grade (wear grade).

URI: schema:Book

 classDiagram
    class BooksItem
    click BooksItem href "../BooksItem/"
      BooksCategory <|-- BooksItem
        click BooksCategory href "../BooksCategory/"
      DonationItem <|-- BooksItem
        click DonationItem href "../DonationItem/"

      BooksItem : age_range





        BooksItem --> "0..1" BookAgeRangeEnum : age_range
        click BookAgeRangeEnum href "../BookAgeRangeEnum/"



      BooksItem : attribute_completeness





        BooksItem --> "0..1" AttributeCompletenessEnum : attribute_completeness
        click AttributeCompletenessEnum href "../AttributeCompletenessEnum/"



      BooksItem : category

      BooksItem : condition_grade





        BooksItem --> "0..1" UsedConditionGradeEnum : condition_grade
        click UsedConditionGradeEnum href "../UsedConditionGradeEnum/"



      BooksItem : created_at

      BooksItem : donation_source





        BooksItem --> "0..1" DonationSource : donation_source
        click DonationSource href "../DonationSource/"



      BooksItem : id

      BooksItem : language

      BooksItem : lifecycle_state





        BooksItem --> "1" ItemLifecycleStateEnum : lifecycle_state
        click ItemLifecycleStateEnum href "../ItemLifecycleStateEnum/"



      BooksItem : material

      BooksItem : sorting_notes

      BooksItem : source_collection





        BooksItem --> "0..1" DonationCollection : source_collection
        click DonationCollection href "../DonationCollection/"



      BooksItem : storage_unit





        BooksItem --> "0..1" StorageLocation : storage_unit
        click StorageLocation href "../StorageLocation/"



      BooksItem : subcategory





        BooksItem --> "1" BooksSubcategoryEnum : subcategory
        click BooksSubcategoryEnum href "../BooksSubcategoryEnum/"



      BooksItem : updated_at

      BooksItem : usage





        BooksItem --> "1" ItemUsageEnum : usage
        click ItemUsageEnum href "../ItemUsageEnum/"



Inheritance

Class Properties

Property Value
Class URI schema:Book

Slots

Name Cardinality and Range Description Inheritance
subcategory 1
BooksSubcategoryEnum
Subcategory within the item type BooksCategory
language 0..1
String
Language of item content (ISO 639-1 code, e BooksCategory
age_range 0..1
BookAgeRangeEnum
Age suitability BooksCategory
condition_grade 0..1
UsedConditionGradeEnum
Observed wear/quality grade at sorting time BooksCategory
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-books-condition-grade-required

Rule Applied Preconditions Postconditions Elseconditions
slot_conditions {'lifecycle_state': {'equals_string': 'sorted'}} {'condition_grade': {'required': True}}

See Also

Identifier and Mapping Information

Annotations

property value
label_en Books
label_de Bücher

Schema Source

  • from schema: https://inkind-at.github.io/inkind-knowledge-repo

Mappings

Mapping Type Mapped Value
self schema:Book
native inkind_knowledge_repo:BooksItem

LinkML Source

Direct

name: BooksItem
annotations:
  label_en:
    tag: label_en
    value: Books
  label_de:
    tag: label_de
    value: Bücher
description: 'Books and educational materials. COICOP 09.5 (newspapers, books, stationery).
  Grounded in schema:Book (schema.org has a first-class Book type distinct from generic
  Product). No demographic or clothing-style size dimension  age_range (BookAgeRangeEnum)
  is broader and non-gendered. Assessment: condition_grade (wear grade).'
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- schema:Book
is_a: DonationItem
mixins:
- BooksCategory
class_uri: schema:Book
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-books-condition-grade-required

Induced

name: BooksItem
annotations:
  label_en:
    tag: label_en
    value: Books
  label_de:
    tag: label_de
    value: Bücher
description: 'Books and educational materials. COICOP 09.5 (newspapers, books, stationery).
  Grounded in schema:Book (schema.org has a first-class Book type distinct from generic
  Product). No demographic or clothing-style size dimension  age_range (BookAgeRangeEnum)
  is broader and non-gendered. Assessment: condition_grade (wear grade).'
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- schema:Book
is_a: DonationItem
mixins:
- BooksCategory
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: BooksItem
    domain_of:
    - ClothingCategory
    - AccessoriesCategory
    - FootwearCategory
    - FurnitureCategory
    - BeddingTextilesCategory
    - HouseholdCategory
    - ElectronicsCategory
    - ToysCategory
    - SportsCategory
    - BooksCategory
    - StationeryCategory
    - PersonalCareCategory
    - MobilityAidsCategory
    - BabyInfantCategory
    - AnyValue
    range: BooksSubcategoryEnum
    required: true
  language:
    name: language
    description: Language of item content (ISO 639-1 code, e.g. "de", "en", "ar",
      "fa"). Important for demand signal matching — organisations serving specific
      language communities have targeted language preferences. Optional — detailed
      completeness tier.
    from_schema: https://inkind-at.github.io/inkind-knowledge-repo
    rank: 1000
    alias: language
    owner: BooksItem
    domain_of:
    - BooksCategory
    range: string
  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: BooksItem
    domain_of:
    - ToysCategory
    - BooksCategory
    range: BookAgeRangeEnum
    required: false
  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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    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: BooksItem
    domain_of:
    - ClothingCategory
    - AccessoriesCategory
    - FootwearCategory
    - FurnitureCategory
    - BeddingTextilesCategory
    - HouseholdCategory
    - ToysCategory
    - CategoryMixin
    range: string
class_uri: schema:Book
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-books-condition-grade-required