{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gloat/json-schema/gloat-user-applications-list-schema-schema.json",
  "title": "UserApplicationsListSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gloat-users-api-openapi.yml#/components/schemas/UserApplicationsListSchema",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/UserApplicationsData"
      },
      "type": "array",
      "title": "Items"
    },
    "page": {
      "type": "integer",
      "title": "Page"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "total_count": {
      "type": "integer",
      "title": "Total Count"
    },
    "has_next": {
      "type": "boolean",
      "title": "Has Next",
      "readOnly": true
    },
    "page_count": {
      "type": "integer",
      "title": "Page Count",
      "readOnly": true
    }
  },
  "type": "object",
  "required": [
    "items",
    "page",
    "limit",
    "total_count",
    "has_next",
    "page_count"
  ],
  "$defs": {
    "ApplicationCategory": {
      "type": "string",
      "enum": [
        "Technologies",
        "AI Agents",
        "AI Assistance"
      ],
      "title": "ApplicationCategory"
    },
    "ApplicationPartialData": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "category": {
          "$ref": "#/$defs/ApplicationCategory"
        },
        "description": {
          "type": "string",
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "category",
        "description"
      ],
      "title": "ApplicationPartialData"
    },
    "UserApplicationsData": {
      "properties": {
        "user_id": {
          "type": "string",
          "title": "User Id"
        },
        "applications": {
          "items": {
            "$ref": "#/$defs/ApplicationPartialData"
          },
          "type": "array",
          "title": "Applications"
        }
      },
      "type": "object",
      "required": [
        "user_id",
        "applications"
      ],
      "title": "UserApplicationsData"
    }
  }
}