Sha256: 68e201bd8452244788c42e708c02c0c6d19ff583e5a557e235cc387a22579871

Contents?: true

Size: 1.2 KB

Versions: 9

Compression:

Stored size: 1.2 KB

Contents

module GeoConcerns
  class BasicGeoMetadataOptional < ActiveTriples::Schema
    #
    # The following properties are inherited from Curation Concerns' metadata
    #
    # @see https://github.com/projecthydra/curation_concerns/blob/v1.6.0/app/models/concerns/curation_concerns/basic_metadata.rb
    # Optional:
    #   :contributor
    #   :creator
    #   :date_created (DC.created)
    #   :description
    #   :identifier
    #   :language
    #   :part_of
    #   :publisher
    #   :resource_type (DC.type)
    #   :rights (license)
    #   :rights
    #   :source
    #   :subject
    #   :tag (DC11.relation)
    #

    # Defines the placenames related to the layer
    # @example
    #   image.spatial = [ 'France', 'Spain' ]
    property :spatial, predicate: ::RDF::Vocab::DC.spatial

    # Defines the temporal coverage of the layer
    # @example
    #   vector.temporal = [ '1998-2006', 'circa 2000' ]
    property :temporal, predicate: ::RDF::Vocab::DC.temporal

    # Defines the issued date for the layer, using XML Schema dateTime format
    #   (YYYY-MM-DDThh:mm:ssZ).
    # @example
    #   vector.issued = '2001-01-01T00:00:00Z'
    property :issued, predicate: ::RDF::Vocab::DC.issued, multiple: false
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
geo_concerns-0.3.4 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.3.3 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.3.2 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.3.1 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.3.0 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.2.0 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.1.1 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.1.0 app/schemas/geo_concerns/basic_geo_metadata_optional.rb
geo_concerns-0.0.10 app/schemas/geo_concerns/basic_geo_metadata_optional.rb