nwb-linkml/nwb-schema-linkml/project/graphql/nwb_schema_language.graphql

105 lines
1.5 KiB
GraphQL
Raw Normal View History

2023-08-17 06:47:35 +00:00
type AnyType
2023-08-16 23:07:36 +00:00
{
2023-08-17 06:47:35 +00:00
}
type Attribute implements DtypeMixin
{
name: String!
dims: [String]
shape: [String]
value: AnyType
defaultValue: AnyType
doc: String!
required: Boolean
dtype: String
}
type CompoundDtype
{
name: String!
doc: String!
dtype: FlatDtype!
}
type Dataset implements DtypeMixin, NamingMixin
{
neurodataTypeDef: String
neurodataTypeInc: String
2023-08-16 23:07:36 +00:00
name: String
2023-08-17 06:47:35 +00:00
defaultName: String
dims: [String]
shape: [String]
value: AnyType
defaultValue: AnyType
doc: String!
quantity: String
linkable: Boolean
attributes: [Attribute]
dtype: String
2023-08-16 23:07:36 +00:00
}
2023-08-17 06:47:35 +00:00
interface DtypeMixin
{
dtype: String
}
type Group implements NamingMixin
{
neurodataTypeDef: String
neurodataTypeInc: String
name: String
defaultName: String
doc: String!
quantity: String
linkable: Boolean
attributes: [Attribute]
datasets: [Dataset]
groups: [Group]
links: [Link]
}
type Link
2023-08-16 23:07:36 +00:00
{
name: String
2023-08-17 06:47:35 +00:00
doc: String!
targetType: String!
quantity: String
}
type Namespace
{
doc: String!
name: String!
fullName: String
version: String!
date: Date
author: [String]!
contact: [String]!
schema: [Schema]
}
type Namespaces
{
namespaces: [Namespace]
}
interface NamingMixin
{
}
type ReferenceDtype
{
targetType: String!
reftype: ReftypeOptions
2023-08-16 23:07:36 +00:00
}
2023-08-17 06:47:35 +00:00
type Schema
2023-08-16 23:07:36 +00:00
{
2023-08-17 06:47:35 +00:00
source: String
namespace: String
doc: String!
title: String
neurodataTypes: [String]
2023-08-16 23:07:36 +00:00
}