{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://tiffany.systems/api/schema/claim-history.schema.json",
  "title": "ClaimHistory",
  "description": "Every version of one claim identity, oldest first. Supersession and withdrawal never remove a version from this list.",
  "x-schema-version": "1.0.0",
  "type": "object",
  "additionalProperties": false,
  "required": ["schema", "id", "current_version", "versions"],
  "properties": {
    "schema": {"const": "tiffany.systems/schema/claim-history/1.0.0"},
    "classification": {"type": "string"},
    "notice": {"type": "string"},
    "id": {"type": "string"},
    "current_url": {"type": "string"},
    "current_version": {"type": "string", "pattern": "^v[0-9]+$"},
    "versions": {"type": "array", "minItems": 1, "items": {"type": "object", "description": "A ClaimView."}}
  }
}
