{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-entity-versions-response-schema.json",
  "title": "EntityVersionsResponse",
  "description": "A page of [EntityVersionResource](#entityversionresource) results",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-entities-api-openapi.yml#/components/schemas/EntityVersionsResponse",
  "properties": {
    "data": {
      "description": "Content with [EntityVersionResource](#entityversionresource) objects",
      "items": {
        "$ref": "#/$defs/EntityVersionResource"
      },
      "type": "array"
    },
    "meta": {
      "properties": {
        "after": {
          "description": "after cursor for the next page resources",
          "type": "string"
        },
        "before": {
          "description": "before cursor for the previous page resources",
          "type": "string"
        },
        "limit": {
          "description": "number of resources limit applied to this request",
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "EntityVersionResource": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "description": {
              "description": "",
              "type": "string"
            },
            "entity_id": {
              "description": "",
              "type": "string"
            },
            "inserted_at": {
              "description": "",
              "type": "string"
            },
            "updated_at": {
              "description": "",
              "type": "string"
            },
            "version": {
              "description": "",
              "type": "string"
            }
          },
          "type": "object"
        },
        "id": {
          "description": "The JSON-API resource ID",
          "type": "string"
        },
        "relationships": {
          "properties": {},
          "type": "object"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}