Skip to content

Commit

Permalink
Example for linkml/linkml#1469
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Jun 4, 2023
1 parent 12da28d commit 5498ff6
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions examples/pointer-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
id: https://w3id.org/linkml/examples/pointer-example
name: pointer-example
description: pointer-example
imports:
- linkml:types
prefixes:
linkml: https://w3id.org/linkml/
ex: https://w3id.org/linkml/examples/pointer-example/
default_prefix: ex
slots:
property:
examples:
- value: '#/address[1]'
identifier: true
range: jsonpointer
source:
examples:
- value: bazSource
range: string
id:
examples:
- value: object1234
identifier: true
range: string
height:
multivalued: true
range: string
width:
multivalued: true
range: string
address:
multivalued: true
range: string
classes:
Source:
slots:
- property
- source
MyObject:
slots:
- id
- source
- height
- width
- address

0 comments on commit 5498ff6

Please sign in to comment.