rdf-vocab 3.2.0 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -7
  3. data/VERSION +1 -1
  4. data/lib/rdf/vocab/acl.rb +91 -89
  5. data/lib/rdf/vocab/as.rb +624 -622
  6. data/lib/rdf/vocab/bf2.rb +2241 -2239
  7. data/lib/rdf/vocab/bibframe.rb +2241 -2239
  8. data/lib/rdf/vocab/bibo.rb +943 -941
  9. data/lib/rdf/vocab/cc.rb +102 -100
  10. data/lib/rdf/vocab/cert.rb +107 -105
  11. data/lib/rdf/vocab/cnt.rb +92 -90
  12. data/lib/rdf/vocab/crm.rb +1793 -1791
  13. data/lib/rdf/vocab/datacite.rb +261 -263
  14. data/lib/rdf/vocab/dbo.rb +4719 -4347
  15. data/lib/rdf/vocab/dc.rb +665 -663
  16. data/lib/rdf/vocab/dc11.rb +109 -107
  17. data/lib/rdf/vocab/dcat.rb +373 -356
  18. data/lib/rdf/vocab/dcmitype.rb +91 -89
  19. data/lib/rdf/vocab/disco.rb +348 -346
  20. data/lib/rdf/vocab/doap.rb +304 -302
  21. data/lib/rdf/vocab/dwc.rb +2244 -2242
  22. data/lib/rdf/vocab/earl.rb +146 -144
  23. data/lib/rdf/vocab/ebucore.rb +4945 -4941
  24. data/lib/rdf/vocab/edm.rb +310 -308
  25. data/lib/rdf/vocab/exif.rb +777 -775
  26. data/lib/rdf/vocab/extensions.rb +2 -2
  27. data/lib/rdf/vocab/fcrepo4.rb +307 -305
  28. data/lib/rdf/vocab/foaf.rb +525 -523
  29. data/lib/rdf/vocab/geo.rb +34 -32
  30. data/lib/rdf/vocab/geojson.rb +66 -64
  31. data/lib/rdf/vocab/geonames.rb +3656 -3654
  32. data/lib/rdf/vocab/gr.rb +1204 -1202
  33. data/lib/rdf/vocab/gs1.rb +5881 -5879
  34. data/lib/rdf/vocab/ht.rb +194 -192
  35. data/lib/rdf/vocab/hydra.rb +439 -437
  36. data/lib/rdf/vocab/iana.rb +215 -213
  37. data/lib/rdf/vocab/ical.rb +726 -724
  38. data/lib/rdf/vocab/identifiers.rb +501 -227
  39. data/lib/rdf/vocab/iiif.rb +132 -130
  40. data/lib/rdf/vocab/jsonld.rb +205 -203
  41. data/lib/rdf/vocab/ldp.rb +193 -191
  42. data/lib/rdf/vocab/lrmi.rb +188 -186
  43. data/lib/rdf/vocab/ma.rb +318 -316
  44. data/lib/rdf/vocab/mads.rb +670 -668
  45. data/lib/rdf/vocab/marcrelators.rb +563 -541
  46. data/lib/rdf/vocab/mo.rb +1823 -1821
  47. data/lib/rdf/vocab/mods.rb +636 -634
  48. data/lib/rdf/vocab/nfo.rb +482 -480
  49. data/lib/rdf/vocab/oa.rb +333 -331
  50. data/lib/rdf/vocab/og.rb +198 -196
  51. data/lib/rdf/vocab/ogc.rb +43 -41
  52. data/lib/rdf/vocab/ore.rb +79 -77
  53. data/lib/rdf/vocab/org.rb +322 -320
  54. data/lib/rdf/vocab/pcdm.rb +73 -71
  55. data/lib/rdf/vocab/pplan.rb +97 -95
  56. data/lib/rdf/vocab/premis.rb +903 -901
  57. data/lib/rdf/vocab/premiseventtype.rb +143 -141
  58. data/lib/rdf/vocab/prov.rb +1360 -1358
  59. data/lib/rdf/vocab/ptr.rb +147 -145
  60. data/lib/rdf/vocab/rdau.rb +9464 -9438
  61. data/lib/rdf/vocab/rightsstatements.rb +123 -121
  62. data/lib/rdf/vocab/rsa.rb +44 -42
  63. data/lib/rdf/vocab/rss.rb +46 -44
  64. data/lib/rdf/vocab/schema.rb +14900 -14698
  65. data/lib/rdf/vocab/schemas.rb +14900 -14698
  66. data/lib/rdf/vocab/sd.rb +165 -163
  67. data/lib/rdf/vocab/sh.rb +1096 -1094
  68. data/lib/rdf/vocab/sioc.rb +615 -613
  69. data/lib/rdf/vocab/siocservices.rb +49 -47
  70. data/lib/rdf/vocab/sioctypes.rb +224 -222
  71. data/lib/rdf/vocab/skos.rb +202 -200
  72. data/lib/rdf/vocab/skosxl.rb +51 -49
  73. data/lib/rdf/vocab/v.rb +233 -231
  74. data/lib/rdf/vocab/vcard.rb +776 -774
  75. data/lib/rdf/vocab/vmd.rb +233 -231
  76. data/lib/rdf/vocab/void.rb +145 -143
  77. data/lib/rdf/vocab/vs.rb +27 -25
  78. data/lib/rdf/vocab/wdrs.rb +112 -110
  79. data/lib/rdf/vocab/wot.rb +63 -142
  80. data/lib/rdf/vocab/xhtml.rb +4 -2
  81. data/lib/rdf/vocab/xhv.rb +208 -206
  82. data/lib/rdf/vocab/xkos.rb +220 -218
  83. data/lib/rdf/vocab.rb +2 -0
  84. metadata +23 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5904e409121e21a99f5c745f88d01c502c39da4d216a487e038726fb27a02357
4
- data.tar.gz: db4a41e5ebc8e1aba5ae66e690d32f51d6873da741d1a12f1af4491b73ba8e0d
3
+ metadata.gz: 3b0ca03763ca27da75915de8dd336ddd7689cc871edf7df24f8bcd140a6838e2
4
+ data.tar.gz: a22b9a98b3e8debb2772be278efe94bbbae1f0d44d1f98a472c28b12d5304133
5
5
  SHA512:
6
- metadata.gz: 5cade1f927c871f089ca4ff9fe165354699e9e944e14233330e66889bb0bb92b769ddb75555a5154d121b5507ee7ec8872947a8d71b5b8cde7e81e0a3fcecc78
7
- data.tar.gz: b2bc9818043bbe998afed080de2cb41726a0a53e4d80a0bf7fff42d8b39f38da08804de5e4dffd719289c503eadc15fbf9a597f66acf1226fd6aae9eb4d22c5c
6
+ metadata.gz: c2d11d7cbbba7d2fc0f8c46fc849fac5ca71f319afb2db87bc341f10882599c24d6d6a034108a136aa84a841a751dddc19ad77e47fae7e509b2defeaa7df172c
7
+ data.tar.gz: 2f123c058487eb7f40aa8ca64df61e2c8d173f684150c310df9ebdb1fa84d24f702e24d761668151c6e9be3e064d5b0c4b649d22a784c8ee771a10fba46890e7
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # rdf-vocab
2
2
  Common OWL/RDFS Vocabularies for use with Ruby [RDF.rb][]
3
3
 
4
- [TriG][] reader/writer for [RDF.rb][RDF.rb] .
5
-
6
4
  [![Gem Version](https://badge.fury.io/rb/rdf-vocab.png)](https://badge.fury.io/rb/rdf-vocab)
7
5
  [![Build Status](https://github.com/ruby-rdf/rdf-vocab/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-vocab/actions?query=workflow%3ACI)
8
6
  [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-vocab/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-vocab?branch=develop)
@@ -40,7 +38,7 @@ will limit the vocabularies which are returned from `RDF::Vocabulary.each`, whic
40
38
  * RDF::Vocab::DISCO - [DDI-RDF Discovery Vocabulary](http://rdf-vocabulary.ddialliance.org/discovery#) (DDI)
41
39
  * RDF::Vocab::DOAP - [Description of a Project (DOAP) vocabulary](https://github.com/edumbill/doap/wiki)
42
40
  * RDF::Vocab::DWC - [Darwin Core](http://rs.tdwg.org/dwc/terms/)
43
- * RDF::Vocab::EARL - [Evaluation and Report Language (EARL) 1.0 Schema](<http://www.w3.org/ns/earl#) (W3C)
41
+ * RDF::Vocab::EARL - [Evaluation and Report Language (EARL) 1.0 Schema](http://www.w3.org/ns/earl#) (W3C)
44
42
  * RDF::Vocab::EBUCore - [EBUCore](http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#)
45
43
  * RDF::Vocab::EDM - [Europeana Data Model (EDM)](https://pro.europeana.eu/page/edm-documentation)
46
44
  * RDF::Vocab::EXIF - [Exif vocabulary workspace](http://www.w3.org/2003/12/exif/) (W3C)
@@ -121,14 +119,71 @@ Also adds the `gen-vocab` command to the `rdf` command-line executable to genera
121
119
 
122
120
  ## Adding new vocabularies
123
121
 
124
- * First, add an entry to `lib/rdf/vocab.rb`, the key names contained within
125
- for guidance. For more information, see the documentation on
126
- [RDF::Vocabulary](https://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Vocabulary).
122
+ Vocabularies should only be added to this gem if they are widely used. An equivalent process can be used to add a vocabulary to an arbitrary Ruby application or gem if it is more application specific.
123
+
124
+ New vocabularies should be generated via a pull request after cloning from GitHub. Be sure to use a custom branch name before creating the PR.
125
+
126
+ * First, add an entry to `lib/rdf/vocab.rb`, the key is used to identify the vocabulary, and as the default basis for the prefix label to use for the vocabulary. The key names of the object value come from the following:
127
+ <dl>
128
+ <dt>uri (required)</dt>
129
+ <dd>The namespace URI for the vocabulary.</dd>
130
+ <dt>module_name (default RDF::Vocab)</dt>
131
+ <dd>The Ruby module in which the vocabulary class is created.</dd>
132
+ <dt>class_name (default from uppercase of the vocabulary identity)</dt>
133
+ <dd>The class name of the vocabulary</dd>
134
+ <dt>source (default from uri)</dt>
135
+ <dd>The source used to fetch the RDF vocabulary definition (most formats supported). Defaults to the vocabulary uri.</dd>
136
+ <dt>strict (default false)</dt>
137
+ <dd>Creates a _strict_ vocabulary, so that attempts to use undefined terms in the vocabulary namespace become errors.</dd>
138
+ <dt>alias (Internal only)</dt>
139
+ <dd>Indicates that this is an alias for a vocabulary defined directly in the RDF namespace.</dd>
140
+ <dt>skip</dt>
141
+ <dd>Do not process this vocabulary, typically when the vocabulary source is inaccessible.</dd>
142
+ <dt>patch</dt>
143
+ <dd>The value is taken as a string formatted as an <a href="http://www.w3.org/TR/ldpatch/">LD Patch</a> used to correct issues in the vocabulary source that may show up when the vocabulary is validated.</dd>
144
+ <dt>extra</dt>
145
+ <dd>Value is a JSON Object which is added to the resulting vocabulary definition.</dd>
146
+ </dl>
147
+
148
+ For more information, see the documentation on
149
+ [RDF::Vocabulary](https://ruby-rdf.github.io/rdf/RDF/Vocabulary).
127
150
  * Next, create an empty file in `lib/rdf/vocab` based on the key name for
128
151
  your vocabulary. For example, if you've added the vocabulary `:foo`, create a
129
152
  new empty file at `lib/rdf/vocab/foo.rb`.
153
+ * Create an entry in the README to document the availability of the library within this gem.
130
154
  * Run `rake gen_vocabs`.
131
155
 
156
+ After the PR is merged, it will be available in the `develop` branch until the next library release.
157
+
158
+ ### Example vocabulary definition
159
+
160
+ The following definition is for the EARL vocabulary, which uses the `patch` capability to address inherent problems in the vocabulary definition.
161
+
162
+ earl: {
163
+ uri: "http://www.w3.org/ns/earl#",
164
+ source: "http://www.w3.org/ns/earl",
165
+ patch: %{
166
+ @prefix earl: <http://www.w3.org/ns/earl#>.
167
+ @prefix owl: <http://www.w3.org/2002/07/owl#>.
168
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
169
+
170
+ AddNew {
171
+ # Extends EARL to talk about collections of assertions
172
+ earl:Report a rdfs:Class, owl:Class ;
173
+ rdfs:label "Report" ;
174
+ rdfs:comment "A collection of earl:Assertion" .
175
+ earl:assertion a owl:ObjectProperty, rdfs:Property ;
176
+ rdfs:label "assertion" ;
177
+ rdfs:comment "Test Assertions associated with an earl:Report or earl:TestCase" ;
178
+ rdfs:domain [
179
+ a owl:Class ;
180
+ owl:unionOf (earl:Report earl:TestCase)
181
+ ] ;
182
+ rdfs:range earl:Assertion .
183
+ } .
184
+ }
185
+ }
186
+
132
187
  ## Authors
133
188
 
134
189
  * [David Chandek-Stark](https://github.com/dchandekstark)
@@ -159,7 +214,8 @@ This is free and unencumbered public domain software. For more information,
159
214
  see <https://unlicense.org/> or the accompanying {file:LICENSE} file.
160
215
 
161
216
  [RDF]: https://www.w3.org/RDF/
162
- [RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf
217
+ [RDF.rb]: https://ruby-rdf.github.io/rdf
163
218
  [YARD]: https://yardoc.org/
164
219
  [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
165
220
  [PDD]: https://unlicense.org/#unlicensing-contributions
221
+ [LD Patch]: http://www.w3.org/TR/ldpatch/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ 3.2.2
data/lib/rdf/vocab/acl.rb CHANGED
@@ -3,122 +3,124 @@
3
3
  # This file generated automatically using rdf vocabulary format from http://www.w3.org/ns/auth/acl#
4
4
  require 'rdf'
5
5
  module RDF::Vocab
6
+ # Vocabulary for <http://www.w3.org/ns/auth/acl#>
7
+ # @!visibility private
6
8
  ACL = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/auth/acl#")) do
7
9
 
8
10
  # Ontology definition
9
11
  ontology :"http://www.w3.org/ns/auth/acl#",
10
- comment: "Defines the class Authorization and its essential properties,\n and also some classes of access such as read and write. ".freeze,
11
- "http://purl.org/dc/elements/1.1/title": "Basic Access Control ontology".freeze
12
+ comment: "Defines the class Authorization and its essential properties,\n and also some classes of access such as read and write. ",
13
+ "http://purl.org/dc/elements/1.1/title": "Basic Access Control ontology"
12
14
 
13
15
  # Class definitions
14
16
  term :Access,
15
- comment: "Any kind of access to a resource. Don't use this, use R W and RW".freeze,
16
- label: "access".freeze,
17
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
17
+ comment: "Any kind of access to a resource. Don't use this, use R W and RW",
18
+ label: {en: "access"},
19
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
18
20
  term :Append,
19
- comment: "Append accesses are specific write access which only add information, and do not remove information.\n For text files, for example, append access allows bytes to be added onto the end of the file.\n For RDF graphs, Append access allows adds triples to the graph but does not remove any.\n Append access is useful for dropbox functionality.\n Dropbox can be used for link notification, which the information added is a notification\n that a some link has been made elsewhere relevant to the given resource.\n ".freeze,
20
- label: "append".freeze,
21
- subClassOf: ["http://www.w3.org/ns/auth/acl#Access".freeze, "http://www.w3.org/ns/auth/acl#Write".freeze],
22
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
21
+ comment: "Append accesses are specific write access which only add information, and do not remove information.\n For text files, for example, append access allows bytes to be added onto the end of the file.\n For RDF graphs, Append access allows adds triples to the graph but does not remove any.\n Append access is useful for dropbox functionality.\n Dropbox can be used for link notification, which the information added is a notification\n that a some link has been made elsewhere relevant to the given resource.\n ",
22
+ label: {en: "append"},
23
+ subClassOf: ["http://www.w3.org/ns/auth/acl#Access", "http://www.w3.org/ns/auth/acl#Write"],
24
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
23
25
  term :AuthenticatedAgent,
24
- comment: "A class of agents who have been authenticated.\nIn other words, anyone can access this resource, but not anonymously.\nThe social expectation is that the authentication process will provide an\nidentify and a name, or pseudonym.\n(A new ID should not be minted for every access: the intent is that the user\nis able to continue to use the ID for continues interactions with peers,\nand for example to develop a reputation)\n".freeze,
25
- label: "Anyone authenticated".freeze,
26
- subClassOf: "http://xmlns.com/foaf/0.1/Agent".freeze,
27
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
26
+ comment: "A class of agents who have been authenticated.\nIn other words, anyone can access this resource, but not anonymously.\nThe social expectation is that the authentication process will provide an\nidentify and a name, or pseudonym.\n(A new ID should not be minted for every access: the intent is that the user\nis able to continue to use the ID for continues interactions with peers,\nand for example to develop a reputation)\n",
27
+ label: "Anyone authenticated",
28
+ subClassOf: "http://xmlns.com/foaf/0.1/Agent",
29
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
28
30
  term :Authorization,
29
- comment: "An element of access control,\n allowing agent to agents access of some kind to resources or classes of resources".freeze,
30
- label: "authorization".freeze,
31
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
31
+ comment: "An element of access control,\n allowing agent to agents access of some kind to resources or classes of resources",
32
+ label: "authorization",
33
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
32
34
  term :Control,
33
- comment: "Allows read/write access to the ACL for the resource(s)".freeze,
34
- label: "control".freeze,
35
- subClassOf: "http://www.w3.org/ns/auth/acl#Access".freeze,
36
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
35
+ comment: "Allows read/write access to the ACL for the resource(s)",
36
+ label: {en: "control"},
37
+ subClassOf: "http://www.w3.org/ns/auth/acl#Access",
38
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
37
39
  term :Origin,
38
- comment: "An Origin is basically a web site\n (Note WITHOUT the trailing slash after the domain name and port in its URI)\n and is the basis for controlling access to data by web apps\n in the Same Origin Model of web security.\n All scripts from the same origin are given the same right.".freeze,
39
- "http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin".freeze,
40
- label: "Origin".freeze,
41
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
40
+ comment: "An Origin is basically a web site\n (Note WITHOUT the trailing slash after the domain name and port in its URI)\n and is the basis for controlling access to data by web apps\n in the Same Origin Model of web security.\n All scripts from the same origin are given the same right.",
41
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin",
42
+ label: "Origin",
43
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
42
44
  term :Read,
43
- comment: "The class of read operations".freeze,
44
- label: "read".freeze,
45
- subClassOf: "http://www.w3.org/ns/auth/acl#Access".freeze,
46
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
45
+ comment: "The class of read operations",
46
+ label: {en: "read"},
47
+ subClassOf: "http://www.w3.org/ns/auth/acl#Access",
48
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
47
49
  term :Write,
48
- label: "write".freeze,
49
- subClassOf: "http://www.w3.org/ns/auth/acl#Access".freeze,
50
- type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
50
+ label: {en: "write"},
51
+ subClassOf: "http://www.w3.org/ns/auth/acl#Access",
52
+ type: "http://www.w3.org/2000/01/rdf-schema#Class"
51
53
 
52
54
  # Property definitions
53
55
  property :accessControl,
54
- comment: "The Access Control file for this information resource.\n This may of course be a virtual resource implemented by the access control system.\n Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.".freeze,
55
- domain: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
56
- label: "access control".freeze,
57
- range: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
58
- subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#seeAlso".freeze,
59
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
56
+ comment: "The Access Control file for this information resource.\n This may of course be a virtual resource implemented by the access control system.\n Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.",
57
+ domain: "http://www.w3.org/2006/gen/ont#InformationResource",
58
+ label: "access control",
59
+ range: "http://www.w3.org/2006/gen/ont#InformationResource",
60
+ subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#seeAlso",
61
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
60
62
  property :accessTo,
61
- comment: "The information resource to which access is being granted.".freeze,
62
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
63
- label: "to".freeze,
64
- range: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
65
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
63
+ comment: "The information resource to which access is being granted.",
64
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
65
+ label: "to",
66
+ range: "http://www.w3.org/2006/gen/ont#InformationResource",
67
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
66
68
  property :accessToClass,
67
- comment: "A class of information resources to which access is being granted.".freeze,
68
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
69
- label: "to all in".freeze,
70
- range: "http://www.w3.org/2000/01/rdf-schema#Class".freeze,
71
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
69
+ comment: "A class of information resources to which access is being granted.",
70
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
71
+ label: "to all in",
72
+ range: "http://www.w3.org/2000/01/rdf-schema#Class",
73
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
72
74
  property :agent,
73
- comment: "A person or social entity to being given the right".freeze,
74
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
75
- label: "agent".freeze,
76
- range: "http://xmlns.com/foaf/0.1/Agent".freeze,
77
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
75
+ comment: "A person or social entity to being given the right",
76
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
77
+ label: "agent",
78
+ range: "http://xmlns.com/foaf/0.1/Agent",
79
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
78
80
  property :agentClass,
79
- comment: "A class of persons or social entities to being given the right".freeze,
80
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
81
- label: "agent class".freeze,
82
- range: "http://www.w3.org/2000/01/rdf-schema#Class".freeze,
83
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
81
+ comment: "A class of persons or social entities to being given the right",
82
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
83
+ label: "agent class",
84
+ range: "http://www.w3.org/2000/01/rdf-schema#Class",
85
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
84
86
  property :agentGroup,
85
- comment: "A group of persons or social entities to being given the right.\n The right is given to any entity which is a vcard:member of the group,\n as defined by the document received when the Group is dereferenced.".freeze,
86
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
87
- label: "agent group".freeze,
88
- range: "http://www.w3.org/2006/vcard/ns#Group".freeze,
89
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
87
+ comment: "A group of persons or social entities to being given the right.\n The right is given to any entity which is a vcard:member of the group,\n as defined by the document received when the Group is dereferenced.",
88
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
89
+ label: "agent group",
90
+ range: "http://www.w3.org/2006/vcard/ns#Group",
91
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
90
92
  property :default,
91
- comment: "If a resource has no ACL file (it is 404),\n then access to the resource if given by the ACL of the immediately\n containing directory, or failing that (404) the ACL of the recursively next\n containing directory which has an ACL file.\n Within that ACL file,\n any Authentication which has that directory as its acl:default applies to the\n resource. (The highest directory must have an ACL file.)\n".freeze,
92
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
93
- label: "default access for things in this".freeze,
94
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
93
+ comment: "If a resource has no ACL file (it is 404),\n then access to the resource if given by the ACL of the immediately\n containing directory, or failing that (404) the ACL of the recursively next\n containing directory which has an ACL file.\n Within that ACL file,\n any Authentication which has that directory as its acl:default applies to the\n resource. (The highest directory must have an ACL file.)\n",
94
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
95
+ label: "default access for things in this",
96
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
95
97
  property :defaultForNew,
96
- comment: "THIS IS OBSOLETE AS OF 2017-08-01. See 'default'.\n Was: A directory for which this authorization is used for new files in the directory.".freeze,
97
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
98
- label: "default access for new things in the object".freeze,
99
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
98
+ comment: "THIS IS OBSOLETE AS OF 2017-08-01. See 'default'.\n Was: A directory for which this authorization is used for new files in the directory.",
99
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
100
+ label: "default access for new things in the object",
101
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
100
102
  property :delegates,
101
- comment: "Delegates a person or another agent to act on behalf of the agent.\n For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.".freeze,
102
- label: "delegates".freeze,
103
- range: "http://xmlns.com/foaf/0.1/Agent".freeze,
104
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
103
+ comment: "Delegates a person or another agent to act on behalf of the agent.\n For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.",
104
+ label: {en: "delegates"},
105
+ range: "http://xmlns.com/foaf/0.1/Agent",
106
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
105
107
  property :mode,
106
- comment: "A mode of access such as read or write.".freeze,
107
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
108
- label: "access mode".freeze,
109
- range: "http://www.w3.org/2000/01/rdf-schema#Class".freeze,
110
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
108
+ comment: "A mode of access such as read or write.",
109
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
110
+ label: "access mode",
111
+ range: "http://www.w3.org/2000/01/rdf-schema#Class",
112
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
111
113
  property :origin,
112
- comment: "A web application, identified by its Origin, such as\n <https://scripts.example.com>, being given the right.\n When a user of the web application at a certain origin accesses the server,\n then the browser sets the Origin: header to warn that a possibly untrusted webapp\n is being used.\n Then, BOTH the user AND the origin must have the required access.".freeze,
113
- domain: "http://www.w3.org/ns/auth/acl#Authorization".freeze,
114
- "http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin".freeze,
115
- label: "origin".freeze,
116
- range: "http://www.w3.org/ns/auth/acl#Origin".freeze,
117
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
114
+ comment: "A web application, identified by its Origin, such as\n <https://scripts.example.com>, being given the right.\n When a user of the web application at a certain origin accesses the server,\n then the browser sets the Origin: header to warn that a possibly untrusted webapp\n is being used.\n Then, BOTH the user AND the origin must have the required access.",
115
+ domain: "http://www.w3.org/ns/auth/acl#Authorization",
116
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin",
117
+ label: "origin",
118
+ range: "http://www.w3.org/ns/auth/acl#Origin",
119
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
118
120
  property :owner,
119
- comment: "The person or other agent which owns this.\n For example, the owner of a file in a filesystem.\n There is a sense of right to control. Typically defaults to the agent who craeted\n something but can be changed.".freeze,
120
- label: "owner".freeze,
121
- range: "http://xmlns.com/foaf/0.1/Agent".freeze,
122
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
121
+ comment: "The person or other agent which owns this.\n For example, the owner of a file in a filesystem.\n There is a sense of right to control. Typically defaults to the agent who craeted\n something but can be changed.",
122
+ label: {en: "owner"},
123
+ range: "http://xmlns.com/foaf/0.1/Agent",
124
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
123
125
  end
124
126
  end