{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/broad-institute/json-schema/broad-institute-nih-resources-schema.json",
  "title": "NihResources",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/broad-institute-nih-api-openapi.yml#/components/schemas/NihResources",
  "type": "object",
  "properties": {
    "datasetPermissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DatasetPermission"
      }
    }
  },
  "$defs": {
    "DatasetPermission": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "the name of the NIH dataset"
        },
        "authorized": {
          "type": "boolean",
          "description": "true if you have access to the dataset, false otherwise"
        }
      }
    }
  }
}