Rule schema.invalid-range
Fix invalid JSON-LD value type
schema.invalid-range is a check in Crawlmind's site audit that grades medium-impact issues of this kind. This page explains why the rule matters and the exact fix.
Why it matters
A property value does not match the type the schema.org spec expects. Two common shapes: a date string in the wrong format (ISO 8601 is what every consumer wants), or a string used where a Person/Organization object is expected (e.g. `author: "Jane"` instead of `author: { @type: "Person", name: "Jane" }`).
The fix
```json
// ❌ Wrong type: author expects a Person/Organization, not a string.
"author": "Jane Smith"
// ✅ Right shape
"author": {
"@type": "Person",
"name": "Jane Smith"
}
```
Dates: use ISO 8601 (`"2026-05-27T10:00:00Z"`), never a localised string.
Validate with [schema.org's validator](https://validator.schema.org/) or [Google's Rich Results test](https://search.google.com/test/rich-results).