Work in Car Care: one time a Service Item was done. Its photos reference it by record key.
Record Key
any
Any valid record key
Properties
costMinor
integer
Optional
Cost in the currency's minor unit (cents, pence, whole yen).
minimum: 0createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
currency
string
Required
ISO 4217 code the cost is in.
maxLength: 3 bytesminLength: 3 bytesminutes
integer
Optional
Time the Work took, in whole minutes.
minimum: 0notes
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesodometerMeters
integer
Required
Odometer reading at the Work, in whole meters.
minimum: 0parts
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesperformedAt
string
datetime
Required
The calendar date of the Work, as a datetime at UTC midnight read in UTC.
serviceItem
string
record-key
Required
The record key of the com.pimstash.carcare.serviceItem, in this same repository, this Work was done for.
supplier
string
Optional
No description available.
maxLength: 1000 bytesmaxGraphemes: 100 graphemesupdatedAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
View raw schema
{
"description": "Work in Car Care: one time a Service Item was done. Its photos reference it by record key.",
"key": "any",
"record": {
"properties": {
"costMinor": {
"description": "Cost in the currency's minor unit (cents, pence, whole yen).",
"minimum": 0,
"type": "integer"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"currency": {
"description": "ISO 4217 code the cost is in.",
"maxLength": 3,
"minLength": 3,
"type": "string"
},
"minutes": {
"description": "Time the Work took, in whole minutes.",
"minimum": 0,
"type": "integer"
},
"notes": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"odometerMeters": {
"description": "Odometer reading at the Work, in whole meters.",
"minimum": 0,
"type": "integer"
},
"parts": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"performedAt": {
"description": "The calendar date of the Work, as a datetime at UTC midnight read in UTC.",
"format": "datetime",
"type": "string"
},
"serviceItem": {
"description": "The record key of the com.pimstash.carcare.serviceItem, in this same repository, this Work was done for.",
"format": "record-key",
"type": "string"
},
"supplier": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"serviceItem",
"performedAt",
"odometerMeters",
"currency",
"createdAt"
],
"type": "object"
},
"type": "record"
}