# org.rcape.docketEntry

> Published by [ape.rcape.org](https://lexicon.garden/identity/did:plc:rju7piux7nfkb76ofze72uwn)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:rju7piux7nfkb76ofze72uwn/org.rcape.docketEntry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:rju7piux7nfkb76ofze72uwn/org.rcape.docketEntry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:rju7piux7nfkb76ofze72uwn/org.rcape.docketEntry/examples)

## Definitions

### `org.rcape.docketEntry`

**Type**: `record`

A single docket entry (one filing event) and the documents attached to it. listRecords over this collection yields the full docket in order.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `source` | `ref` → `org.rcape.docket#source` | Yes |  |
| `docPost` | `ref` → `#postRef` | No | Backdated document post (dated archive entry) — takedown linkage. |
| `createdAt` | `string` (datetime) | No |  |
| `dateFiled` | `string` (datetime) | Yes |  |
| `documents` | `array` | No |  |
| `description` | `string` | Yes | The docket entry text. |
| `entryNumber` | `integer` | No | Docket entry number; may be absent for some minute/text entries. |
| `announcePost` | `ref` → `#postRef` | No | Realtime QT announcement post — takedown linkage. |
| `recapSequenceNumber` | `string` | No | CourtListener ordering key, preserves true docket order. |

### `org.rcape.docketEntry#postRef`

**Type**: `object`

Strong reference to a companion app.bsky.feed.post (takedown linkage).

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

### `org.rcape.docketEntry#document`

**Type**: `object`

A filed document. hash+link model: reference the upstream public URL and record the content CID for tamper-evidence, WITHOUT hosting the bytes.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `mimeType` | `string` | No |  |
| `pageCount` | `integer` | No |  |
| `sourceUrl` | `string` (uri) | Yes | Public CourtListener storage URL for the PDF. |
| `contentCid` | `string` | No | CIDv1 (sha2-256, raw) of the PDF bytes — tamper-evidence. Absent until the doc has been fetched and hashed. |
| `description` | `string` | No |  |
| `isAvailable` | `boolean` | No | Whether the upstream document is currently retrievable. |
| `documentNumber` | `integer` | No | Attachment/document number within the entry. |

## Raw Schema

```json
{
  "id": "org.rcape.docketEntry",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "dateFiled",
          "description",
          "source"
        ],
        "properties": {
          "source": {
            "ref": "org.rcape.docket#source",
            "type": "ref"
          },
          "docPost": {
            "ref": "#postRef",
            "type": "ref",
            "description": "Backdated document post (dated archive entry) — takedown linkage."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "dateFiled": {
            "type": "string",
            "format": "datetime"
          },
          "documents": {
            "type": "array",
            "items": {
              "ref": "#document",
              "type": "ref"
            }
          },
          "description": {
            "type": "string",
            "description": "The docket entry text.",
            "maxGraphemes": 5000
          },
          "entryNumber": {
            "type": "integer",
            "description": "Docket entry number; may be absent for some minute/text entries."
          },
          "announcePost": {
            "ref": "#postRef",
            "type": "ref",
            "description": "Realtime QT announcement post — takedown linkage."
          },
          "recapSequenceNumber": {
            "type": "string",
            "description": "CourtListener ordering key, preserves true docket order."
          }
        }
      },
      "description": "A single docket entry (one filing event) and the documents attached to it. listRecords over this collection yields the full docket in order."
    },
    "postRef": {
      "type": "object",
      "required": [
        "uri",
        "cid"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        }
      },
      "description": "Strong reference to a companion app.bsky.feed.post (takedown linkage)."
    },
    "document": {
      "type": "object",
      "required": [
        "sourceUrl"
      ],
      "properties": {
        "mimeType": {
          "type": "string"
        },
        "pageCount": {
          "type": "integer"
        },
        "sourceUrl": {
          "type": "string",
          "format": "uri",
          "description": "Public CourtListener storage URL for the PDF."
        },
        "contentCid": {
          "type": "string",
          "description": "CIDv1 (sha2-256, raw) of the PDF bytes — tamper-evidence. Absent until the doc has been fetched and hashed."
        },
        "description": {
          "type": "string"
        },
        "isAvailable": {
          "type": "boolean",
          "description": "Whether the upstream document is currently retrievable."
        },
        "documentNumber": {
          "type": "integer",
          "description": "Attachment/document number within the entry."
        }
      },
      "description": "A filed document. hash+link model: reference the upstream public URL and record the content CID for tamper-evidence, WITHOUT hosting the bytes."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
