app.studynext.timetable

Opt-in timetable sync. The primary record uses rkey=self; its preference sidecar uses rkey=prefs in the same collection and contains schemaVersion, prefs, and updatedAt. The syncTimetable preference controls whether the client syncs, not public PDS readability.

Repository @studynext.app did:plc:nstib2qjcu3tyun7cxz4dxcm namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritystudynext.app
Commit rev3n3kcorsfr22t
Indexed
cid bafyreiap2w6ce5aszq5zz5zaoshzf7n32wfgku5nnset75jcuxi4fyyoqu

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "block": {
      "description": "A weekly block on a 30-minute grid. kind=task uses task-related fields; kind=busy uses label and optional preset. The current parser enforces the kind-specific payloads.",
      "properties": {
        "customAccent": {
          "type": "string"
        },
        "customTitle": {
          "maxLength": 180,
          "minLength": 1,
          "type": "string"
        },
        "dow": {
          "description": "0=Sunday through 6=Saturday.",
          "maximum": 6,
          "minimum": 0,
          "type": "integer"
        },
        "endSlot": {
          "maximum": 50,
          "minimum": 1,
          "type": "integer"
        },
        "id": {
          "minLength": 1,
          "type": "string"
        },
        "isReviewSlot": {
          "type": "boolean"
        },
        "kind": {
          "enum": [
            "task",
            "busy"
          ],
          "type": "string"
        },
        "label": {
          "description": "Required when kind=busy.",
          "maxLength": 120,
          "minLength": 1,
          "type": "string"
        },
        "materialId": {
          "minLength": 1,
          "type": "string"
        },
        "planId": {
          "minLength": 1,
          "type": "string"
        },
        "preset": {
          "enum": [
            "school",
            "club",
            "cram",
            "work",
            "buffer",
            "custom"
          ],
          "type": "string"
        },
        "startSlot": {
          "maximum": 49,
          "minimum": 0,
          "type": "integer"
        },
        "taskId": {
          "minLength": 1,
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "kind",
        "dow",
        "startSlot",
        "endSlot",
        "updatedAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "Opt-in timetable sync. The primary record uses rkey=self; its preference sidecar uses rkey=prefs in the same collection and contains schemaVersion, prefs, and updatedAt. The syncTimetable preference controls whether the client syncs, not public PDS readability.",
      "key": "any",
      "record": {
        "properties": {
          "blocks": {
            "items": {
              "ref": "#block",
              "type": "ref"
            },
            "type": "array"
          },
          "prefs": {
            "ref": "#prefs",
            "type": "ref"
          },
          "prefsV2": {
            "ref": "#prefs",
            "type": "ref"
          },
          "roadmapItems": {
            "items": {
              "ref": "#roadmapItem",
              "type": "ref"
            },
            "type": "array"
          },
          "schemaVersion": {
            "maximum": 1,
            "minimum": 1,
            "type": "integer"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "schemaVersion",
          "prefs",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "prefs": {
      "description": "30-minute schedule grid. Legacy primary-record prefs may use startHour 04–10 and endHour 19–25; current full-day prefs may use startHour 00–10 and endHour 19–25. Missing fields use client defaults.",
      "properties": {
        "endHour": {
          "maximum": 25,
          "minimum": 19,
          "type": "integer"
        },
        "startHour": {
          "maximum": 10,
          "minimum": 0,
          "type": "integer"
        },
        "stepSlots": {
          "enum": [
            1,
            2
          ],
          "type": "integer"
        }
      },
      "type": "object"
    },
    "roadmapItem": {
      "properties": {
        "accent": {
          "type": "string"
        },
        "endDate": {
          "description": "Optional calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "endSlot": {
          "maximum": 23,
          "minimum": 0,
          "type": "integer"
        },
        "id": {
          "minLength": 1,
          "type": "string"
        },
        "materialId": {
          "minLength": 1,
          "type": "string"
        },
        "startDate": {
          "description": "Optional calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "startSlot": {
          "maximum": 23,
          "minimum": 0,
          "type": "integer"
        },
        "subjectId": {
          "type": "string"
        },
        "subjectName": {
          "type": "string"
        },
        "taskId": {
          "minLength": 1,
          "type": "string"
        },
        "title": {
          "maxLength": 180,
          "minLength": 1,
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "title",
        "startSlot",
        "endSlot",
        "updatedAt"
      ],
      "type": "object"
    }
  },
  "id": "app.studynext.timetable",
  "lexicon": 1
}