am.noz.at.spl.defaultSplit

noz.am

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "equalSplit": {
      "properties": {
        "participants": {
          "items": {
            "format": "did",
            "type": "string"
          },
          "maxLength": 250,
          "minLength": 1,
          "type": "array"
        }
      },
      "required": [
        "participants"
      ],
      "type": "object"
    },
    "main": {
      "description": "A reusable split rule for a group or recurring expense.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxGraphemes": 80,
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "rule": {
            "closed": true,
            "refs": [
              "lex:am.noz.at.spl.defaultSplit#equalSplit",
              "lex:am.noz.at.spl.defaultSplit#percentSplit",
              "lex:am.noz.at.spl.defaultSplit#sharesSplit"
            ],
            "type": "union"
          },
          "schemaVersion": {
            "const": 1,
            "type": "integer"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "schemaVersion",
          "name",
          "rule",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "percentAllocation": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "partsPerMillion": {
          "maximum": 1000000,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "did",
        "partsPerMillion"
      ],
      "type": "object"
    },
    "percentSplit": {
      "properties": {
        "allocations": {
          "items": {
            "ref": "lex:am.noz.at.spl.defaultSplit#percentAllocation",
            "type": "ref"
          },
          "maxLength": 250,
          "minLength": 1,
          "type": "array"
        }
      },
      "required": [
        "allocations"
      ],
      "type": "object"
    },
    "shareAllocation": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "shares": {
          "maximum": 1000000,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "did",
        "shares"
      ],
      "type": "object"
    },
    "sharesSplit": {
      "properties": {
        "allocations": {
          "items": {
            "ref": "lex:am.noz.at.spl.defaultSplit#shareAllocation",
            "type": "ref"
          },
          "maxLength": 250,
          "minLength": 1,
          "type": "array"
        }
      },
      "required": [
        "allocations"
      ],
      "type": "object"
    }
  },
  "id": "am.noz.at.spl.defaultSplit",
  "lexicon": 1
}

Validate Record

Validate a record against am.noz.at.spl.defaultSplit

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:lmkzmvv6sdxntwtyxpg7fqqq
CID
bafyreielvy5yjeua63vfnfbtjukm652oieoln5xc6vfp2ybrcnyds5uqa4
Indexed At
2026-08-29 22:23 UTC
AT-URI
at://did:plc:lmkzmvv6sdxntwtyxpg7fqqq/com.atproto.lexicon.schema/am.noz.at.spl.defaultSplit

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A line item belonging to one immutable expense revision.

  • A recurring expense template. Occurrences are materialized as ordinary immutable expenses.

Lexicon Garden

@