Skip to content

Commit d905504

Browse files
authored
Add classes OneDimensionalSeries, TwoDimensionalArray
1 parent f482279 commit d905504

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
id: https://w3id.org/linkml/linkml-arrays
2+
name: linkml-arrays
3+
title: linkml-arrays
4+
description: |-
5+
LinkML schema to store one-dimensional series and two-dimensional arrays.
6+
7+
prefixes:
8+
arrays: https://w3id.org/linkml/linkml-arrays
9+
linkml: https://w3id.org/linkml/
10+
11+
default_prefix: arrays
12+
default_range: string
13+
14+
imports:
15+
- linkml:types
16+
17+
classes:
18+
19+
Any:
20+
class_uri: linkml:Any
21+
22+
OneDimensionalSeries:
23+
attributes:
24+
name: # the row label
25+
key: true # unique when nested (unlike identifier, which is a global identifier)
26+
data_type:
27+
values:
28+
range: Any
29+
multivalued: true
30+
required: true
31+
32+
TwoDimensionalArray:
33+
attributes:
34+
axis0:
35+
aliases:
36+
- x
37+
range: OneDimensionalSeries
38+
rank: 0
39+
required: true
40+
inlined: true
41+
inlined_as_list: true
42+
axis1:
43+
aliases:
44+
- y
45+
range: OneDimensionalSeries
46+
rank: 1
47+
required: true
48+
inlined: true
49+
inlined_as_list: true
50+
values:
51+
# this will be serialized as one big long list that should be interpreted as a 2D array
52+
range: Any
53+
required: true
54+
multivalued: true

0 commit comments

Comments
 (0)