es.joeinn.timetracker.activity

joeinn.es

Documentation

A named activity and its optional weekly budget.

main record

A named activity and its optional weekly budget.

Record Key any Any valid record key

Properties

budget ref #budget Optional

No description available.

color string Required

No description available.

maxLength: 9 bytesminLength: 4 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

name string Required

No description available.

maxLength: 80 bytesminLength: 1 bytes
updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "color",
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 80,
        "minLength": 1
      },
      "color": {
        "type": "string",
        "maxLength": 9,
        "minLength": 4
      },
      "budget": {
        "ref": "#budget",
        "type": "ref"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A named activity and its optional weekly budget."
}
budget object

No description available.

Properties

timezone string Required

No description available.

maxLength: 100 bytesminLength: 1 bytes
weekdays array of integer Required

No description available.

maxLength: 7 itemsminLength: 1 items
weeklyMinutes integer Required

No description available.

minimum: 1maximum: 10080
View raw schema
{
  "type": "object",
  "required": [
    "weeklyMinutes",
    "weekdays",
    "timezone"
  ],
  "properties": {
    "timezone": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1
    },
    "weekdays": {
      "type": "array",
      "items": {
        "type": "integer",
        "maximum": 7,
        "minimum": 1
      },
      "maxLength": 7,
      "minLength": 1
    },
    "weeklyMinutes": {
      "type": "integer",
      "maximum": 10080,
      "minimum": 1
    }
  }
}

Lexicon Garden

@