# Court docket card

> Canonical HTML: https://screenrig.ai/docs/cards/court-docket/

Today's court matters by time and courtroom, with the case, the judge and a live status: now calling, in session, recess, continued or cancelled.

Category: Public information. Tags: Schedules, Wayfinding and directories.

## Previews

![Court docket](/cards/court-docket/v1/screenshots/canvas-bloom.webp?sha=99f3c7e35e537b09cbb2fe0c27f4d94c765ef3f42fef6bd632632d0e0bb6077a)

Canvas

![Court docket](/cards/court-docket/v1/screenshots/corner-bloom.webp?sha=44c2b9292e88a06c2ec7014aa78ca5dce32641d5cfe60f08f33b0eab0d87addf)

Corner

![Court docket](/cards/court-docket/v1/screenshots/chip-bloom.webp?sha=fe0415d4bbea79c18cced1e18834f91c350b6b6ae2099b908289a9ffce05d6a9)

Chip

## Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

[Card views, themes and publishing](/docs/cards/). [Browse the gallery](/apps/#cards).

## Data and privacy

This card uses its configured properties and live card data.

## Properties

For theme, background, accent and position, see [Common properties](/docs/cards/#common-properties).

Set static properties in `params`. Bind `data` to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in `params`. Nested rows describe the contents of their parent property.

### Static properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `title` | string | `"Court docket"` | maxLength: `40` |  |
| `roomLabel` | string | `"Courtroom"` | maxLength: `16` | What a room is called: Courtroom, Department, Hearing room. |
| `courtroom` | string | `""` | maxLength: `16` | Show only this room (a door sign). Empty shows every room. |
| `hour12` | boolean | `false` |  |  |
| `showJudge` | boolean | `true` |  | Show the judge's column on a wide screen. |
| `hideConcluded` | boolean | `true` |  | Drop a matter once its status is concluded. |
| `perPage` | integer | `7` | minimum: `3`; maximum: `14` |  |
| `pageSeconds` | integer | `10` | minimum: `4`; maximum: `60` |  |

### Dynamic properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `items` | array | `[]` | minItems: `0`; maxItems: `200` |  |
| `items[].start` | string |  | maxLength: `32`; Required | When the matter is set, ISO 8601. Without an offset it is the screen's local time. Only today's matters show. |
| `items[].room` | string |  | minLength: `1`; maxLength: `16`; Required | The courtroom: 3B, 12, Dept 4. |
| `items[].caption` | string |  | minLength: `1`; maxLength: `160`; Required | The case name as the court publishes it: State v. Alvarez, In re Estate of Wu. |
| `items[].caseNo` | string | `""` | maxLength: `24` | The case number. |
| `items[].matter` | string | `""` | maxLength: `40` | The type of hearing: Sentencing, Motion, Arraignment. |
| `items[].judge` | string | `""` | maxLength: `40` |  |
| `items[].status` | string | `"scheduled"` | `"scheduled"`, `"called"`, `"in-session"`, `"recess"`, `"continued"`, `"cancelled"`, `"concluded"` |  |
| `items[].until` | string | `""` | maxLength: `32` | For a recess, when the court resumes, ISO 8601. |
| `items[].note` | string | `""` | maxLength: `60` | A line under the status: Continued to Nov 3, Moved to Courtroom 5. |
| `notice` | string | `""` | maxLength: `160` | A notice to everyone in the building, shown in a band under the docket. |
| `footnote` | string | `""` | maxLength: `160` |  |

## Canvas example

Add this item to a playlist page’s `primitives`. [Publish the playlist and assign a screen](/docs/cards/#publish-a-card-canvas).

```json
{
  "id": "court-docket",
  "primitive": "card",
  "card": "court-docket",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "court-docket-main"
}
```

## Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see [API authentication](/docs/authentication/).

```console
curl --request PUT "https://api.screenrig.ai/api/card-data/court-docket-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"items":[],"notice":"","footnote":""}}'
```
