family.pardy.familytime.decision

A parent's decision about an exact version of a record in the family space: a suggestion, event or activity. Lives in the approvals space, which only parents can write. The newest decision wins.

Repository @pardy.at did:plc:dp7v5b5kejmmzzpwmqyf5wj6 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityfamilytime.pardy.family
Indexed
cid bafyreiarafurft5k6fodrztagsv6ea4ejngaheu6dbgeruyevlnui72dcy

Checks

Valid
  • unlimited-string defs.main.record.properties.statusNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.subjectRef.properties.uriNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A parent's decision about an exact version of a record in the family space: a suggestion, event or activity. Lives in the approvals space, which only parents can write. The newest decision wins.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "note": {
            "maxLength": 1000,
            "type": "string"
          },
          "status": {
            "knownValues": [
              "approved",
              "declined"
            ],
            "type": "string"
          },
          "subject": {
            "ref": "#subjectRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "status",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subjectRef": {
      "description": "Like com.atproto.repo.strongRef, but the URI is a space record URI. Editing the record changes its CID and needs a new decision.",
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "family.pardy.familytime.decision",
  "lexicon": 1
}