com.pimstash.carcare.work

lexicons.pimstash.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Work in Car Care: one time a Service Item was done. Its photos reference it by at-uri.",
      "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 com.pimstash.carcare.serviceItem this Work was done for.",
            "format": "at-uri",
            "type": "string"
          },
          "supplier": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "serviceItem",
          "performedAt",
          "odometerMeters",
          "currency",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pimstash.carcare.work",
  "lexicon": 1
}

Validate Record

Validate a record against com.pimstash.carcare.work

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:kl7rkydjioe5qsucfce3uubx
CID
bafyreid7hwt62x4gck7rsz3zw4nlftm5aqye3hpohvlsngvkrxkepd426a
Indexed At
2026-10-16 19:29 UTC
AT-URI
at://did:plc:kl7rkydjioe5qsucfce3uubx/com.atproto.lexicon.schema/com.pimstash.carcare.work

Version History (2 versions)

Similar Lexicons

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

  • A Service Item in Car Care: one maintenance task on a Vehicle, either scheduled by distance and/or months or done once. Its Work references it by record key.

  • A Vehicle in Car Care: one car, truck or bike whose maintenance is tracked. Its Service Items reference it by record key.

  • A photo of Work in Car Care. Each photo is its own record, so its identity survives a re-encode.

Lexicon Garden

@