Skip to main content
Home

Built and signed on GitHub Actions

BIDS Schema JSON blob and associated types

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
88%
Published
2 weeks ago (1.1.2)

BIDS Schema

The BIDS Schema is the canonical reference for terms and rules associated with the Brain Imaging Data Structure standard.

The schema itself is a collection of YAML files that are compiled into a JSON object using the bidsschematools Python package bundled with the specification.

This package provides ready import for Javascript and Typescript projects.

Usage

import type { Schema, Context } from 'jsr:@bids/schema'
import { schema } from 'jsr:@bids/schema'

const metadataFields = schema.objects.metadata
const filenameRules = schema.rules.files
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@bids/schema

Import symbol

import * as schema from "@bids/schema";
or

Import directly with a jsr specifier

import * as schema from "jsr:@bids/schema";

Add Package

pnpm i jsr:@bids/schema
or (using pnpm 10.8 or older)
pnpm dlx jsr add @bids/schema

Import symbol

import * as schema from "@bids/schema";

Add Package

yarn add jsr:@bids/schema
or (using Yarn 4.8 or older)
yarn dlx jsr add @bids/schema

Import symbol

import * as schema from "@bids/schema";

Add Package

vlt install jsr:@bids/schema

Import symbol

import * as schema from "@bids/schema";

Add Package

npx jsr add @bids/schema

Import symbol

import * as schema from "@bids/schema";

Add Package

bunx jsr add @bids/schema

Import symbol

import * as schema from "@bids/schema";