{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animalchecklist-com/json-schema/animalchecklist-com-sighting-schema.json",
  "title": "Sighting",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animalchecklist-com-account-api-openapi.yml#/components/schemas/Sighting",
  "type": "object",
  "required": [
    "animalId",
    "seenAt",
    "updatedAt",
    "deleted"
  ],
  "properties": {
    "animalId": {
      "type": "string",
      "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      "description": "Slug of the animal taxon, for example `red-fox`."
    },
    "seenAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Merge key, last writer wins."
    },
    "deleted": {
      "type": "boolean",
      "description": "Tombstone. Other devices drop the row."
    }
  }
}