@@ -51,50 +51,50 @@ You can add a custom table to the data package to store additional information.
5151
5252``` json
5353{
54- "name" : " deployment-measurements" ,
55- "title" : " Deployment measurements" ,
56- "description" : " Table with weather measurements for deployments. Associated with deployments (`deploymentID`)." ,
57- "fields" : [
58- {
59- "name" : " deploymentID" ,
60- "description" : " Identifier of the deployment. Foreign key to `deployments.deploymentID`." ,
61- "skos:broadMatch" : " http://rs.tdwg.org/dwc/terms/parentEventID" ,
62- "type" : " string" ,
63- "constraints" : {
64- "required" : true
65- },
66- "example" : " dep1"
67- },
68- {
69- "name" : " temperature" ,
70- "description" : " Temperature (in Celsius) at the time of the observation.)" ,
71- "type" : " number" ,
72- "constraints" : {
73- "required" : false ,
74- "minimum" : -50 ,
75- "maximum" : 100
76- },
77- "example" : 19.5
78- },
79- {
80- "name" : " snowCover" ,
81- "description" : " Snow cover present at the time of the observation." ,
82- "type" : " boolean" ,
83- "constraints" : {
84- "required" : false
85- },
86- "example" : true
87- }
88- ],
89- "foreignKeys" : [
90- {
91- "fields" : " deploymentID" ,
92- "reference" : {
93- "resource" : " deployments" ,
94- "fields" : " deploymentID"
95- }
96- }
97- ]
54+ "name" : " deployment-measurements" ,
55+ "title" : " Deployment measurements" ,
56+ "description" : " Table with weather measurements for deployments. Associated with deployments (`deploymentID`)." ,
57+ "fields" : [
58+ {
59+ "name" : " deploymentID" ,
60+ "description" : " Identifier of the deployment. Foreign key to `deployments.deploymentID`." ,
61+ "skos:broadMatch" : " http://rs.tdwg.org/dwc/terms/parentEventID" ,
62+ "type" : " string" ,
63+ "constraints" : {
64+ "required" : true
65+ },
66+ "example" : " dep1"
67+ },
68+ {
69+ "name" : " temperature" ,
70+ "description" : " Temperature (in Celsius) at the time of the observation.)" ,
71+ "type" : " number" ,
72+ "constraints" : {
73+ "required" : false ,
74+ "minimum" : -50 ,
75+ "maximum" : 100
76+ },
77+ "example" : 19.5
78+ },
79+ {
80+ "name" : " snowCover" ,
81+ "description" : " Snow cover present at the time of the observation." ,
82+ "type" : " boolean" ,
83+ "constraints" : {
84+ "required" : false
85+ },
86+ "example" : true
87+ }
88+ ],
89+ "foreignKeys" : [
90+ {
91+ "fields" : " deploymentID" ,
92+ "reference" : {
93+ "resource" : " deployments" ,
94+ "fields" : " deploymentID"
95+ }
96+ }
97+ ]
9898}
9999```
100100
0 commit comments