adiwg-json_schemas 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.travis.yml +9 -0
  4. data/CREDITS +3 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +24 -0
  7. data/README.md +36 -0
  8. data/Rakefile +12 -0
  9. data/adiwg-json_schemas.gemspec +24 -0
  10. data/examples/adiwg_project_example_1.json +847 -0
  11. data/examples/citation.json +60 -0
  12. data/examples/contact.json +165 -0
  13. data/examples/contactRef.json +15 -0
  14. data/examples/dataQuality.json +132 -0
  15. data/examples/data_example.json +371 -0
  16. data/examples/date.json +19 -0
  17. data/examples/distributor.json +53 -0
  18. data/examples/extent_linestring.json +288 -0
  19. data/examples/extent_point.json +200 -0
  20. data/examples/extent_polygon.json +353 -0
  21. data/examples/full_example.json +1629 -0
  22. data/examples/geojson.json +253 -0
  23. data/examples/graphicOverview.json +23 -0
  24. data/examples/hierarchyLevel.json +90 -0
  25. data/examples/keywords.json +68 -0
  26. data/examples/lcc_project_example.json +245 -0
  27. data/examples/maintInfo.json +22 -0
  28. data/examples/onlineResource.json +12 -0
  29. data/examples/resolution.json +9 -0
  30. data/examples/resourceConstraints.json +25 -0
  31. data/examples/resourceInfo.json +1287 -0
  32. data/examples/resourceMaintenance.json +10 -0
  33. data/examples/taxonomy.json +98 -0
  34. data/examples/uri.json +7 -0
  35. data/examples/usage.json +23 -0
  36. data/lib/adiwg/json_schemas/utils.rb +20 -0
  37. data/lib/adiwg/json_schemas/version.rb +6 -0
  38. data/lib/adiwg/json_schemas.rb +7 -0
  39. data/lib/adiwg-json_schemas.rb +1 -0
  40. data/schema/schema/citation.json +77 -0
  41. data/schema/schema/contact.json +175 -0
  42. data/schema/schema/dataQuality.json +82 -0
  43. data/schema/schema/distributor.json +89 -0
  44. data/schema/schema/extent.json +118 -0
  45. data/schema/schema/geojson/bbox.json +10 -0
  46. data/schema/schema/geojson/crs.json +53 -0
  47. data/schema/schema/geojson/geojson.json +131 -0
  48. data/schema/schema/geojson/geometry.json +123 -0
  49. data/schema/schema/graphicOverview.json +22 -0
  50. data/schema/schema/keyword.json +37 -0
  51. data/schema/schema/maintInfo.json +26 -0
  52. data/schema/schema/metadata.json +88 -0
  53. data/schema/schema/onlineResource.json +28 -0
  54. data/schema/schema/resolution.json +29 -0
  55. data/schema/schema/resourceConstraint.json +65 -0
  56. data/schema/schema/resourceInfo.json +151 -0
  57. data/schema/schema/taxonomy.json +61 -0
  58. data/schema/schema/usage.json +23 -0
  59. data/schema/schema.json +42 -0
  60. data/templates/adiwg_metadata_template.json +585 -0
  61. data/test/tc_schemas.rb +133 -0
  62. data/test/tc_utils.rb +26 -0
  63. metadata +150 -0
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "uri": "http://arcticlcc.org",
4
+ "name": "Arctic LCC website",
5
+ "protocol": "http",
6
+ "description": "Website for the Arctic Landscape Conservation Cooperative",
7
+ "function": "information",
8
+ "doi": "10.1111/j.1365-2575.2012.00413.x"
9
+ }, {
10
+ "uri": "http://arcticlcc.org"
11
+ }
12
+ ]
@@ -0,0 +1,9 @@
1
+ [
2
+ {
3
+ "equivalentScale": 45000
4
+ }, {
5
+ "distance": 45,
6
+ "uom": "kilometers"
7
+ }
8
+ ]
9
+
@@ -0,0 +1,25 @@
1
+ [
2
+ {
3
+ "accessConstraint": ["patentPending", "restricted"],
4
+ "useConstraint": ["restricted"],
5
+ "otherConstraint": ["Legally barred from use for navigation."]
6
+ }, {
7
+ "accessConstraint": ["otherRestrictions"],
8
+ "useConstraint": ["otherRestrictions"],
9
+ "otherConstraint": ["Access Constraint: No one else. Use Constraint: None"]
10
+ }, {
11
+ "accessConstraint": ["copyright", "patent", "patentPending", "trademark", "license", "intellectualPropertyRights", "restricted", "otherRestrictions"]
12
+ }
13
+ , {
14
+ "classification": "unclassified",
15
+ "userNote": "security clearance not required",
16
+ "classificationSystem": "none",
17
+ "handlingDescription": "this is how to handle things..."
18
+ }, {
19
+ "classification": "intellectualPropertyRights"
20
+ }, {
21
+ "classification": "secret",
22
+ "userNote": "shhhhh"
23
+ },
24
+ ["not for suitable for navigation", "draft version", "not intended for general use", "don't be a jerk"]
25
+ ]