smry-ai · JSON-LD Context

Smry Ai Context

JSON-LD context defining the semantic vocabulary for Smry Ai from smry-ai.

14 Classes 92 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
smry: https://smry.ai/schema#

Classes

Error Article StoredArticle LibraryAsset LibraryItem LibraryObjectSummary PostReadRequest BatchReadRequest BatchReadResponse AsyncReadRequest AsyncReadJob ArticleDocument Problem FeedWhere

Properties

Property Type Container
error string
code string
field string
hint string
retryable boolean
retryAfter decimal
details string
sourceUrl reference
readerUrl reference
title string
author
siteName
publishedAt
language
content string
contentCharacters decimal
returnedCharacters decimal
truncated boolean
source string
cacheHit boolean
qualityStatus
sourceCategory
respondedAt string
headings
textContent string
publisher
cachedAt string
itemId string
fileName string
mimeType string
size decimal
checksum string
updatedAt string
resourceUri string
downloadUrl string
id string
url string
originalUrl
domain string
contentKind
classification
captureMethod
format
asset
externalId
metadata
status string
starred boolean
tags list
savedAt string
lastReadAt
readProgress
articleStatus string
article reference
ref string
type
snippet string
hasAsset boolean
score decimal
query string
lines string
passages integer
requests list
count integer
results list
job_id string
state string
source_url reference
created_at dateTime
completed_at dateTime
upstream_status integer
status_url reference
result_url reference
reader_url reference
published_at dateTime
total_blocks integer
total_tokens integer
has_more boolean
next_cursor string
blocks list
matched_blocks integer
detail string
instance reference
resolution string
discovered_after string
discovered_before string
published_after string
published_before string
collection list
unread boolean
prompt string
match string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://smry.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "smry": "https://smry.ai/schema#",
    "Error": "smry:Error",
    "error": {
      "@id": "smry:error",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "smry:code",
      "@type": "xsd:string"
    },
    "field": {
      "@id": "smry:field",
      "@type": "xsd:string"
    },
    "hint": {
      "@id": "smry:hint",
      "@type": "xsd:string"
    },
    "retryable": {
      "@id": "smry:retryable",
      "@type": "xsd:boolean"
    },
    "retryAfter": {
      "@id": "smry:retryAfter",
      "@type": "xsd:decimal"
    },
    "details": {
      "@id": "smry:details",
      "@type": "xsd:string"
    },
    "Article": "smry:Article",
    "sourceUrl": {
      "@id": "smry:sourceUrl",
      "@type": "@id"
    },
    "readerUrl": {
      "@id": "smry:readerUrl",
      "@type": "@id"
    },
    "title": {
      "@id": "smry:title",
      "@type": "xsd:string"
    },
    "author": {
      "@id": "smry:author"
    },
    "siteName": {
      "@id": "smry:siteName"
    },
    "publishedAt": {
      "@id": "smry:publishedAt"
    },
    "language": {
      "@id": "smry:language"
    },
    "content": {
      "@id": "smry:content",
      "@type": "xsd:string"
    },
    "contentCharacters": {
      "@id": "smry:contentCharacters",
      "@type": "xsd:decimal"
    },
    "returnedCharacters": {
      "@id": "smry:returnedCharacters",
      "@type": "xsd:decimal"
    },
    "truncated": {
      "@id": "smry:truncated",
      "@type": "xsd:boolean"
    },
    "source": {
      "@id": "smry:source",
      "@type": "xsd:string"
    },
    "cacheHit": {
      "@id": "smry:cacheHit",
      "@type": "xsd:boolean"
    },
    "qualityStatus": {
      "@id": "smry:qualityStatus"
    },
    "sourceCategory": {
      "@id": "smry:sourceCategory"
    },
    "respondedAt": {
      "@id": "smry:respondedAt",
      "@type": "xsd:string"
    },
    "headings": {
      "@id": "smry:headings"
    },
    "StoredArticle": "smry:StoredArticle",
    "textContent": {
      "@id": "smry:textContent",
      "@type": "xsd:string"
    },
    "publisher": {
      "@id": "smry:publisher"
    },
    "cachedAt": {
      "@id": "smry:cachedAt",
      "@type": "xsd:string"
    },
    "LibraryAsset": "smry:LibraryAsset",
    "itemId": {
      "@id": "smry:itemId",
      "@type": "xsd:string"
    },
    "fileName": {
      "@id": "smry:fileName",
      "@type": "xsd:string"
    },
    "mimeType": {
      "@id": "smry:mimeType",
      "@type": "xsd:string"
    },
    "size": {
      "@id": "smry:size",
      "@type": "xsd:decimal"
    },
    "checksum": {
      "@id": "smry:checksum",
      "@type": "xsd:string"
    },
    "updatedAt": {
      "@id": "smry:updatedAt",
      "@type": "xsd:string"
    },
    "resourceUri": {
      "@id": "smry:resourceUri",
      "@type": "xsd:string"
    },
    "downloadUrl": {
      "@id": "smry:downloadUrl",
      "@type": "xsd:string"
    },
    "LibraryItem": "smry:LibraryItem",
    "id": {
      "@id": "smry:id",
      "@type": "xsd:string"
    },
    "url": {
      "@id": "smry:url",
      "@type": "xsd:string"
    },
    "originalUrl": {
      "@id": "smry:originalUrl"
    },
    "domain": {
      "@id": "smry:domain",
      "@type": "xsd:string"
    },
    "contentKind": {
      "@id": "smry:contentKind"
    },
    "classification": {
      "@id": "smry:classification"
    },
    "captureMethod": {
      "@id": "smry:captureMethod"
    },
    "format": {
      "@id": "smry:format"
    },
    "asset": {
      "@id": "smry:asset"
    },
    "externalId": {
      "@id": "smry:externalId"
    },
    "metadata": {
      "@id": "smry:metadata"
    },
    "status": {
      "@id": "smry:status",
      "@type": "xsd:string"
    },
    "starred": {
      "@id": "smry:starred",
      "@type": "xsd:boolean"
    },
    "tags": {
      "@id": "smry:tags",
      "@container": "@list"
    },
    "savedAt": {
      "@id": "smry:savedAt",
      "@type": "xsd:string"
    },
    "lastReadAt": {
      "@id": "smry:lastReadAt"
    },
    "readProgress": {
      "@id": "smry:readProgress"
    },
    "articleStatus": {
      "@id": "smry:articleStatus",
      "@type": "xsd:string"
    },
    "article": {
      "@id": "smry:article",
      "@type": "@id"
    },
    "LibraryObjectSummary": "smry:LibraryObjectSummary",
    "ref": {
      "@id": "smry:ref",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "smry:type"
    },
    "snippet": {
      "@id": "smry:snippet",
      "@type": "xsd:string"
    },
    "hasAsset": {
      "@id": "smry:hasAsset",
      "@type": "xsd:boolean"
    },
    "score": {
      "@id": "smry:score",
      "@type": "xsd:decimal"
    },
    "PostReadRequest": "smry:PostReadRequest",
    "query": {
      "@id": "smry:query",
      "@type": "xsd:string"
    },
    "lines": {
      "@id": "smry:lines",
      "@type": "xsd:string"
    },
    "passages": {
      "@id": "smry:passages",
      "@type": "xsd:integer"
    },
    "BatchReadRequest": "smry:BatchReadRequest",
    "requests": {
      "@id": "smry:requests",
      "@container": "@list"
    },
    "BatchReadResponse": "smry:BatchReadResponse",
    "count": {
      "@id": "smry:count",
      "@type": "xsd:integer"
    },
    "results": {
      "@id": "smry:results",
      "@container": "@list"
    },
    "AsyncReadRequest": "smry:AsyncReadRequest",
    "AsyncReadJob": "smry:AsyncReadJob",
    "job_id": {
      "@id": "smry:job_id",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "smry:state",
      "@type": "xsd:string"
    },
    "source_url": {
      "@id": "smry:source_url",
      "@type": "@id"
    },
    "created_at": {
      "@id": "smry:created_at",
      "@type": "xsd:dateTime"
    },
    "completed_at": {
      "@id": "smry:completed_at",
      "@type": "xsd:dateTime"
    },
    "upstream_status": {
      "@id": "smry:upstream_status",
      "@type": "xsd:integer"
    },
    "status_url": {
      "@id": "smry:status_url",
      "@type": "@id"
    },
    "result_url": {
      "@id": "smry:result_url",
      "@type": "@id"
    },
    "ArticleDocument": "smry:ArticleDocument",
    "reader_url": {
      "@id": "smry:reader_url",
      "@type": "@id"
    },
    "published_at": {
      "@id": "smry:published_at",
      "@type": "xsd:dateTime"
    },
    "total_blocks": {
      "@id": "smry:total_blocks",
      "@type": "xsd:integer"
    },
    "total_tokens": {
      "@id": "smry:total_tokens",
      "@type": "xsd:integer"
    },
    "has_more": {
      "@id": "smry:has_more",
      "@type": "xsd:boolean"
    },
    "next_cursor": {
      "@id": "smry:next_cursor",
      "@type": "xsd:string"
    },
    "blocks": {
      "@id": "smry:blocks",
      "@container": "@list"
    },
    "matched_blocks": {
      "@id": "smry:matched_blocks",
      "@type": "xsd:integer"
    },
    "Problem": "smry:Problem",
    "detail": {
      "@id": "smry:detail",
      "@type": "xsd:string"
    },
    "instance": {
      "@id": "smry:instance",
      "@type": "@id"
    },
    "resolution": {
      "@id": "smry:resolution",
      "@type": "xsd:string"
    },
    "FeedWhere": "smry:FeedWhere",
    "discovered_after": {
      "@id": "smry:discovered_after",
      "@type": "xsd:string"
    },
    "discovered_before": {
      "@id": "smry:discovered_before",
      "@type": "xsd:string"
    },
    "published_after": {
      "@id": "smry:published_after",
      "@type": "xsd:string"
    },
    "published_before": {
      "@id": "smry:published_before",
      "@type": "xsd:string"
    },
    "collection": {
      "@id": "smry:collection",
      "@container": "@list"
    },
    "unread": {
      "@id": "smry:unread",
      "@type": "xsd:boolean"
    },
    "prompt": {
      "@id": "smry:prompt",
      "@type": "xsd:string"
    },
    "match": {
      "@id": "smry:match",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "smry-ai API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects smry-ai'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-10-30) from openapi/smry-ai-openapi.json, openapi/smry-ai-public-openapi.json, openapi/smry-ai-staging-openapi.json.",
  "dcterms:created": "2026-10-30",
  "dcterms:source": [
    "openapi/smry-ai-openapi.json",
    "openapi/smry-ai-public-openapi.json",
    "openapi/smry-ai-staging-openapi.json"
  ]
}