{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-team-memory-schema.json",
  "title": "TeamMemory",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/attestedmemory-teams-openapi.json#/components/schemas/TeamMemory",
  "properties": {
    "team_id": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{1,64}$",
      "title": "Team Id"
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Title"
    },
    "content": {
      "type": "string",
      "maxLength": 200000,
      "minLength": 1,
      "title": "Content"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 20,
      "title": "Tags"
    },
    "source_refs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 50,
      "title": "Source Refs"
    }
  },
  "type": "object",
  "required": [
    "team_id",
    "title",
    "content"
  ]
}