FriendsOfREDAXO / FriendsOfREDAXO/jsonld_manager
Manager löscht bei "Custom JSON-LD Angaben" die @type Tags.
- Dominant language
- PHP
- Stars
- 4
- Forks
- 0
- Avg merge
- 19h 25m
- Merged PRs (30d)
- 2
Description
**Zusatzfelder (JSON-Objekt): werden @type Tags gelöscht**
**Verwendete Versionen: v1.2.0**
Beim hinzufügen neuer Elemente die im Standard **nicht** unterstützt werden, werden die @type Tags gelöscht
z.B. das Schema WebSite unterstützt den "potentialAction" - "WatchAction" oder "BuyAction"
```
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Example.com",
"potentialAction": {
"@type": "SearchAction",
"target": "http://example.com/search?q={q}",
"query-input": "required maxlength=100 name=q"
}
}
```
Die "SearchAction" wird schon als Konfiguration angeboten, aber bei neuen Elementen
wird bei "Custom JSON-LD Angaben" - "Zusatzfelder (JSON-Objekt):" das @type gelöscht.
```
{
"potentialAction": {
"@type": "WatchAction",
"target": "http://example.com/watch?id=123",
}
}
```
oder:
```
{
"potentialAction": {
"@type": "EntryPoint",
"urlTemplate": "https://example.com/cart/add?sku=CM-12345",
}
}
```
```
"potentialAction": {
"@type": "ViewAction",
"target": [
"http://www.example.com/",
{
"@type": "EntryPoint",
"urlTemplate": "http://api.example.com/",
"contentType": "application/json+ld"
},
"android-app://com.example/http/www.urbanspoon.com/",
{
"@type": "EntryPoint",
"urlTemplate": "exampleapp://",
"application": {
"@type": "SoftwareApplication",
"@id": "284708449",
"name": "Example iPhone and iPad App",
"operatingSystem": "iOS"
}
}
]
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue through the Custom JSON-LD Angaben and Zusatzfelder (JSON-Objekt) fields using the WatchAction or EntryPoint examples. Trace how the manager processes these custom fields and verify that nested @type tags remain present in the generated JSON-LD for unsupported elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100