com.pimstash.carcare.vehicle

lexicons.pimstash.com

{
  "$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
}

Validate Record

Validate a record against com.pimstash.carcare.vehicle

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:kl7rkydjioe5qsucfce3uubx
CID
bafyreigxxsvy2umnnxb35ksuunyhcxerb7dbgmgp7mzg4dnaw26c2ihchi
Indexed At
2026-10-16 22:15 UTC
AT-URI
at://did:plc:kl7rkydjioe5qsucfce3uubx/com.atproto.lexicon.schema/com.pimstash.carcare.vehicle

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@