com.pimstash.carcare.vehicle
A Vehicle in Car Care: one car, truck or bike whose maintenance is tracked. Its Service Items reference it by record key.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | carcare.pimstash.com |
| Commit rev | 3n27hy4arun24 |
| Indexed |
Checks
Validunlimited-stringdefs.recallMark.properties.markNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"link": {
"description": "A labelled link: a manual, a parts page, a forum thread.",
"properties": {
"label": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 3000,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"main": {
"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"
},
"recallMarks": {
"description": "The Recall Marks set on this Vehicle, at most one per NHTSA campaign. A recall with none is open.",
"items": {
"ref": "#recallMark",
"type": "ref"
},
"maxLength": 500,
"type": "array"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"variant": {
"description": "The Open Labor Project variant this Vehicle is, stored by Find Specs or at create. Cleared when Year, Make or Model changes.",
"ref": "#variant",
"type": "ref"
},
"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"
},
"recallMark": {
"description": "One recall marked by its owner: fixed on this Vehicle, or not applicable to it.",
"properties": {
"campaign": {
"description": "The NHTSA campaign number, e.g. 10V174000.",
"maxLength": 32,
"type": "string"
},
"mark": {
"enum": [
"fixed",
"notApplicable"
],
"type": "string"
}
},
"required": [
"campaign",
"mark"
],
"type": "object"
},
"variant": {
"description": "A provider variant of the Vehicle's year, make and model, with the descriptive fields Specs and Ask a Mechanic read.",
"properties": {
"drivetrain": {
"maxLength": 64,
"type": "string"
},
"engine": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"engineSlug": {
"maxLength": 256,
"type": "string"
},
"source": {
"knownValues": [
"olp"
],
"maxLength": 64,
"type": "string"
},
"vehicleId": {
"description": "The provider's vehicle id.",
"maxLength": 256,
"type": "string"
},
"yearRange": {
"maxLength": 64,
"type": "string"
}
},
"required": [
"source",
"vehicleId"
],
"type": "object"
}
},
"id": "com.pimstash.carcare.vehicle",
"lexicon": 1
}