adiwg-json_schemas 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.travis.yml +9 -0
- data/CREDITS +3 -0
- data/Gemfile +4 -0
- data/LICENSE +24 -0
- data/README.md +36 -0
- data/Rakefile +12 -0
- data/adiwg-json_schemas.gemspec +24 -0
- data/examples/adiwg_project_example_1.json +847 -0
- data/examples/citation.json +60 -0
- data/examples/contact.json +165 -0
- data/examples/contactRef.json +15 -0
- data/examples/dataQuality.json +132 -0
- data/examples/data_example.json +371 -0
- data/examples/date.json +19 -0
- data/examples/distributor.json +53 -0
- data/examples/extent_linestring.json +288 -0
- data/examples/extent_point.json +200 -0
- data/examples/extent_polygon.json +353 -0
- data/examples/full_example.json +1629 -0
- data/examples/geojson.json +253 -0
- data/examples/graphicOverview.json +23 -0
- data/examples/hierarchyLevel.json +90 -0
- data/examples/keywords.json +68 -0
- data/examples/lcc_project_example.json +245 -0
- data/examples/maintInfo.json +22 -0
- data/examples/onlineResource.json +12 -0
- data/examples/resolution.json +9 -0
- data/examples/resourceConstraints.json +25 -0
- data/examples/resourceInfo.json +1287 -0
- data/examples/resourceMaintenance.json +10 -0
- data/examples/taxonomy.json +98 -0
- data/examples/uri.json +7 -0
- data/examples/usage.json +23 -0
- data/lib/adiwg/json_schemas/utils.rb +20 -0
- data/lib/adiwg/json_schemas/version.rb +6 -0
- data/lib/adiwg/json_schemas.rb +7 -0
- data/lib/adiwg-json_schemas.rb +1 -0
- data/schema/schema/citation.json +77 -0
- data/schema/schema/contact.json +175 -0
- data/schema/schema/dataQuality.json +82 -0
- data/schema/schema/distributor.json +89 -0
- data/schema/schema/extent.json +118 -0
- data/schema/schema/geojson/bbox.json +10 -0
- data/schema/schema/geojson/crs.json +53 -0
- data/schema/schema/geojson/geojson.json +131 -0
- data/schema/schema/geojson/geometry.json +123 -0
- data/schema/schema/graphicOverview.json +22 -0
- data/schema/schema/keyword.json +37 -0
- data/schema/schema/maintInfo.json +26 -0
- data/schema/schema/metadata.json +88 -0
- data/schema/schema/onlineResource.json +28 -0
- data/schema/schema/resolution.json +29 -0
- data/schema/schema/resourceConstraint.json +65 -0
- data/schema/schema/resourceInfo.json +151 -0
- data/schema/schema/taxonomy.json +61 -0
- data/schema/schema/usage.json +23 -0
- data/schema/schema.json +42 -0
- data/templates/adiwg_metadata_template.json +585 -0
- data/test/tc_schemas.rb +133 -0
- data/test/tc_utils.rb +26 -0
- metadata +150 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: eacd7a3ef6abf6b46a339edf0775818b497c7090
|
4
|
+
data.tar.gz: 477590236235d22b477c8def763c5a4aaac321dd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5df640226835711bbf0c7e6ced4300b15679899b9fc597372686518664f9fa08c8b97368852c5ac110f846fd20670026abffb35becf3c750faaec36499441555
|
7
|
+
data.tar.gz: 4898ac16f50e35bfa166416324047e0fda35df0a7e099b417fb033659efab4223408fd7114f5b4aa0bb283f20a183aa8d1f7c6eaea6f47fb51e0f99f01a04d30
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CREDITS
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
This is free and unencumbered software released into the public domain.
|
2
|
+
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
4
|
+
distribute this software, either in source code form or as a compiled
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
6
|
+
means.
|
7
|
+
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
9
|
+
of this software dedicate any and all copyright interest in the
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
11
|
+
of the public at large and to the detriment of our heirs and
|
12
|
+
successors. We intend this dedication to be an overt act of
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
14
|
+
software under copyright law.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
24
|
+
For more information, please refer to <http://unlicense.org>
|
data/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/adiwg/adiwg-json-schemas.svg?branch=master)](https://travis-ci.org/adiwg/adiwg-json-schemas)
|
2
|
+
|
3
|
+
# adiwg-json-schemas
|
4
|
+
|
5
|
+
|
6
|
+
JSON schemas for the ADIwg project and data metadata standard
|
7
|
+
|
8
|
+
## Ruby Gem
|
9
|
+
|
10
|
+
TODO: Write a gem description
|
11
|
+
|
12
|
+
### Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
gem 'adiwg-json_schemas'
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install adiwg-json_schemas
|
25
|
+
|
26
|
+
### Usage
|
27
|
+
|
28
|
+
TODO: Write usage instructions here
|
29
|
+
|
30
|
+
## Contributing
|
31
|
+
|
32
|
+
1. Fork it
|
33
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
34
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
35
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
36
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'adiwg/json_schemas/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "adiwg-json_schemas"
|
8
|
+
spec.version = ADIWG::JsonSchemas::VERSION
|
9
|
+
spec.authors = ["Josh Bradley, Stan Smith"]
|
10
|
+
spec.email = ["jbradley@arcticlcc.org"]
|
11
|
+
spec.description = %q{JSON schemas for validating according to the the ADIwg project and data metadata standard. The schemas comply JSON Schema draft version 4.}
|
12
|
+
spec.summary = %q{JSON schemas for the ADIwg metadata standard}
|
13
|
+
spec.homepage = "https://github.com/adiwg/adiwg-json-schemas"
|
14
|
+
spec.license = "UNLICENSE"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features|)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "json-schema"
|
24
|
+
end
|