{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agrodt.github.io/agrotool-knowledge-portal/schemas/v4/public-data.schema.json",
  "title": "PublicDataBundleV4",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "works",
    "persons",
    "sources",
    "organizations",
    "topics",
    "groups",
    "group_versions",
    "historical_stages",
    "memberships",
    "person_relations",
    "evidence_summaries",
    "routes",
    "metrics",
    "components",
    "component_views",
    "component_mappings",
    "component_state_events",
    "component_version_contexts",
    "person_role_assertions",
    "gap_candidates",
    "issue_snapshots",
    "portal_config"
  ],
  "properties": {
    "works": { "$ref": "../v1/works.schema.json" },
    "persons": { "$ref": "../v1/persons.schema.json" },
    "sources": { "$ref": "../v1/sources.schema.json" },
    "organizations": { "$ref": "../v1/organizations.schema.json" },
    "topics": { "$ref": "../v1/topics.schema.json" },
    "groups": { "$ref": "../v1/groups.schema.json" },
    "group_versions": { "$ref": "../v1/group_versions.schema.json" },
    "historical_stages": { "$ref": "../v3/historical_stages.schema.json" },
    "memberships": { "$ref": "../v1/memberships.schema.json" },
    "person_relations": { "$ref": "../v1/person_relations.schema.json" },
    "evidence_summaries": { "$ref": "../v1/evidence_summaries.schema.json" },
    "routes": { "$ref": "../v1/routes.schema.json" },
    "metrics": { "$ref": "../v1/metrics.schema.json" },
    "components": { "$ref": "../v3/components.schema.json" },
    "component_views": { "$ref": "../v3/component_views.schema.json" },
    "component_mappings": { "$ref": "../v3/component_mappings.schema.json" },
    "component_state_events": {
      "$ref": "../v3/component_state_events.schema.json"
    },
    "component_version_contexts": {
      "$ref": "component_version_contexts.schema.json"
    },
    "person_role_assertions": {
      "$ref": "../v3/person_role_assertions.schema.json"
    },
    "gap_candidates": { "$ref": "../v3/gap_candidates.schema.json" },
    "issue_snapshots": { "$ref": "../v3/issue_snapshots.schema.json" },
    "portal_config": { "$ref": "../v3/portal_config.schema.json" }
  }
}
