{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-build-cache-list-response-schema.json",
  "title": "BuildCacheListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revyl-build-caches-api-openapi.yml#/components/schemas/BuildCacheListResponse",
  "properties": {
    "caches": {
      "items": {
        "$ref": "#/$defs/BuildCacheSummary"
      },
      "title": "Caches",
      "type": "array"
    }
  },
  "required": [
    "caches"
  ],
  "type": "object",
  "$defs": {
    "BuildCacheSummary": {
      "description": "One stored build cache object.",
      "properties": {
        "key": {
          "description": "Org-local cache key as written in build configs.",
          "title": "Key",
          "type": "string"
        },
        "last_modified": {
          "format": "date-time",
          "title": "Last Modified",
          "type": "string"
        },
        "platform": {
          "title": "Platform",
          "type": "string"
        },
        "size_bytes": {
          "title": "Size Bytes",
          "type": "integer"
        }
      },
      "required": [
        "key",
        "platform",
        "size_bytes",
        "last_modified"
      ],
      "title": "BuildCacheSummary",
      "type": "object"
    }
  }
}