{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mammoth-io/json-schema/mammoth-io-client-app-schema-schema.json",
  "title": "ClientAppSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mammoth-io-client-apps-api-openapi.yml#/components/schemas/ClientAppSchema",
  "properties": {
    "description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Description of client app or api tokens"
    },
    "workspace_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Workspace ID of client app or api tokens"
    },
    "user_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "User ID of client app or api tokens"
    },
    "last_usage": {
      "oneOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "description": "Last usage of client app or api tokens"
    },
    "created_at": {
      "oneOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "description": "Creation time of client app or api tokens. Null for apps created before this was recorded."
    },
    "id": {
      "type": "integer",
      "exclusiveMinimum": 0.0,
      "description": "ID of client app or api tokens"
    },
    "app_name": {
      "type": "string",
      "description": "Name of client app or api tokens"
    },
    "app_key": {
      "type": "string",
      "description": "App key of client app or api tokens"
    }
  },
  "type": "object",
  "required": [
    "app_key",
    "app_name",
    "id"
  ]
}