A Vehicle in Car Care: one car, truck or bike whose maintenance is tracked. Its Service Items reference it by record key.
any
Any valid record key
Properties
cover
blob
Optional
No description available.
maxSize: 1.0 MBcreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
engine
string
Optional
No description available.
maxLength: 1000 bytesmaxGraphemes: 100 graphemeslinks
array
of
ref
#link
Optional
No description available.
maxLength: 100 itemsmake
string
Optional
No description available.
maxLength: 1000 bytesmaxGraphemes: 100 graphemesmodel
string
Optional
No description available.
maxLength: 1000 bytesmaxGraphemes: 100 graphemesname
string
Required
No description available.
maxLength: 1000 bytesminLength: 1 bytesmaxGraphemes: 100 graphemesnotes
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesodometerAt
string
datetime
Optional
The calendar date of the reading, as a datetime at UTC midnight read in UTC.
odometerMeters
integer
Required
Latest odometer reading, in whole meters.
minimum: 0updatedAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
vin
string
Optional
Vehicle identification number. The Car Care App keeps it on the device and never writes it here; a reader should expect it absent.
maxLength: 1000 bytesmaxGraphemes: 100 graphemesyear
integer
Optional
No description available.
minimum: 1maximum: 9999View raw schema
{
"description": "A Vehicle in Car Care: one car, truck or bike whose maintenance is tracked. Its Service Items reference it by record key.",
"key": "any",
"record": {
"properties": {
"cover": {
"accept": [
"image/jpeg",
"image/webp",
"image/avif"
],
"maxSize": 1000000,
"type": "blob"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"engine": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"links": {
"items": {
"ref": "#link",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"make": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"model": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"name": {
"maxGraphemes": 100,
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"notes": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"odometerAt": {
"description": "The calendar date of the reading, as a datetime at UTC midnight read in UTC.",
"format": "datetime",
"type": "string"
},
"odometerMeters": {
"description": "Latest odometer reading, in whole meters.",
"minimum": 0,
"type": "integer"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"vin": {
"description": "Vehicle identification number. The Car Care App keeps it on the device and never writes it here; a reader should expect it absent.",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"year": {
"maximum": 9999,
"minimum": 1,
"type": "integer"
}
},
"required": [
"name",
"odometerMeters",
"createdAt"
],
"type": "object"
},
"type": "record"
}