-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements Technical Metadata. Fixes #16
- Loading branch information
1 parent
0e62250
commit edeb25d
Showing
6 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
require 'rdf' | ||
module EBUCoreVocabularies | ||
class EBUCoreTerms < RDF::StrictVocabulary("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#") | ||
# Property definitions | ||
property :filename, | ||
comment: ["The name of the file containing the Resource.".freeze], | ||
domain: "ebucore:Resource".freeze, | ||
range: "xsd:string".freeze, | ||
label: "File Name".freeze | ||
|
||
property :fileSize, | ||
comment: ["Size of a MediaResource in bytes.".freeze], | ||
domain: "ebucore:Resource".freeze, | ||
range: "xsd:integer".freeze, | ||
label: "File Size".freeze | ||
|
||
property :dateCreated, | ||
comment: ["The date of creation of the media resource.".freeze], | ||
domain: "ebucore:Resource".freeze, | ||
range: "xsd:dateTime".freeze, | ||
label: "Date Created".freeze | ||
|
||
property :hasMimeType, | ||
comment: ["Has Mime Type.".freeze], | ||
range: "xsd:string".freeze, | ||
label: "Has Mime Type".freeze | ||
|
||
property :dateModified, | ||
comment: ["To indicate the date at which the media resource has been modified.".freeze], | ||
range: "xsd:dateTime".freeze, | ||
label: "Date Modified".freeze | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require 'rdf' | ||
module SweetjplVocabularies | ||
class SweetjplTerms < RDF::StrictVocabulary("http://sweet.jpl.nasa.gov/2.2/reprDataFormat.owl#") | ||
# Property definitions | ||
property :byteOrder, | ||
comment: ["Byte Order.".freeze], | ||
range: "xsd:string".freeze, | ||
label: "Byte Order".freeze | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
ActiveFedora::Cleaner.clean! | ||
end | ||
end | ||
end | ||
end |