indieweb / indieweb/jf2

JSON-LD context uses wrong case sensitivity for types

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Every example of JF2 shows that the items in the `type` array are lowercased, but the JSON-LD context defines them as Capitalcased:

```json
"Adr": "mf:h-adr",
"Card": "mf:h-card",
"Entry": "mf:h-entry",
"Feed": "mf:h-feed",
"Item": "mf:h-item",
"Listing": "mf:h-listing",
"Product": "mf:h-product",
"Recipe": "mf:h-recipe",
"Resume": "mf:h-resume",
"Review": "mf:h-review",
"Review-aggregate": "mf:h-review-aggregate",
"Cite": "mf:h-cite",
```

```json
"type": "entry",
```

```json
"type": "card",
```

```json
"type": "feed",
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the JSON-LD context definitions and compare their type keys with the lowercased type values shown in the issue examples. Update the context so the casing matches the examples, then verify that the affected JF2 examples resolve correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.