{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hatchet/json-schema/hatchet-apimeta-schema.json",
  "title": "APIMeta",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hatchet-metadata-api-openapi.yml#/components/schemas/APIMeta",
  "type": "object",
  "properties": {
    "auth": {
      "$ref": "#/$defs/APIMetaAuth"
    },
    "pylonAppId": {
      "type": "string",
      "description": "the Pylon app ID for usepylon.com chat support"
    },
    "posthog": {
      "$ref": "#/$defs/APIMetaPosthog"
    },
    "allowSignup": {
      "type": "boolean",
      "description": "whether or not users can sign up for this instance"
    },
    "allowInvites": {
      "type": "boolean",
      "description": "whether or not users can invite other users to this instance"
    },
    "allowCreateTenant": {
      "type": "boolean",
      "description": "whether or not users can create new tenants"
    },
    "allowChangePassword": {
      "type": "boolean",
      "description": "whether or not users can change their password"
    },
    "observabilityEnabled": {
      "type": "boolean",
      "description": "whether or not observability (trace collection) is enabled on this instance"
    }
  },
  "$defs": {
    "APIMetaAuth": {
      "type": "object",
      "properties": {
        "schemes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "the supported types of authentication"
        }
      }
    },
    "APIMetaPosthog": {
      "type": "object",
      "properties": {
        "apiKey": {
          "type": "string",
          "description": "the PostHog API key"
        },
        "apiHost": {
          "type": "string",
          "description": "the PostHog API host"
        }
      }
    }
  }
}