Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions Specification/BrAPI-Schema/BrAPI-Common/Variable.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"type": [
"null",
"string"
]
],
"example": "Maize"
},
"contextOfUse": {
"description": "Indication of how trait is routinely used. (examples: [\"Trial evaluation\", \"Nursery evaluation\"])",
Expand All @@ -22,22 +23,25 @@
"type": [
"null",
"array"
]
],
"example": ["Trial evaluation", "Nursery evaluation"]
},
"defaultValue": {
"description": "Variable default value. (examples: \"red\", \"2.3\", etc.)",
"type": [
"null",
"string"
]
],
"example": "2.0"
},
"documentationURL": {
"description": "A URL to the human readable documentation of an object",
"format": "uri",
"type": [
"null",
"string"
]
],
"example": "https://wiki.brapi.org/documentation.html"
},
"externalReferences": {
"description": "An array of external reference ids. These are references to this piece of data in an external system. Could be a simple string or a URI.",
Expand All @@ -57,21 +61,24 @@
"type": [
"null",
"string"
]
],
"example": "flowering"
},
"institution": {
"description": "Name of institution submitting the variable",
"type": [
"null",
"string"
]
],
"example": "The BrAPI Institute"
},
"language": {
"description": "2 letter ISO 639-1 code for the language of submission of the variable.",
"type": [
"null",
"string"
]
],
"example": "en"
},
"method": {
"description": "A description of the way an Observation should be collected. \n<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 Method \"estimation\" or \"drone image processing\". ",
Expand All @@ -93,14 +100,16 @@
"type": [
"null",
"string"
]
],
"example": "Dr. Bob Robertson"
},
"status": {
"description": "Variable status. (examples: \"recommended\", \"obsolete\", \"legacy\", etc.)",
"type": [
"null",
"string"
]
],
"example": "recommended"
},
"submissionTimestamp": {
"description": "Timestamp when the Variable was added (ISO 8601)",
Expand All @@ -118,7 +127,8 @@
"type": [
"null",
"array"
]
],
"example": ["Maize Height", "Stalk Height", "Corn Height"]
},
"trait": {
"description": "A Trait describes what property is being observed. \n<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\". ",
Expand Down
18 changes: 12 additions & 6 deletions Specification/BrAPI-Schema/BrAPI-Core/List.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"type": [
"null",
"array"
]
],
"example": ["758a78c0", "2c78f9ee"]
},
"dateCreated": {
"description": "Timestamp when the entity was first created",
Expand Down Expand Up @@ -56,18 +57,21 @@
"type": [
"null",
"string"
]
],
"example": "This is a list of germplasm I would like to investigate next season"
},
"listName": {
"description": "Human readable name of a List",
"type": "string"
"type": "string",
"example": "MyGermplasm_Sept_2020"
},
"listOwnerName": {
"description": "Human readable name of a List Owner. (usually a user or person)",
"type": [
"null",
"string"
]
],
"example": "Bob Robertson"
},
"listOwnerPerson": {
"$ref": "Person.json#/$defs/Person",
Expand All @@ -80,14 +84,16 @@
"type": [
"null",
"integer"
]
],
"example": 53
},
"listSource": {
"description": "The description of where a List originated from",
"type": [
"null",
"string"
]
],
"example": "GeneBank Repository 1.3"
},
"listType": {
"description": "A flag to indicate the type of objects that are referenced in a List",
Expand Down
48 changes: 32 additions & 16 deletions Specification/BrAPI-Schema/BrAPI-Core/Location.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"type": [
"null",
"string"
]
],
"example": "L1"
},
"additionalInfo": {
"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.",
Expand All @@ -19,14 +20,16 @@
"type": [
"null",
"string"
]
],
"example": "North East corner of greenhouse"
},
"coordinateUncertainty": {
"description": "Uncertainty associated with the coordinates in meters. Leave the value empty if the uncertainty is unknown.",
"type": [
"null",
"string"
]
],
"example": "20"
},
"coordinates": {
"description": "One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.\n\nCopied from RFC 7946 Section 3.1.1\n\nA position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.",
Expand All @@ -38,36 +41,41 @@
"type": [
"null",
"string"
]
],
"example": "PER"
},
"countryName": {
"description": "The full name of the country where a Location is located\n<br/> MIAPPE V1.1 (DM-17) Geographic location (country) - The country where the experiment took place, either as a full name or preferably as a 2-letter code.",
"type": [
"null",
"string"
]
],
"example": "Peru"
},
"documentationURL": {
"description": "A URL to the human readable documentation of an object",
"format": "uri",
"type": [
"null",
"string"
]
],
"example": "https://brapi.org"
},
"environmentType": {
"description": "Describes the general type of environment of a Location. (ex. forest, field, nursery, etc)",
"type": [
"null",
"string"
]
],
"example": "Nursery"
},
"exposure": {
"description": "Describes the level of protection/exposure for things like sun light and wind at a particular Location",
"type": [
"null",
"string"
]
],
"example": "Structure, no exposure"
},
"externalReferences": {
"description": "An array of external reference ids. These are references to this piece of data in an external system. Could be a simple string or a URI.",
Expand All @@ -87,29 +95,34 @@
"type": [
"null",
"string"
]
],
"example": "71 Pilgrim Avenue Chevy Chase MD 20815"
},
"instituteName": {
"description": "The full name of the institute at a particular Location\n<br/> MIAPPE V1.1 (DM-16) Contact institution - Name and address of the institution responsible for the study.",
"type": [
"null",
"string"
]
],
"example": "Plant Science Institute"
},
"locationDbId": {
"description": "The unique identifier for a Location",
"type": "string"
"type": "string",
"example": "3cfdd67d"
},
"locationName": {
"description": "A human readable name for a Location\n<br/> MIAPPE V1.1 (DM-18) Experimental site name - The name of the natural site, experimental field, greenhouse, phenotyping facility, etc. where the experiment took place.",
"type": "string"
"type": "string",
"example": "Location 1"
},
"locationType": {
"description": "A short description of a type of Location (ex. Field Station, Breeding Location, Storage Location, etc)",
"type": [
"null",
"string"
]
],
"example": "Field Station"
},
"parentLocation": {
"$ref": "Location.json#/$defs/Location",
Expand Down Expand Up @@ -150,21 +163,24 @@
"type": [
"null",
"string"
]
],
"example": "Private"
},
"slope": {
"description": "Describes the approximate slope (height/distance) of a Location.",
"type": [
"null",
"string"
]
],
"example": "0"
},
"topography": {
"description": "Describes the topography of the land at a Location. (ex. Plateau, Cirque, Hill, Valley, etc)",
"type": [
"null",
"string"
]
],
"example": "Valley"
},
"seedLots": {
"title": "SeedLots",
Expand Down
27 changes: 18 additions & 9 deletions Specification/BrAPI-Schema/BrAPI-Core/Person.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
"type": [
"null",
"string"
]
],
"example": "Bob likes pina coladas and getting caught in the rain."
},
"emailAddress": {
"description": "email address for this person",
"type": [
"null",
"string"
]
],
"example": "bob@bob.com"
},
"externalReferences": {
"description": "An array of external reference ids. These are references to this piece of data in an external system. Could be a simple string or a URI.",
Expand All @@ -39,46 +41,53 @@
"type": [
"null",
"string"
]
],
"example": "Bob"
},
"lastName": {
"description": "Persons last name",
"type": [
"null",
"string"
]
],
"example": "Robertson"
},
"mailingAddress": {
"description": "physical address of this person",
"type": [
"null",
"string"
]
],
"example": "123 Street Ave, City, State, Country"
},
"middleName": {
"description": "Persons middle name",
"type": [
"null",
"string"
]
],
"example": "Danger"
},
"personDbId": {
"description": "Unique ID for a person",
"type": "string"
"type": "string",
"example": "14340a54"
},
"phoneNumber": {
"description": "phone number of this person",
"type": [
"null",
"string"
]
],
"example": "+1-555-555-5555"
},
"userID": {
"description": "A systems user ID associated with this person. Different from personDbId because you could have a person who is not a user of the system.",
"type": [
"null",
"string"
]
],
"example": "bob-23"
},
"lists": {
"title": "Lists",
Expand Down
Loading