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
Kindrecord
Record keyany
Authoritycarcare.pimstash.com
Indexed

Showing version bafyreigxxsvy2umnnxb35ksuunyhcxerb7dbgmgp7mzg4dnaw26c2ihchi. Show the latest

cid bafyreigxxsvy2umnnxb35ksuunyhcxerb7dbgmgp7mzg4dnaw26c2ihchi

Checks

Valid Lint pass
JSONDownload
{
  "$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"
          },
          "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"
    }
  },
  "id": "com.pimstash.carcare.vehicle",
  "lexicon": 1
}