{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-paginated-application-spec-response-schema.json",
  "title": "PaginatedApplicationSpecResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-application-specs-api-openapi.yml#/components/schemas/PaginatedApplicationSpecResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/egp_api_backend__server__api__models__application_models_no_gen__ApplicationSpecResponse"
      },
      "type": "array",
      "title": "Items",
      "description": "The data returned for the current page."
    },
    "total_item_count": {
      "type": "integer",
      "title": "Total Item Count",
      "description": "The total number of items of the query"
    },
    "current_page": {
      "type": "integer",
      "title": "Current Page",
      "description": "The current page number."
    },
    "items_per_page": {
      "type": "integer",
      "title": "Items Per Page",
      "description": "The number of items per page."
    }
  },
  "type": "object",
  "required": [
    "items",
    "total_item_count",
    "current_page",
    "items_per_page"
  ],
  "$defs": {
    "IdentifierTypeEnum": {
      "type": "string",
      "enum": [
        "user",
        "service_account"
      ],
      "title": "IdentifierTypeEnum"
    },
    "egp_api_backend__server__api__models__application_models_no_gen__ApplicationSpecResponse": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name",
          "description": "The name of the Application Spec"
        },
        "description": {
          "type": "string",
          "title": "Description",
          "description": "The description of the Application Spec"
        },
        "theme_id": {
          "title": "Theme Id",
          "can_patch": true,
          "type": "string"
        },
        "run_online_evaluation": {
          "title": "Run Online Evaluation",
          "description": "Whether the application spec should run online evaluation, default is `false`",
          "default": false,
          "type": "boolean"
        },
        "id": {
          "type": "string",
          "title": "Id",
          "description": "The unique identifier of the entity."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At",
          "description": "The date and time when the entity was created in ISO format."
        },
        "account_id": {
          "type": "string",
          "title": "Account Id",
          "description": "The ID of the account that owns the given entity.",
          "can_patch": false
        },
        "created_by_user_id": {
          "type": "string",
          "title": "Created By User Id",
          "description": "The user who originally created the entity."
        },
        "created_by_identity_type": {
          "$ref": "#/$defs/IdentifierTypeEnum",
          "description": "The type of identity that created the entity."
        },
        "archived_at": {
          "title": "Archived At",
          "description": "The date and time when the entity was archived in ISO format.",
          "type": "string",
          "format": "date-time"
        }
      },
      "type": "object",
      "required": [
        "name",
        "description",
        "id",
        "created_at",
        "account_id"
      ],
      "title": "ApplicationSpecResponse"
    }
  }
}