{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://platphormnews.com/schemas/core.schema.json",
  "title": "PlatPhorm Core Enums and Defaults",
  "description": "Core enums and defaults for PlatPhorm",
  "type": "object",
  "properties": {
    "enums": {
      "type": "object",
      "required": [
        "environment",
        "visibility",
        "status",
        "trust_level",
        "feature_tags",
        "environment_tags",
        "governance_tags",
        "realm_type",
        "namespace_type",
        "item_type",
        "fingerprint_type",
        "edge_type"
      ],
      "properties": {
        "environment": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "production",
              "staging",
              "development",
              "preview",
              "sandbox",
              "internal",
              "partner",
              "customer"
            ]
          }
        },
        "visibility": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "public",
              "private",
              "unlisted",
              "network-internal",
              "agent-only",
              "partner-shared",
              "customer-isolated"
            ]
          }
        },
        "status": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "active",
              "inactive",
              "draft",
              "queued",
              "running",
              "succeeded",
              "failed",
              "archived",
              "deleted"
            ]
          }
        },
        "trust_level": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "low",
              "standard",
              "elevated",
              "high",
              "verified",
              "restricted",
              "network-observable"
            ]
          }
        },
        "feature_tags": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "api",
              "mcp",
              "llms",
              "rss",
              "sitemap",
              "search",
              "submissions",
              "traces",
              "observability",
              "agents",
              "graph",
              "json",
              "docs",
              "podcasts",
              "feeds",
              "transcripts",
              "collections",
              "evals",
              "network",
              "status",
              "health",
              "jobs",
              "fingerprinting",
              "governance",
              "privacy",
              "analytics",
              "edge",
              "vercel"
            ]
          }
        },
        "environment_tags": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "production",
              "staging",
              "development",
              "preview",
              "sandbox",
              "internal",
              "partner",
              "customer"
            ]
          }
        },
        "governance_tags": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "public",
              "private",
              "unlisted",
              "network-internal",
              "agent-only",
              "partner-shared",
              "customer-isolated",
              "open-source",
              "copyright-restricted",
              "human-led",
              "ai-first",
              "human-in-the-loop",
              "trace-required",
              "fingerprint-aware",
              "retention-controlled"
            ]
          }
        },
        "realm_type": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "content-platform",
              "documentation-platform",
              "observability-platform",
              "evaluation-platform",
              "data-platform",
              "search-platform",
              "network-platform",
              "application-platform",
              "experiment-platform",
              "utility-platform"
            ]
          }
        },
        "namespace_type": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "api",
              "mcp",
              "observability",
              "content",
              "search",
              "ingest",
              "transcripts",
              "collections",
              "admin",
              "network",
              "evals"
            ]
          }
        },
        "item_type": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "item",
              "document",
              "page",
              "resource",
              "submission",
              "source",
              "podcast",
              "episode",
              "feed",
              "transcript",
              "chapter",
              "person",
              "collection",
              "snapshot",
              "job",
              "event",
              "observation",
              "trace",
              "fingerprint",
              "request_observation",
              "edge_trace",
              "agent",
              "agent_run",
              "tool_call",
              "resource_touch",
              "agent_output",
              "eval_suite",
              "eval_run",
              "eval_case",
              "metric",
              "scorecard",
              "artifact",
              "dataset",
              "report",
              "status_report",
              "network_node"
            ]
          }
        },
        "fingerprint_type": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ja4",
              "ja4h",
              "ja4s",
              "ua_hash",
              "route_digest",
              "vercel_digest",
              "tool_signature",
              "agent_signature"
            ]
          }
        },
        "edge_type": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "references",
              "derived_from",
              "mirrors",
              "routes_to",
              "curated_into",
              "observes",
              "alerts_on",
              "scores",
              "indexes",
              "summarizes"
            ]
          }
        }
      },
      "additionalProperties": false
    },
    "defaults": {
      "type": "object",
      "required": [
        "environment",
        "visibility",
        "status",
        "trust_level",
        "governance_profile",
        "observability_profile",
        "trace_capture",
        "fingerprint_capture",
        "provenance_capture",
        "agent_execution_capture",
        "search_indexing",
        "api_enabled",
        "mcp_enabled",
        "llms_enabled",
        "sitemap_enabled",
        "health_enabled",
        "docs_enabled",
        "network_visible",
        "feature_tags",
        "environment_tags",
        "governance_tags"
      ],
      "properties": {
        "environment": {
          "const": "production"
        },
        "visibility": {
          "const": "public"
        },
        "status": {
          "const": "active"
        },
        "trust_level": {
          "const": "standard"
        },
        "governance_profile": {
          "type": "string",
          "const": "open-network"
        },
        "observability_profile": {
          "type": "string",
          "const": "platphorm-default"
        },
        "trace_capture": {
          "type": "boolean",
          "const": true
        },
        "fingerprint_capture": {
          "type": "boolean",
          "const": true
        },
        "provenance_capture": {
          "type": "boolean",
          "const": true
        },
        "agent_execution_capture": {
          "type": "boolean",
          "const": true
        },
        "search_indexing": {
          "type": "boolean",
          "const": true
        },
        "api_enabled": {
          "type": "boolean",
          "const": true
        },
        "mcp_enabled": {
          "type": "boolean",
          "const": true
        },
        "llms_enabled": {
          "type": "boolean",
          "const": true
        },
        "sitemap_enabled": {
          "type": "boolean",
          "const": true
        },
        "health_enabled": {
          "type": "boolean",
          "const": true
        },
        "docs_enabled": {
          "type": "boolean",
          "const": true
        },
        "network_visible": {
          "type": "boolean",
          "const": true
        },
        "feature_tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": []
        },
        "environment_tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": []
        },
        "governance_tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": []
        }
      },
      "additionalProperties": false
    }
  }
}