{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fillo-so/json-schema/fillo-so-credential-summary-schema.json",
  "title": "CredentialSummary",
  "description": "Metadata for one stored credential. Bearers are stored as hashes and can never be listed.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fillo-so-credentials-api-openapi.yml#/components/schemas/CredentialSummary",
  "type": "object",
  "required": [
    "id",
    "name",
    "createdAt",
    "lastUsedAt",
    "expiresAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastUsedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}