{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A star claimed for a goal on a day: by a kid (\"I did it!\") or given by a parent (with for). It counts once a parent's decision approves it.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "date": {
            "maxLength": 10,
            "type": "string"
          },
          "for": {
            "format": "did",
            "type": "string"
          },
          "goal": {
            "description": "The goal's id.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "goal",
          "date",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "family.pardy.familytime.starClaim",
  "lexicon": 1
}
