Anthra · JSON-LD Context
Anthra Com Context
JSON-LD context defining the semantic vocabulary for Anthra Com from Anthra.
3 Classes
31 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
anthra:
https://anthra.com/schema#
Classes
Error
Book
Chapter
Properties
| Property | Type | Container |
|---|---|---|
| error | ||
| id | string | |
| title | string | |
| subtitle | string | |
| author | string | |
| premise | string | |
| genre | string | |
| audience | string | |
| toneStyle | string | |
| description | string | |
| coverColor | string | |
| coverImageUrl | string | |
| status | string | |
| visibility | string | |
| slug | string | |
| modelTier | string | |
| language | string | |
| createdAt | dateTime | |
| updatedAt | dateTime | |
| publishedAt | dateTime | |
| readerUrl | string | |
| bookId | string | |
| order | integer | |
| summary | string | |
| content | string | |
| wordCount | integer | |
| readingTimeSec | integer | |
| audioUrl | string | |
| audioStatus | string | |
| audioDurationSec | integer | |
| imageUrl | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://anthra.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"anthra": "https://anthra.com/schema#",
"Error": "anthra:Error",
"error": {
"@id": "anthra:error"
},
"Book": "anthra:Book",
"id": {
"@id": "anthra:id",
"@type": "xsd:string"
},
"title": {
"@id": "anthra:title",
"@type": "xsd:string"
},
"subtitle": {
"@id": "anthra:subtitle",
"@type": "xsd:string"
},
"author": {
"@id": "anthra:author",
"@type": "xsd:string"
},
"premise": {
"@id": "anthra:premise",
"@type": "xsd:string"
},
"genre": {
"@id": "anthra:genre",
"@type": "xsd:string"
},
"audience": {
"@id": "anthra:audience",
"@type": "xsd:string"
},
"toneStyle": {
"@id": "anthra:toneStyle",
"@type": "xsd:string"
},
"description": {
"@id": "anthra:description",
"@type": "xsd:string"
},
"coverColor": {
"@id": "anthra:coverColor",
"@type": "xsd:string"
},
"coverImageUrl": {
"@id": "anthra:coverImageUrl",
"@type": "xsd:string"
},
"status": {
"@id": "anthra:status",
"@type": "xsd:string"
},
"visibility": {
"@id": "anthra:visibility",
"@type": "xsd:string"
},
"slug": {
"@id": "anthra:slug",
"@type": "xsd:string"
},
"modelTier": {
"@id": "anthra:modelTier",
"@type": "xsd:string"
},
"language": {
"@id": "anthra:language",
"@type": "xsd:string"
},
"createdAt": {
"@id": "anthra:createdAt",
"@type": "xsd:dateTime"
},
"updatedAt": {
"@id": "anthra:updatedAt",
"@type": "xsd:dateTime"
},
"publishedAt": {
"@id": "anthra:publishedAt",
"@type": "xsd:dateTime"
},
"readerUrl": {
"@id": "anthra:readerUrl",
"@type": "xsd:string"
},
"Chapter": "anthra:Chapter",
"bookId": {
"@id": "anthra:bookId",
"@type": "xsd:string"
},
"order": {
"@id": "anthra:order",
"@type": "xsd:integer"
},
"summary": {
"@id": "anthra:summary",
"@type": "xsd:string"
},
"content": {
"@id": "anthra:content",
"@type": "xsd:string"
},
"wordCount": {
"@id": "anthra:wordCount",
"@type": "xsd:integer"
},
"readingTimeSec": {
"@id": "anthra:readingTimeSec",
"@type": "xsd:integer"
},
"audioUrl": {
"@id": "anthra:audioUrl",
"@type": "xsd:string"
},
"audioStatus": {
"@id": "anthra:audioStatus",
"@type": "xsd:string"
},
"audioDurationSec": {
"@id": "anthra:audioDurationSec",
"@type": "xsd:integer"
},
"imageUrl": {
"@id": "anthra:imageUrl",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "Anthra API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Anthra's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-01) from openapi/anthra-com-openapi.json.",
"dcterms:created": "2026-11-01",
"dcterms:source": [
"openapi/anthra-com-openapi.json"
]
}