forked from linkml/linkml-project-copier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path{% if add_example %}{{ project_slug }}.yaml{% endif %}.jinja
More file actions
98 lines (90 loc) · 2.25 KB
/
Copy path{% if add_example %}{{ project_slug }}.yaml{% endif %}.jinja
File metadata and controls
98 lines (90 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
id: https://w3id.org/{{github_org}}/{{project_name}}
name: {{project_name}}
title: {{project_name}}
description: |-
{{project_description}}
license: {{license}}
see_also:
- https://{{github_org}}.github.io/{{project_name}}
prefixes:
{{project_slug}}: https://w3id.org/{{github_org}}/{{project_name}}/
linkml: https://w3id.org/linkml/
biolink: https://w3id.org/biolink/vocab/
schema: http://schema.org/
PATO: http://purl.obolibrary.org/obo/PATO_
example: http://www.example.org/rdf#
default_prefix: {{project_slug}}
default_range: string
imports:
- linkml:types
classes:
NamedThing:
description: >-
A generic grouping for any identifiable entity
slots:
- id
- name
- description
class_uri: schema:Thing
Person:
is_a: NamedThing
description: >-
Represents a Person
slots:
- primary_email
- birth_date
- age_in_years
- vital_status
slot_usage:
primary_email:
pattern: "^\\S+@[\\S+\\.]+\\S+"
PersonCollection:
tree_root: true
description: >-
A holder for Person objects
attributes:
people:
range: Person
multivalued: true
inlined_as_list: true
slots:
id:
identifier: true
slot_uri: schema:identifier
range: uriorcurie
description: A unique identifier for a thing
name:
slot_uri: schema:name
description: A human-readable name for a thing
description:
slot_uri: schema:description
description: A human-readable description for a thing
primary_email:
slot_uri: schema:email
description: The main email address of a person
birth_date:
slot_uri: schema:birthDate
range: date
description: Date on which a person is born
age_in_years:
range: integer
description: Number of years since birth
vital_status:
range: PersonStatus
description: living or dead status
enums:
PersonStatus:
description:
The vital status of a person
permissible_values:
ALIVE:
description: the person is living
meaning: PATO:0001421
DEAD:
description: the person is deceased
meaning: PATO:0001422
UNKNOWN:
description: the vital status is not known
todos:
- map this to an ontology