{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A category for organizing goals.",
      "key": "tid",
      "record": {
        "properties": {
          "categoryId": {
            "description": "Unique identifier for the category (UUID)",
            "maxLength": 64,
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp when the category was created",
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "Display name of the category",
            "maxLength": 100,
            "type": "string"
          }
        },
        "required": [
          "categoryId",
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "garden.goals.category",
  "lexicon": 1
}
