-
Notifications
You must be signed in to change notification settings - Fork 32
/
TraitBaseClass.yaml
85 lines (84 loc) · 4.06 KB
/
TraitBaseClass.yaml
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
info:
title: BrAPI
version: ''
openapi: 3.0.0
paths: {}
components:
schemas:
TraitBaseClass:
description: |-
A Trait describes what property is being observed.
<br>For example, an ObservationVariable might be defined with a Trait of "plant height", a Scale of "meters", and a Method of "tape measure". This variable would be distinct from a variable with the Trait "Leaf length" or "Flower height".
type: object
required:
- traitName
properties:
additionalInfo:
additionalProperties:
type: string
description: A free space containing any additional information related to a particular object. A data source may provide any JSON object, unrestricted by the BrAPI specification.
type: object
externalReferences:
$ref: '#/components/schemas/ExternalReferences'
alternativeAbbreviations:
description: A list of shortened, human readable, names for a Trait. These abbreviations are acceptable alternatives to the mainAbbreviation and do not need to follow any formatting convention.
items:
type: string
type: array
example: ['H', 'PH', 'H1']
mainAbbreviation:
description: A shortened version of the human readable name for a Trait
type: string
example: PH
synonyms:
description: Other trait names
items:
type: string
type: array
example: ['Height', 'Plant Height', 'Stalk Height', 'Canopy Height']
ontologyReference:
$ref: '#/components/schemas/OntologyReference'
status:
description: 'Trait status (examples: "recommended", "obsolete", "legacy", etc.)'
type: string
example: recommended
attribute:
description: A trait can be decomposed as "Trait" = "Entity" + "Attribute", the attribute is the observed feature (or characteristic) of the entity e.g., for "grain colour", attribute = "colour"
type: string
example: height
attributePUI:
description: |-
The Permanent Unique Identifier of a Trait Attribute, usually in the form of a URI
<br/>A trait can be decomposed as "Trait" = "Entity" + "Attribute", the attribute is the observed feature (or characteristic) of the entity e.g., for "grain colour", attribute = "colour"
type: string
example: http://my-traits.com/trait/PO:00012345
entity:
description: A trait can be decomposed as "Trait" = "Entity" + "Attribute", the entity is the part of the plant that the trait refers to e.g., for "grain colour", entity = "grain"
type: string
example: Stalk
entityPUI:
description: |-
The Permanent Unique Identifier of a Trait Entity, usually in the form of a URI
<br/>A Trait can be decomposed as "Trait" = "Entity" + "Attribute", the Entity is the part of the plant that the trait refers to e.g., for "grain colour", entity = "grain"
type: string
example: http://my-traits.com/trait/PATO:00098765
traitName:
description: |-
The human readable name of a trait
<br/>MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation
type: string
example: Height
traitPUI:
description: The Permanent Unique Identifier of a Trait, usually in the form of a URI
type: string
example: http://my-traits.com/trait/CO_123:0000012
traitClass:
description: |-
A classification to describe the type of trait and the context it should be considered in.
<br/> examples- "morphological", "phenological", "agronomical", "physiological", "abiotic stress", "biotic stress", "biochemical", "quality traits", "fertility", etc.
type: string
example: phenological
traitDescription:
description: The description of a trait
type: string
example: The height of the plant