Equipment category schema rationalization
See original GitHub issueThere’s a general schema for links to other entities that looks like this:
"equipment_category": {
"index": "armor",
"name": "Armor",
"url": "/api/equipment-categories/armor"
},
But most of the subcategories in 5e-SRD-Equipment.json look like this instead:
"armor_category": "Light",
The one exception to this is gear_category
:
"gear_category": {
"index": "standard-gear",
"name": "Standard Gear",
"url": "/api/equipment-categories/standard-gear"
},
My initial thought was that the categories that were represented as simple strings weren’t found in 5e-SRD-Equipment-Categories.json, but nope:
{
"index": "light-armor",
"name": "Light Armor",
"equipment": [
{
"index": "padded",
"name": "Padded",
"url": "/api/equipment/padded"
},
{
"index": "leather",
"name": "Leather",
"url": "/api/equipment/leather"
},
{
"index": "studded-leather",
"name": "Studded Leather",
"url": "/api/equipment/studded-leather"
}
],
"url": "/api/equipment-categories/light-armor"
},
I’m not sure what the policy is for breaking changes.
- Can I put up a PR to fix this?
- Since all of the subcategory types (
gear_category
,armor_category
,vehicle_category
,tool_category
,weapon_category
) appear at first glance to be mutually exclusive, can this be consolidated as anequipment_subcategory
field?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
2.1 Problem 4: Categories and Schemas Flashcards - Quizlet
According to the feature comparison model, an item belongs to a category as long as it possesses the necessary and sufficient features. However,...
Read more >Reliabilityweb MRO Inventory Rationalization and Optimization
The steps for MRO inventory optimization are: Part Number Rationalization: Examine part numbers and apply a standardized part number assignment schema.
Read more >how to get schema.org multiple keys for award category
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our ...
Read more >Spend Analysis 101 | Complete Guide for Procurement - Sievo
Both direct and indirect procurement spend can be grouped into categories, enabling analysis and management of similar goods or services. A spend category...
Read more >Asset classes - Product Documentation | ServiceNow
If the general classes that are provided aren't appropriate for a specific group of assets, consider creating a new asset class. For example,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll get there at some point if you (or someone else) doesn’t beat me to it. I’m not working on integrating SRD data sets right now, so further data cleanups have been bumped to the back burner for me, but you’ll know next time I do. 🙂
@MikkelPaulson I had an idea related to this in another issue where it might make more sense to combine these like so: