{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-developer-credential-receipt-list-response-schema.json",
  "title": "DeveloperCredentialReceiptListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/huggingbay-xyz-developer-api-openapi.yml#/components/schemas/DeveloperCredentialReceiptListResponse",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/DeveloperCredentialReceipt"
      },
      "type": "array",
      "title": "Data"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "DeveloperCredentialReceipt": {
      "properties": {
        "receipt_id": {
          "type": "string",
          "title": "Receipt Id"
        },
        "action": {
          "type": "string",
          "enum": [
            "created",
            "rotated",
            "revoked"
          ],
          "title": "Action"
        },
        "credential_id": {
          "type": "string",
          "title": "Credential Id"
        },
        "credential_version": {
          "type": "integer",
          "title": "Credential Version"
        },
        "detail": {
          "additionalProperties": true,
          "type": "object",
          "title": "Detail"
        },
        "occurred_at": {
          "type": "string",
          "title": "Occurred At"
        }
      },
      "type": "object",
      "required": [
        "receipt_id",
        "action",
        "credential_id",
        "credential_version",
        "detail",
        "occurred_at"
      ],
      "title": "DeveloperCredentialReceipt"
    }
  }
}