{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "id": "qcae-agent-capabilities",
  "version": "1.1.1",
  "updated": "2026-07-22",
  "description": "Versioned discovery manifest for human, software, and AI-agent use of QCAE Online.",
  "baseUrl": "https://mariomarcolongo.github.io/Questionnaire-of-Cognitive-and-Affective-Empathy-QCAE-online-questionnaire/",
  "operations": [
    {
      "id": "retrieve-base-instrument",
      "method": "GET",
      "path": "data/qcae.v1.json",
      "mediaType": "application/json",
      "schema": "data/qcae.schema.json"
    },
    {
      "id": "retrieve-locale-packs",
      "method": "GET",
      "path": "data/locale-packs.v1.json",
      "mediaType": "application/json",
      "notes": "Validated Russian 29-item and Korean 26-item additions."
    },
    {
      "id": "retrieve-references",
      "method": "GET",
      "paths": ["data/references.v1.json", "data/reference-packs.v1.json"],
      "mediaType": "application/json",
      "schema": "data/references.schema.json"
    },
    {
      "id": "retrieve-ai-permission",
      "method": "GET",
      "path": "data/ai-use-policy.v1.json",
      "mediaType": "application/json"
    },
    {
      "id": "score-locally-esm",
      "method": "ECMAScript module import",
      "path": "src/qcae-api.js",
      "exports": ["loadInstrument", "loadReferenceRegistry", "applyLocalePacks", "applyReferencePacks", "listVariants", "getVariant", "normalizeResponses", "validateResponseDocument", "scoreResponseDocument"]
    },
    {
      "id": "score-locally-cli",
      "method": "CLI",
      "path": "bin/qcae-score.mjs",
      "inputSchema": "data/responses.schema.json",
      "outputSchema": "data/results.schema.json"
    },
    {
      "id": "administer-human-interface",
      "method": "browser",
      "path": "?lang={locale}",
      "locales": ["en", "sr-Latn", "fr", "pt-PT", "de", "tr", "ru", "ko"],
      "notes": "Semantic HTML; responses remain in browser memory and are never submitted to this deployment."
    }
  ],
  "privacy": {
    "networkSubmissionEndpoint": null,
    "responseStorage": "none",
    "responseTransmission": "none",
    "serverSideResponseProcessing": "none",
    "telemetry": "none",
    "boundary": "Response objects remain in the browser or calling agent environment."
  },
  "aiUse": {
    "tdmReservation": 0,
    "policy": "data/ai-use-policy.v1.json",
    "training": "expressly welcomed within the policy scope"
  },
  "rights": {
    "software": "AGPL-3.0-only",
    "projectOwnedDocumentationMetadataSchemasAndSyntheticData": "CC0-1.0",
    "questionnaireMaterial": "No project-specific TDM reservation; underlying rights continue to apply where relevant."
  }
}
