host-meta.json (JRD, JSON form)
The JSON Resource Descriptor twin of the XRD host-meta: identical subject, alias, expiry, property and three links, expressed with lower-case JSON member names. For testing XRD-to-JRD conversion against a known answer.
{
"subject": "https://www.example.com",
"aliases": [
"https://example.com"
],
"expires": "2027-01-01T00:00:00Z",
"properties": {
"http://example.com/ns/service-tier": "sample"
},
"links": [
{
"rel": "lrdd",
"type": "application/jrd+json",
"template": "https://www.example.com/.well-known/webfinger?resource={uri}"
},
{
"rel": "http://openid.net/specs/connect/1.0/issuer",
"href": "https://id.example.com"
},
{
"rel": "author",
"href": "https://www.example.com/humans.txt"
}
]
}
Specifications
- Seed
- 70400
- Site
- example.com (fictional)
- Format
- JRD (RFC 6415 appendix A)
- Links
- 3
- Aliases
- 1
- Properties
- 1
- Location
- /.well-known/host-meta.json
Testing contract
Reference control- Scenario
- Convert the XRD host-meta twin to JRD and compare with this document.
- Expected result
- The conversion produces the same subject, one alias, one property keyed by its full URI, and three links whose rel values and lrdd template match exactly.
What is a .json file?
JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.
How to use this file
Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.
How to use this file for testing
“host-meta.json (JRD, JSON form)” is a deterministic Novus Examples fixture for Web assets, JSON parsing, Metadata testing. Favicons, web app manifests, service workers, robots and sitemap files, Open Graph images, and .well-known resources — for testing web tooling, crawlers, PWA installers, and asset pipelines.
Documented properties for this file: seed 70400 · JRD (RFC 6415 appendix A). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Web-platform fixtures are standards-compliant samples against fictional example.com data. Test crawlers, PWA installers and manifest validators, favicon/icon pipelines, service-worker registration, or .well-known parsers against the documented structure.
Code examples
import json
with open("host-meta.json") as f:
data = json.load(f)
print(type(data), len(data))Related files
- jsonJSON-LD @graph with @id cross-referencesA single @graph holding four nodes wired together by @id rather than by nesting - the shape most CMS plugins emit - including a SearchAction, a breadcrumb whose last item has no URL, and one reference to a product node that lives on another page. For testing graph flattening and reference resolution.

- jsonJSON-LD Event with offers and a locationA valid Event record for a hybrid event: both a physical Place with a postal address and geo coordinates and a VirtualLocation, plus a free Offer and a capacity. For testing array-valued properties and event date/timezone handling.

- jsonJSON-LD LocalBusiness with opening hoursA valid LocalBusiness (as a SportingGoodsStore subtype) with a postal address, geo coordinates, weekday and Saturday opening hours, and a 00:00-00:00 specification marking a holiday closure. For testing opening-hours parsing and the closed-all-day convention.

- jsonJSON-LD missing required properties (deliberately invalid)A deliberately invalid Product record: no name, an Offer with a currency but no price, a brand with no @type, a Review with no rating, an AggregateRating with no ratingValue, and an availability given as a bare token instead of a schema.org URL. Valid JSON throughout, so the failure is semantic.

- jsonJSON-LD NewsArticle with author and publisherA valid NewsArticle with two authors, a publisher whose logo carries explicit pixel dimensions, three images at the aspect ratios news results expect, and both publication and modification timestamps. For testing article extraction and date normalisation.

- jsonJSON-LD Product with Offer and AggregateRatingA valid Product record with a nested Offer carrying price, currency, availability, condition and shipping details, plus an AggregateRating. For testing rich-result validators and structured-data extractors against a document that should pass cleanly.

Generated by generation/web_p7.py. Free for any use, no attribution required — license.