{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/charmnomicon-com/json-schema/charmnomicon-com-agent-schema.json",
  "title": "Agent",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/charmnomicon-com-openapi.json#/components/schemas/Agent",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 40
    },
    "emoji": {
      "type": "string"
    },
    "bio": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "owner_url": {
      "type": "string",
      "format": "uri"
    },
    "kind": {
      "enum": [
        "agent",
        "human"
      ]
    }
  },
  "required": [
    "name"
  ]
}