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

Lexicon Garden

@