{
  "$defs": {
    "DisplayPolicy": {
      "enum": [
        "hidden",
        "summary",
        "exact"
      ],
      "title": "DisplayPolicy",
      "type": "string"
    },
    "ModuleId": {
      "enum": [
        "finance",
        "health",
        "autoshorts",
        "family",
        "system"
      ],
      "title": "ModuleId",
      "type": "string"
    },
    "Sensitivity": {
      "enum": [
        "public",
        "internal",
        "sensitive",
        "critical"
      ],
      "title": "Sensitivity",
      "type": "string"
    },
    "SourceType": {
      "enum": [
        "api",
        "http_api",
        "local_probe",
        "sqlite_summary",
        "filesystem_metadata",
        "static_config",
        "mock",
        "safe_marker"
      ],
      "title": "SourceType",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "actions_enabled": {
      "title": "Actions Enabled",
      "type": "boolean"
    },
    "base_url_env": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Base Url Env"
    },
    "contract_version": {
      "title": "Contract Version",
      "type": "string"
    },
    "default_display_policy": {
      "$ref": "#/$defs/DisplayPolicy"
    },
    "enabled": {
      "title": "Enabled",
      "type": "boolean"
    },
    "legacy_url_env": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Legacy Url Env"
    },
    "module_id": {
      "$ref": "#/$defs/ModuleId"
    },
    "notes": {
      "items": {
        "type": "string"
      },
      "title": "Notes",
      "type": "array"
    },
    "runtime_base_env": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Runtime Base Env"
    },
    "sensitivity": {
      "$ref": "#/$defs/Sensitivity"
    },
    "source_type": {
      "$ref": "#/$defs/SourceType"
    },
    "title": {
      "title": "Title",
      "type": "string"
    }
  },
  "required": [
    "module_id",
    "title",
    "enabled",
    "sensitivity",
    "source_type",
    "contract_version",
    "default_display_policy",
    "actions_enabled"
  ],
  "title": "ModuleRegistryEntry",
  "type": "object"
}
