| { |
| "$schema": "https://json-schema.org/draft/2020-12/schema", |
| "$id": "https://example.com/adversarial-memory-bench/case.schema.json", |
| "title": "AdversarialMemoryBenchmarkCase", |
| "type": "object", |
| "required": ["id", "query", "adversary_type", "entries", "relevant_ids"], |
| "properties": { |
| "id": {"type": "string", "minLength": 1}, |
| "query": {"type": "string", "minLength": 1}, |
| "adversary_type": { |
| "type": "string", |
| "enum": [ |
| "entity_swap", |
| "environment_swap", |
| "time_swap", |
| "state_update", |
| "speaker_swap", |
| "near_duplicate_paraphrase" |
| ] |
| }, |
| "entries": { |
| "type": "array", |
| "minItems": 2, |
| "items": { |
| "type": "object", |
| "required": ["id", "text"], |
| "properties": { |
| "id": {"type": "string", "minLength": 1}, |
| "text": {"type": "string", "minLength": 1}, |
| "tags": { |
| "type": "array", |
| "items": {"type": "string"} |
| }, |
| "depth": {"type": "integer", "minimum": 0}, |
| "timestamp": {"type": "string"}, |
| "speaker": {"type": "string"}, |
| "metadata": {"type": "object"} |
| }, |
| "additionalProperties": false |
| } |
| }, |
| "relevant_ids": { |
| "type": "array", |
| "minItems": 1, |
| "items": {"type": "string", "minLength": 1} |
| }, |
| "notes": {"type": "string"}, |
| "metadata": {"type": "object"} |
| }, |
| "additionalProperties": false |
| } |
|
|