Class: AnyValue
Current workaround before proper attributes are introduced. Unconstrained value holder for schemaless JSON blobs. Used for DemandSignal.attributes until the Phase 2 typed ItemAttributes refactor.
URI: inkind_knowledge_repo:AnyValue
classDiagram
class AnyValue
click AnyValue href "../AnyValue/"
AnyValue : demographic
AnyValue --> "0..1" DemographicEnum : demographic
click DemographicEnum href "../DemographicEnum/"
AnyValue : size
AnyValue --> "0..1" ClothingSizeEnum : size
click ClothingSizeEnum href "../ClothingSizeEnum/"
AnyValue : subcategory
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| subcategory | 0..1 String |
Subcategory within the item type | direct |
| demographic | 0..1 DemographicEnum |
Combined age-and-gender demographic suitability of clothing items | direct |
| size | 0..1 ClothingSizeEnum |
Size of the clothing item | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| DemandSignal | attributes | range | AnyValue |
Identifier and Mapping Information
Schema Source
- from schema: https://inkind-at.github.io/inkind-knowledge-repo
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | inkind_knowledge_repo:AnyValue |
| native | inkind_knowledge_repo:AnyValue |
LinkML Source
Direct
name: AnyValue
description: Current workaround before proper attributes are introduced. Unconstrained
value holder for schemaless JSON blobs. Used for DemandSignal.attributes until the
Phase 2 typed ItemAttributes refactor.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
slots:
- subcategory
- demographic
- size
Induced
name: AnyValue
description: Current workaround before proper attributes are introduced. Unconstrained
value holder for schemaless JSON blobs. Used for DemandSignal.attributes until the
Phase 2 typed ItemAttributes refactor.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
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: AnyValue
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- FurnitureCategory
- BeddingTextilesCategory
- HouseholdCategory
- ElectronicsCategory
- ToysCategory
- SportsCategory
- BooksCategory
- StationeryCategory
- PersonalCareCategory
- MobilityAidsCategory
- BabyInfantCategory
- AnyValue
range: string
demographic:
name: demographic
annotations:
label_en:
tag: label_en
value: Demographic
label_de:
tag: label_de
value: Demografie
description: Combined age-and-gender demographic suitability of clothing items.
Valid values depend on subcategory (see value_map above). Grounded in cpi:designatedFor
and schema.org wearable size groups. Not applicable to AccessoriesItem — accessories
use the simpler AccessoriesDemographicEnum (baby/child/adult/all_ages).
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- cpi:designatedFor
- schema:WearableSizeGroupBaby
- schema:WearableSizeGroupChildrens
- schema:WearableSizeGroupAdult
rank: 1000
alias: demographic
owner: AnyValue
domain_of:
- ClothingCategory
- AccessoriesCategory
- FootwearCategory
- SportsCategory
- AnyValue
range: DemographicEnum
size:
name: size
annotations:
label_en:
tag: label_en
value: Size
label_de:
tag: label_de
value: Größe
description: Size of the clothing item. Valid values constrained by demographic
via value map rules (vm-size-baby, vm-size-child, vm-size-adult). Grounded in
cpi:ClothingSize and schema.org size systems.
from_schema: https://inkind-at.github.io/inkind-knowledge-repo
see_also:
- cpi:ClothingSize
- schema:WearableSizeGroupAdult
- schema:WearableSizeSystemEU
rank: 1000
alias: size
owner: AnyValue
domain_of:
- ClothingCategory
- AnyValue
range: ClothingSizeEnum