{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/invoicepdfs-com/json-schema/invoicepdfs-com-api-key-detail-response-schema.json",
  "title": "ApiKeyDetailResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/invoicepdfs-com-api-keys-api-openapi.yml#/components/schemas/ApiKeyDetailResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/ApiKeyListItem"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "ApiKeyListItem": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "last4": {
          "type": "string",
          "title": "Last4"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        },
        "revoked_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Revoked At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "last4",
        "created_at"
      ],
      "title": "ApiKeyListItem"
    }
  }
}