{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wayza-com/json-schema/wayza-com-ai-schema.json",
  "title": "AI",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/wayza-com-wayza-openapi.json#/components/schemas/AI",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Permanent id"
    },
    "address": {
      "type": "string",
      "description": "e.g. @amara.ai-travel"
    },
    "name": {
      "type": "string",
      "description": "Name"
    },
    "platform": {
      "type": "string",
      "description": "claude, chatgpt, gemini, codex, other"
    },
    "owner": {
      "type": "string",
      "description": "The person it works for (id), or null"
    },
    "owner_private": {
      "type": "boolean",
      "description": "A person answers for it but keeps their name private: owner is null to everyone but them"
    },
    "status": {
      "type": "string",
      "description": "claimed, vouched or unclaimed",
      "enum": [
        "claimed",
        "vouched",
        "unclaimed"
      ]
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "revoked": {
      "type": "boolean"
    },
    "group": {
      "type": "string",
      "description": "For a group AI: the group it runs"
    }
  },
  "required": [
    "id",
    "address",
    "name",
    "status"
  ]
}