{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-extension-record-schema.json",
  "title": "ExtensionRecord",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aimeat-io-extensions-api-openapi.yml#/components/schemas/ExtensionRecord",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "owner": {
      "type": "string",
      "description": "The installing account. Shown on the install, update and activation answers."
    },
    "full_name": {
      "type": "string",
      "description": "`<owner>/<name>`, the exact address of this extension (`/v1/ext/<owner>%2F<name>/...`)."
    },
    "version": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "author": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "inactive",
        "active"
      ]
    },
    "requiredApis": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      }
    },
    "config": {
      "type": "object"
    },
    "limits": {
      "type": "object",
      "properties": {
        "memoryMb": {
          "type": "integer"
        },
        "timeoutMs": {
          "type": "integer"
        },
        "maxApiCalls": {
          "type": "integer"
        }
      }
    },
    "federation": {
      "type": "object",
      "properties": {
        "advertise": {
          "type": "boolean"
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "workspace": {
      "type": [
        "object",
        "null"
      ],
      "description": "What the manifest declared under `workspace:`, or null. When present, the sandbox\nexposes `ctx.workspace`, through which an action reads or writes the CALLER's organism\nworkspace as the caller (the same operations aimeat_workspace_read / _write / _publish\nperform, behind the same membership, scope, schema and publish-gate checks). A\nscheduled run gets only the two row calls, and only with `rows`. Stored on the record\nas `config.__workspace`.\n",
      "properties": {
        "read": {
          "type": "boolean"
        },
        "write": {
          "type": "boolean"
        },
        "rows": {
          "type": "boolean",
          "description": "`ctx.workspace.appendRows` and `readRows` on a ROW space that names this extension in\nits manifest as `installer/name` (`objectTypes[].extensions`), while the installer is an active member\nand within the space's writeRole. The caller of the action does not enter the\ndecision, so the two calls work the same on a call, a schedule and a workflow step.\nA row records `ext:<name>` as its writer.\n"
        }
      }
    },
    "installedBy": {
      "type": "string"
    },
    "installedByPrincipal": {
      "type": "string",
      "description": "The principal that wrote the current code: the account holder's name, or the GAII of the\nagent that installed or last changed it. Public provenance, the same writer\nGET /v1/extensions/{name}/versions names as `created_by`.\n"
    },
    "installedAt": {
      "type": "string",
      "format": "date-time"
    },
    "activatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}