am.noz.at.spl.defaultSplit

noz.am

Documentation

A reusable split rule for a group or recurring expense.

main record

A reusable split rule for a group or recurring expense.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

name string Required

No description available.

maxLength: 256 bytesminLength: 1 bytesmaxGraphemes: 80 graphemes
schemaVersion integer Required

No description available.

updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "schemaVersion",
      "name",
      "rule",
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1,
        "maxGraphemes": 80
      },
      "rule": {
        "refs": [
          "lex:am.noz.at.spl.defaultSplit#equalSplit",
          "lex:am.noz.at.spl.defaultSplit#percentSplit",
          "lex:am.noz.at.spl.defaultSplit#sharesSplit"
        ],
        "type": "union",
        "closed": true
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      },
      "schemaVersion": {
        "type": "integer",
        "const": 1
      }
    }
  },
  "description": "A reusable split rule for a group or recurring expense."
}
equalSplit object

No description available.

Properties

participants array of stringdid Required

No description available.

maxLength: 250 itemsminLength: 1 items
View raw schema
{
  "type": "object",
  "required": [
    "participants"
  ],
  "properties": {
    "participants": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "did"
      },
      "maxLength": 250,
      "minLength": 1
    }
  }
}
percentAllocation object

No description available.

Properties

did string did Required

A decentralized identifier (DID).

partsPerMillion integer Required

No description available.

minimum: 0maximum: 1000000
View raw schema
{
  "type": "object",
  "required": [
    "did",
    "partsPerMillion"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    },
    "partsPerMillion": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 0
    }
  }
}
percentSplit object

No description available.

Properties

View raw schema
{
  "type": "object",
  "required": [
    "allocations"
  ],
  "properties": {
    "allocations": {
      "type": "array",
      "items": {
        "ref": "lex:am.noz.at.spl.defaultSplit#percentAllocation",
        "type": "ref"
      },
      "maxLength": 250,
      "minLength": 1
    }
  }
}
shareAllocation object

No description available.

Properties

did string did Required

A decentralized identifier (DID).

shares integer Required

No description available.

minimum: 1maximum: 1000000
View raw schema
{
  "type": "object",
  "required": [
    "did",
    "shares"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    },
    "shares": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 1
    }
  }
}
sharesSplit object

No description available.

Properties

View raw schema
{
  "type": "object",
  "required": [
    "allocations"
  ],
  "properties": {
    "allocations": {
      "type": "array",
      "items": {
        "ref": "lex:am.noz.at.spl.defaultSplit#shareAllocation",
        "type": "ref"
      },
      "maxLength": 250,
      "minLength": 1
    }
  }
}

Lexicon Garden

@