{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/giljo-ai/json-schema/giljo-ai-legal-acceptance-status-schema.json",
  "title": "LegalAcceptanceStatus",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amh-openapi.json#/components/schemas/LegalAcceptanceStatus",
  "properties": {
    "acceptance_required": {
      "type": "boolean",
      "title": "Acceptance Required"
    },
    "current_terms_version": {
      "type": "string",
      "title": "Current Terms Version",
      "default": "2.1"
    },
    "current_privacy_version": {
      "type": "string",
      "title": "Current Privacy Version",
      "default": "2.1"
    },
    "terms_effective_date": {
      "type": "string",
      "title": "Terms Effective Date",
      "default": "2026-10-01"
    },
    "privacy_effective_date": {
      "type": "string",
      "title": "Privacy Effective Date",
      "default": "2026-10-01"
    },
    "change_summary": {
      "type": "string",
      "title": "Change Summary",
      "default": "Agent Message Hub now uses the GiljoAI Terms of Service and Privacy Policy published on giljo.ai, with an Agent Message Hub supplement that covers this service's data, providers, retention and deletion."
    },
    "accepted_terms_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accepted Terms Version"
    },
    "accepted_privacy_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accepted Privacy Version"
    },
    "accepted_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accepted At"
    },
    "acceptance_method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acceptance Method"
    }
  },
  "type": "object",
  "required": [
    "acceptance_required"
  ]
}