{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "args": {
            "items": {
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "confidence": {
            "description": "0.0-1.0 as string (Soufflé compat)",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "expiresAt": {
            "format": "datetime",
            "type": "string"
          },
          "predicate": {
            "maxLength": 64,
            "type": "string"
          },
          "source": {
            "description": "CID of source record",
            "type": "string"
          },
          "supersedes": {
            "description": "CID of superseded fact",
            "type": "string"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          }
        },
        "required": [
          "predicate",
          "args",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Atomic knowledge unit. A predicate applied to arguments, optionally with confidence, expiration, source tracking, tags, and supersession.",
  "id": "diy.razorgirl.winter.fact",
  "lexicon": 1
}
