Sha256: 16704dc7d07dae574f45e3fb4842f20443ad301dd8de915b454af7dc1fe51b72

Contents?: true

Size: 1006 Bytes

Versions: 6

Compression:

Stored size: 1006 Bytes

Contents

module GeoWorks
  class BasicGeoMetadataRequired < ActiveTriples::Schema
    #
    # The following properties are inherited from Curation Concerns' metadata
    #
    # @see https://github.com/projecthydra/hyrax/blob/v1.6.0/app/models/concerns/hyrax/required_metadata.rb
    # Required:
    #   :title
    #   :date_uploaded (DC.dateSubmitted)
    #   :date_modified (DC.modified)
    #

    # Defines the bounding box for the layer.
    # We always assert units of decimal degrees and EPSG:4326 projection.
    # @see http://dublincore.org/documents/dcmi-box/
    # @example
    #   vector.coverage = 'northlimit=43.039; eastlimit=-69.856; southlimit=42.943; westlimit=-71.032; units=degrees; projection=EPSG:4326'
    property :coverage, predicate: ::RDF::Vocab::DC11.coverage, multiple: false

    # Defines the institution which holds the layer
    # @example
    #   raster.provenance = 'Stanford University'
    property :provenance, predicate: ::RDF::Vocab::DC.provenance, multiple: false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
geo_works-0.2.0 app/schemas/geo_works/basic_geo_metadata_required.rb
geo_works-0.1.4 app/schemas/geo_works/basic_geo_metadata_required.rb
geo_works-0.1.3 app/schemas/geo_works/basic_geo_metadata_required.rb
geo_works-0.1.2 app/schemas/geo_works/basic_geo_metadata_required.rb
geo_works-0.1.1 app/schemas/geo_works/basic_geo_metadata_required.rb
geo_works-0.1.0 app/schemas/geo_works/basic_geo_metadata_required.rb