com.pimstash.carcare.serviceItem

lexicons.pimstash.com

Documentation

A Service Item in Car Care: one maintenance task on a Vehicle, either scheduled by distance and/or months or done once. Its Work references it by record key.

main record

A Service Item in Car Care: one maintenance task on a Vehicle, either scheduled by distance and/or months or done once. Its Work references it by record key.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

estimateMinutes integer Optional

Estimated time to do the work, in whole minutes.

minimum: 0
intervalMeters integer Optional

Repeat distance, in whole meters.

minimum: 1
intervalMonths integer Optional

No description available.

minimum: 1
kind string Required

scheduled repeats by intervalMeters and/or intervalMonths; oneoff has neither interval.

maxLength: 64 bytes
Known values: scheduled, oneoff
name string Required

No description available.

maxLength: 1000 bytesminLength: 1 bytesmaxGraphemes: 100 graphemes
notes string Optional

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
partsNeeded string Optional

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
spec string Optional

Specifications: fluid grades, capacities, torque values.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
toolsNeeded string Optional

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
updatedAt string datetime Optional

An RFC 3339 formatted timestamp.

vehicle string record-key Required

The record key of the com.pimstash.carcare.vehicle, in this same repository, this item belongs to.

View raw schema
{
  "description": "A Service Item in Car Care: one maintenance task on a Vehicle, either scheduled by distance and/or months or done once. Its Work references it by record key.",
  "key": "any",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "estimateMinutes": {
        "description": "Estimated time to do the work, in whole minutes.",
        "minimum": 0,
        "type": "integer"
      },
      "intervalMeters": {
        "description": "Repeat distance, in whole meters.",
        "minimum": 1,
        "type": "integer"
      },
      "intervalMonths": {
        "minimum": 1,
        "type": "integer"
      },
      "kind": {
        "description": "scheduled repeats by intervalMeters and/or intervalMonths; oneoff has neither interval.",
        "knownValues": [
          "scheduled",
          "oneoff"
        ],
        "maxLength": 64,
        "type": "string"
      },
      "links": {
        "items": {
          "ref": "com.pimstash.carcare.vehicle#link",
          "type": "ref"
        },
        "maxLength": 100,
        "type": "array"
      },
      "name": {
        "maxGraphemes": 100,
        "maxLength": 1000,
        "minLength": 1,
        "type": "string"
      },
      "notes": {
        "maxGraphemes": 1000,
        "maxLength": 10000,
        "type": "string"
      },
      "partsNeeded": {
        "maxGraphemes": 1000,
        "maxLength": 10000,
        "type": "string"
      },
      "spec": {
        "description": "Specifications: fluid grades, capacities, torque values.",
        "maxGraphemes": 1000,
        "maxLength": 10000,
        "type": "string"
      },
      "toolsNeeded": {
        "maxGraphemes": 1000,
        "maxLength": 10000,
        "type": "string"
      },
      "updatedAt": {
        "format": "datetime",
        "type": "string"
      },
      "vehicle": {
        "description": "The record key of the com.pimstash.carcare.vehicle, in this same repository, this item belongs to.",
        "format": "record-key",
        "type": "string"
      }
    },
    "required": [
      "vehicle",
      "name",
      "kind",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@