org.stormlightlabs.malfestio.source.article

desertthunder.dev

Documentation

A reference to an article used as source material.

main record

A reference to an article used as source material.

Record Key tid Timestamp-based ID

Properties

author string Optional

Author of the article.

maxLength: 300 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

extractedTextRef string at-uri Optional

Optional reference to a blob or record containing the extracted text.

highlights array of object Optional

User highlights from the article.

language string Optional

Language code for the article content (e.g., 'en', 'es', 'fr').

maxLength: 20 bytes
publishedAt string datetime Optional

Original publication date of the article.

title string Required

Title of the article.

maxLength: 500 bytes
url string uri Required

URL of the article.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "url",
      "title",
      "createdAt"
    ],
    "properties": {
      "url": {
        "type": "string",
        "format": "uri",
        "description": "URL of the article."
      },
      "title": {
        "type": "string",
        "maxLength": 500,
        "description": "Title of the article."
      },
      "author": {
        "type": "string",
        "maxLength": 300,
        "description": "Author of the article."
      },
      "language": {
        "type": "string",
        "maxLength": 20,
        "description": "Language code for the article content (e.g., 'en', 'es', 'fr')."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "highlights": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "end": {
              "type": "integer",
              "description": "Character end offset."
            },
            "quote": {
              "type": "string",
              "maxLength": 5000
            },
            "start": {
              "type": "integer",
              "description": "Character start offset."
            }
          }
        },
        "description": "User highlights from the article."
      },
      "publishedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Original publication date of the article."
      },
      "extractedTextRef": {
        "type": "string",
        "format": "at-uri",
        "description": "Optional reference to a blob or record containing the extracted text."
      }
    }
  },
  "description": "A reference to an article used as source material."
}

Lexicon Garden

@