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
{
  "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"
}
equalSplit object

No description available.

Properties

participants array of stringdid Required

No description available.

maxLength: 250 itemsminLength: 1 items
View raw schema
{
  "properties": {
    "participants": {
      "items": {
        "format": "did",
        "type": "string"
      },
      "maxLength": 250,
      "minLength": 1,
      "type": "array"
    }
  },
  "required": [
    "participants"
  ],
  "type": "object"
}
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
{
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "partsPerMillion": {
      "maximum": 1000000,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "did",
    "partsPerMillion"
  ],
  "type": "object"
}
percentSplit object

No description available.

Properties

View raw schema
{
  "properties": {
    "allocations": {
      "items": {
        "ref": "lex:am.noz.at.spl.defaultSplit#percentAllocation",
        "type": "ref"
      },
      "maxLength": 250,
      "minLength": 1,
      "type": "array"
    }
  },
  "required": [
    "allocations"
  ],
  "type": "object"
}
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
{
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "shares": {
      "maximum": 1000000,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "did",
    "shares"
  ],
  "type": "object"
}
sharesSplit object

No description available.

Properties

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

Lexicon Garden

@