Skip to content

Commit 5498ff6

Browse files
committed
Example for linkml/linkml#1469
1 parent 12da28d commit 5498ff6

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

examples/pointer-example.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
id: https://w3id.org/linkml/examples/pointer-example
2+
name: pointer-example
3+
description: pointer-example
4+
imports:
5+
- linkml:types
6+
prefixes:
7+
linkml: https://w3id.org/linkml/
8+
ex: https://w3id.org/linkml/examples/pointer-example/
9+
default_prefix: ex
10+
slots:
11+
property:
12+
examples:
13+
- value: '#/address[1]'
14+
identifier: true
15+
range: jsonpointer
16+
source:
17+
examples:
18+
- value: bazSource
19+
range: string
20+
id:
21+
examples:
22+
- value: object1234
23+
identifier: true
24+
range: string
25+
height:
26+
multivalued: true
27+
range: string
28+
width:
29+
multivalued: true
30+
range: string
31+
address:
32+
multivalued: true
33+
range: string
34+
classes:
35+
Source:
36+
slots:
37+
- property
38+
- source
39+
MyObject:
40+
slots:
41+
- id
42+
- source
43+
- height
44+
- width
45+
- address
46+

0 commit comments

Comments
 (0)