{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Device-local daily recommendation membership/order snapshot. Stored version introductions are reused; a missing sentence may fill on a later read. An explicit snapshotId retains that device's published history across midnight.",
      "errors": [
        {
          "name": "NotDevice"
        },
        {
          "name": "NotMember"
        },
        {
          "name": "ArtworkNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cards": {
              "items": {
                "ref": "ai.newnal.illi.artwork.defs#familyWorkCard",
                "type": "ref"
              },
              "type": "array"
            },
            "localDate": {
              "type": "string"
            },
            "snapshotId": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            "timezone": {
              "type": "string"
            }
          },
          "required": [
            "snapshotId",
            "localDate",
            "timezone",
            "cards"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          },
          "snapshotId": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "homeId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.artwork.listFamilyWorks",
  "lexicon": 1
}
