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.
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: 0intervalMeters
integer
Optional
Repeat distance, in whole meters.
minimum: 1intervalMonths
integer
Optional
No description available.
minimum: 1kind
string
Required
scheduled repeats by intervalMeters and/or intervalMonths; oneoff has neither interval.
maxLength: 64 bytesscheduled, oneofflinks
array
of
ref
com.pimstash.carcare.vehicle#link
Optional
No description available.
maxLength: 100 itemsname
string
Required
No description available.
maxLength: 1000 bytesminLength: 1 bytesmaxGraphemes: 100 graphemesnotes
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemespartsNeeded
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesspec
string
Optional
Specifications: fluid grades, capacities, torque values.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemestoolsNeeded
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesupdatedAt
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"
}