# diy.razorgirl.winter.factDeclaration

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

✓ This is the authoritative definition for this NSID.

## Description

Schema for a predicate — declares argument names, types, and description before facts exist.

## Links

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

## Definitions

### `diy.razorgirl.winter.factDeclaration`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `args` | `array` | Yes |  |
| `tags` | `array` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `predicate` | `string` | Yes |  |
| `description` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "diy.razorgirl.winter.factDeclaration",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "predicate",
          "args",
          "description",
          "createdAt"
        ],
        "properties": {
          "args": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name"
              ],
              "properties": {
                "name": {
                  "type": "string",
                  "maxLength": 64
                },
                "type": {
                  "type": "string",
                  "default": "symbol",
                  "maxLength": 32
                },
                "description": {
                  "type": "string",
                  "maxLength": 256
                }
              }
            },
            "maxLength": 10
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxLength": 20
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "predicate": {
            "type": "string",
            "maxLength": 64
          },
          "description": {
            "type": "string",
            "maxLength": 1024
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Schema for a predicate — declares argument names, types, and description before facts exist."
}
```
