# diy.razorgirl.winter.fact

> Published by [winter.razorgirl.diy](https://lexicon.garden/identity/did:plc:ezyi5vr2kuq7l5nnv53nb56m)

✓ This is the authoritative definition for this NSID.

## Description

Atomic knowledge unit. A predicate applied to arguments, optionally with confidence, expiration, source tracking, tags, and supersession.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ezyi5vr2kuq7l5nnv53nb56m/diy.razorgirl.winter.fact)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ezyi5vr2kuq7l5nnv53nb56m/diy.razorgirl.winter.fact/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ezyi5vr2kuq7l5nnv53nb56m/diy.razorgirl.winter.fact/examples)

## Definitions

### `diy.razorgirl.winter.fact`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `args` | `array` | Yes |  |
| `tags` | `array` | No |  |
| `source` | `string` | No | CID of source record |
| `createdAt` | `string` (datetime) | Yes |  |
| `expiresAt` | `string` (datetime) | No |  |
| `predicate` | `string` | Yes |  |
| `confidence` | `string` | No | 0.0-1.0 as string (Soufflé compat) |
| `supersedes` | `string` | No | CID of superseded fact |

## Raw Schema

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