Schema/Place.pm

filter: Statementstmt 100% 65 / 65 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 71 / 71 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Schema/Person.pm ↑ Summary Schema/Thing.pm »
1 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package SemanticWeb::Schema::Place;
4  
5 # ABSTRACT: Entities that have a somewhat fixed
6  
7 2 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 extends qw/ SemanticWeb::Schema::Thing /;
11  
12  
13 2 ▶use MooX::JSON_LD 'Place';
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶use Ref::Util qw/ is_plain_hashref /;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 # RECOMMEND PREREQ: Ref::Util::XS
16  
17 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 2 our $VERSION = 'v23.0.0';
20  
21  
22 2 has additional_property => (
23 is => 'rw',
24 predicate => '_has_additional_property',
25 json_ld => 'additionalProperty',
26 );
27  
28  
29  
30 2 has address => (
31 is => 'rw',
32 predicate => '_has_address',
33 json_ld => 'address',
34 );
35  
36  
37  
38 2 has aggregate_rating => (
39 is => 'rw',
40 predicate => '_has_aggregate_rating',
41 json_ld => 'aggregateRating',
42 );
43  
44  
45  
46 2 has amenity_feature => (
47 is => 'rw',
48 predicate => '_has_amenity_feature',
49 json_ld => 'amenityFeature',
50 );
51  
52  
53  
54 2 has branch_code => (
55 is => 'rw',
56 predicate => '_has_branch_code',
57 json_ld => 'branchCode',
58 );
59  
60  
61  
62 2 has contained_in => (
63 is => 'rw',
64 predicate => '_has_contained_in',
65 json_ld => 'containedIn',
66 );
67  
68  
69  
70 2 has contained_in_place => (
71 is => 'rw',
72 predicate => '_has_contained_in_place',
73 json_ld => 'containedInPlace',
74 );
75  
76  
77  
78 2 has contains_place => (
79 is => 'rw',
80 predicate => '_has_contains_place',
81 json_ld => 'containsPlace',
82 );
83  
84  
85  
86 2 has event => (
87 is => 'rw',
88 predicate => '_has_event',
89 json_ld => 'event',
90 );
91  
92  
93  
94 2 has events => (
95 is => 'rw',
96 predicate => '_has_events',
97 json_ld => 'events',
98 );
99  
100  
101  
102 2 has fax_number => (
103 is => 'rw',
104 predicate => '_has_fax_number',
105 json_ld => 'faxNumber',
106 );
107  
108  
109  
110 2 has geo => (
111 is => 'rw',
112 predicate => '_has_geo',
113 json_ld => 'geo',
114 );
115  
116  
117  
118 2 has geo_contains => (
119 is => 'rw',
120 predicate => '_has_geo_contains',
121 json_ld => 'geoContains',
122 );
123  
124  
125  
126 2 has geo_covered_by => (
127 is => 'rw',
128 predicate => '_has_geo_covered_by',
129 json_ld => 'geoCoveredBy',
130 );
131  
132  
133  
134 2 has geo_covers => (
135 is => 'rw',
136 predicate => '_has_geo_covers',
137 json_ld => 'geoCovers',
138 );
139  
140  
141  
142 2 has geo_crosses => (
143 is => 'rw',
144 predicate => '_has_geo_crosses',
145 json_ld => 'geoCrosses',
146 );
147  
148  
149  
150 2 has geo_disjoint => (
151 is => 'rw',
152 predicate => '_has_geo_disjoint',
153 json_ld => 'geoDisjoint',
154 );
155  
156  
157  
158 2 has geo_equals => (
159 is => 'rw',
160 predicate => '_has_geo_equals',
161 json_ld => 'geoEquals',
162 );
163  
164  
165  
166 2 has geo_intersects => (
167 is => 'rw',
168 predicate => '_has_geo_intersects',
169 json_ld => 'geoIntersects',
170 );
171  
172  
173  
174 2 has geo_overlaps => (
175 is => 'rw',
176 predicate => '_has_geo_overlaps',
177 json_ld => 'geoOverlaps',
178 );
179  
180  
181  
182 2 has geo_touches => (
183 is => 'rw',
184 predicate => '_has_geo_touches',
185 json_ld => 'geoTouches',
186 );
187  
188  
189  
190 2 has geo_within => (
191 is => 'rw',
192 predicate => '_has_geo_within',
193 json_ld => 'geoWithin',
194 );
195  
196  
197  
198 2 has global_location_number => (
199 is => 'rw',
200 predicate => '_has_global_location_number',
201 json_ld => 'globalLocationNumber',
202 );
203  
204  
205  
206 2 has has_drive_through_service => (
207 is => 'rw',
208 predicate => '_has_has_drive_through_service',
209 json_ld => 'hasDriveThroughService',
210 );
211  
212  
213  
214 2 has has_map => (
215 is => 'rw',
216 predicate => '_has_has_map',
217 json_ld => 'hasMap',
218 );
219  
220  
221  
222 2 has is_accessible_for_free => (
223 is => 'rw',
224 predicate => '_has_is_accessible_for_free',
225 json_ld => 'isAccessibleForFree',
226 );
227  
228  
229  
230 2 has isic_v4 => (
231 is => 'rw',
232 predicate => '_has_isic_v4',
233 json_ld => 'isicV4',
234 );
235  
236  
237  
238 2 has keywords => (
239 is => 'rw',
240 predicate => '_has_keywords',
241 json_ld => 'keywords',
242 );
243  
244  
245  
246 2 has latitude => (
247 is => 'rw',
248 predicate => '_has_latitude',
249 json_ld => 'latitude',
250 );
251  
252  
253  
254 2 has logo => (
255 is => 'rw',
256 predicate => '_has_logo',
257 json_ld => 'logo',
258 );
259  
260  
261  
262 2 has longitude => (
263 is => 'rw',
264 predicate => '_has_longitude',
265 json_ld => 'longitude',
266 );
267  
268  
269  
270 2 has map => (
271 is => 'rw',
272 predicate => '_has_map',
273 json_ld => 'map',
274 );
275  
276  
277  
278 2 has maps => (
279 is => 'rw',
280 predicate => '_has_maps',
281 json_ld => 'maps',
282 );
283  
284  
285  
286 2 has maximum_attendee_capacity => (
287 is => 'rw',
288 predicate => '_has_maximum_attendee_capacity',
289 json_ld => 'maximumAttendeeCapacity',
290 );
291  
292  
293  
294 2 has opening_hours_specification => (
295 is => 'rw',
296 predicate => '_has_opening_hours_specification',
297 json_ld => 'openingHoursSpecification',
298 );
299  
300  
301  
302 2 has photo => (
303 is => 'rw',
304 predicate => '_has_photo',
305 json_ld => 'photo',
306 );
307  
308  
309  
310 2 has photos => (
311 is => 'rw',
312 predicate => '_has_photos',
313 json_ld => 'photos',
314 );
315  
316  
317  
318 2 has public_access => (
319 is => 'rw',
320 predicate => '_has_public_access',
321 json_ld => 'publicAccess',
322 );
323  
324  
325  
326 2 has review => (
327 is => 'rw',
328 predicate => '_has_review',
329 json_ld => 'review',
330 );
331  
332  
333  
334 2 has reviews => (
335 is => 'rw',
336 predicate => '_has_reviews',
337 json_ld => 'reviews',
338 );
339  
340  
341  
342 2 has slogan => (
343 is => 'rw',
344 predicate => '_has_slogan',
345 json_ld => 'slogan',
346 );
347  
348  
349  
350 2 has smoking_allowed => (
351 is => 'rw',
352 predicate => '_has_smoking_allowed',
353 json_ld => 'smokingAllowed',
354 );
355  
356  
357  
358 2 has special_opening_hours_specification => (
359 is => 'rw',
360 predicate => '_has_special_opening_hours_specification',
361 json_ld => 'specialOpeningHoursSpecification',
362 );
363  
364  
365  
366 2 has telephone => (
367 is => 'rw',
368 predicate => '_has_telephone',
369 json_ld => 'telephone',
370 );
371  
372  
373  
374 2 has tour_booking_page => (
375 is => 'rw',
376 predicate => '_has_tour_booking_page',
377 json_ld => 'tourBookingPage',
378 );
379  
380  
381  
382  
383  
384 2 1;
385  
386 __END__
« Schema/Person.pm ↑ Summary Schema/Thing.pm »