chronicle-core 0.3.0 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3820f9aac588a93691f2c5d82b7f84ee4f5786dc5652baf301ce0dd5df7810aa
4
- data.tar.gz: 7f57cb66da0f22510ba66c2ea5783428a6c8c2135ea9c311ddb9e8a1ee896f2f
3
+ metadata.gz: d5badc889eb0941a2607d675bd4f0bc2dc7df9604377f005053b7c66d64fa545
4
+ data.tar.gz: 807367bdffc8a18d4d5260ef1329a0d8d0a4a94634a171c4caecd7a4836abe60
5
5
  SHA512:
6
- metadata.gz: 8bdf2808fd3a81d4a911825c4b8823bf9bff506a1203d9e282851bcb88058a9440821e762225c322aae3decf2c8490ecd566ffe7d6bcef21e7981da828339dc0
7
- data.tar.gz: c22405deb6ceb94be72df6f40b32eb2f7dd950887412461f77f86506486dd7886a037f3ae3baba733db69be1bf104d7aec3a526592ae3ec5ad7955b7e129885b
6
+ metadata.gz: 61e61d520b0508eff4f521b467044c64225d89ad09543d992ca8e408645b7f1efd009463d63f037c0e828d590c7dee26f589e8e64fe7ea66ea9b68d303fd3bdd
7
+ data.tar.gz: 84ac065cf6ad62e2456b291c2ce5c2b2175008020f66a49235a04313a2e8218bf3d12a0273b213a0154b887b5ba63cdf17b81a6a49e1e182ffc5b0f8fc7bd2aa
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Gem Version](https://badge.fury.io/rb/chronicle-core.svg)](https://badge.fury.io/rb/chronicle-core) [![Ruby](https://github.com/chronicle-app/chronicle-core/actions/workflows/ruby.yml/badge.svg)](https://github.com/chronicle-app/chronicle-core/actions/workflows/ruby.yml) [![Docs](https://img.shields.io/badge/docs-rubydoc.info-blue)](https://www.rubydoc.info/gems/chronicle-core/)
1
+ [![Gem Version](https://badge.fury.io/rb/chronicle-core.svg)](https://badge.fury.io/rb/chronicle-core) [![Ruby](https://github.com/chronicle-app/chronicle-core/actions/workflows/rspec.yml/badge.svg)](https://github.com/chronicle-app/chronicle-core/actions/workflows/rspec.yml) [![Docs](https://img.shields.io/badge/docs-rubydoc.info-blue)](https://www.rubydoc.info/gems/chronicle-core/)
2
2
 
3
3
  Core schema-related code for [Chronicle](https://github.com/chronicle-app/)
4
4
 
@@ -1,5 +1,5 @@
1
1
  module Chronicle
2
2
  module Core
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.3.2'.freeze
4
4
  end
5
5
  end
@@ -51,6 +51,8 @@ module Chronicle
51
51
  type_values << Chronicle::Schema::Types::Params::Time if full_range_identifiers.include? :DateTime
52
52
  type_values << Chronicle::Schema::Types::String if %i[Text URL Distance Duration Energy
53
53
  Mass].intersect?(full_range_identifiers)
54
+
55
+ type_values << Chronicle::Schema::Types::Params::Float if full_range_identifiers.include? :Float
54
56
  type_values << Chronicle::Schema::Types::Params::Integer if full_range_identifiers.include? :Integer
55
57
  type_values << Chronicle::Models.schema_type(full_range_identifiers)
56
58
 
@@ -77,6 +77,21 @@ module Chronicle
77
77
  @current_parent = previous_parent
78
78
  end
79
79
 
80
+ # add a new type that's child of the parent
81
+ def add_type(identifier, comment: nil, &)
82
+ new_type = @new_graph.add_type(identifier)
83
+ new_type.comment = comment
84
+
85
+ @current_parent&.add_subtype_id(new_type.id)
86
+
87
+ previous_parent = @current_parent
88
+ @current_parent = new_type
89
+
90
+ instance_eval(&) if block_given?
91
+
92
+ @current_parent = previous_parent
93
+ end
94
+
80
95
  def pick_all_subtypes(&)
81
96
  @base_graph.find_type(@current_parent.short_id.to_sym).subtype_ids.each do |subtype_id|
82
97
  identifier = @base_graph.id_to_identifier(subtype_id)
@@ -39,10 +39,7 @@ module Chronicle
39
39
  end
40
40
 
41
41
  def self.url_for_version(version)
42
- # Previously just used this one but it's missing ontologies
43
- # 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/schema.ttl'
44
-
45
- "https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/#{version}/schemaorg-all-https.ttl"
42
+ "https://schema.org/version/#{version}/schemaorg-current-https.ttl"
46
43
  end
47
44
  end
48
45
  end
@@ -6,7 +6,9 @@
6
6
  "subtype_ids": [
7
7
  "https://schema.chronicle.app/AssessAction",
8
8
  "https://schema.chronicle.app/ConsumeAction",
9
+ "https://schema.chronicle.app/ControlAction",
9
10
  "https://schema.chronicle.app/InteractAction",
11
+ "https://schema.chronicle.app/OrganizeAction",
10
12
  "https://schema.chronicle.app/UpdateAction"
11
13
  ],
12
14
  "see_also": "https://schema.org/Action",
@@ -39,6 +41,14 @@
39
41
  "see_also": "https://schema.org/AssessAction",
40
42
  "comment": "The act of forming one's opinion, reaction or sentiment."
41
43
  },
44
+ {
45
+ "id": "https://schema.chronicle.app/AudioObject",
46
+ "subtype_ids": [
47
+
48
+ ],
49
+ "see_also": "https://schema.org/AudioObject",
50
+ "comment": "An audio file."
51
+ },
42
52
  {
43
53
  "id": "https://schema.chronicle.app/Book",
44
54
  "subtype_ids": [
@@ -47,6 +57,14 @@
47
57
  "see_also": "https://schema.org/Book",
48
58
  "comment": "A book."
49
59
  },
60
+ {
61
+ "id": "https://schema.chronicle.app/BookmarkAction",
62
+ "subtype_ids": [
63
+
64
+ ],
65
+ "see_also": "https://schema.org/BookmarkAction",
66
+ "comment": "An agent bookmarks/flags/labels/tags/marks an object."
67
+ },
50
68
  {
51
69
  "id": "https://schema.chronicle.app/Boolean",
52
70
  "subtype_ids": [
@@ -71,22 +89,66 @@
71
89
  "see_also": "https://schema.org/City",
72
90
  "comment": "A city or town."
73
91
  },
92
+ {
93
+ "id": "https://schema.chronicle.app/Comment",
94
+ "subtype_ids": [
95
+
96
+ ],
97
+ "see_also": "https://schema.org/Comment",
98
+ "comment": "A comment on an item - for example, a comment on a blog post. The comment's content is expressed via the [[text]] property, and its topic via [[about]], properties shared with all CreativeWorks."
99
+ },
100
+ {
101
+ "id": "https://schema.chronicle.app/CommentAction",
102
+ "subtype_ids": [
103
+
104
+ ],
105
+ "see_also": "https://schema.org/CommentAction",
106
+ "comment": "The act of generating a comment about a subject."
107
+ },
74
108
  {
75
109
  "id": "https://schema.chronicle.app/CommunicateAction",
76
110
  "subtype_ids": [
77
- "https://schema.chronicle.app/CheckInAction"
111
+ "https://schema.chronicle.app/CheckInAction",
112
+ "https://schema.chronicle.app/CommentAction"
78
113
  ],
79
114
  "see_also": "https://schema.org/CommunicateAction",
80
115
  "comment": "The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation."
81
116
  },
117
+ {
118
+ "id": "https://schema.chronicle.app/ComputerCommand",
119
+ "subtype_ids": [
120
+
121
+ ],
122
+ "comment": "A command that can be executed on a computer."
123
+ },
82
124
  {
83
125
  "id": "https://schema.chronicle.app/ConsumeAction",
84
126
  "subtype_ids": [
85
- "https://schema.chronicle.app/ListenAction"
127
+ "https://schema.chronicle.app/ListenAction",
128
+ "https://schema.chronicle.app/ReadAction",
129
+ "https://schema.chronicle.app/UseAction",
130
+ "https://schema.chronicle.app/ViewAction",
131
+ "https://schema.chronicle.app/WatchAction"
86
132
  ],
87
133
  "see_also": "https://schema.org/ConsumeAction",
88
134
  "comment": "The act of ingesting information/resources/food."
89
135
  },
136
+ {
137
+ "id": "https://schema.chronicle.app/ContactPoint",
138
+ "subtype_ids": [
139
+ "https://schema.chronicle.app/PostalAddress"
140
+ ],
141
+ "see_also": "https://schema.org/ContactPoint",
142
+ "comment": "A contact point&#x2014;for example, a Customer Complaints department."
143
+ },
144
+ {
145
+ "id": "https://schema.chronicle.app/ControlAction",
146
+ "subtype_ids": [
147
+
148
+ ],
149
+ "see_also": "https://schema.org/ControlAction",
150
+ "comment": "An agent controls a device or application."
151
+ },
90
152
  {
91
153
  "id": "https://schema.chronicle.app/Country",
92
154
  "subtype_ids": [
@@ -99,8 +161,11 @@
99
161
  "id": "https://schema.chronicle.app/CreativeWork",
100
162
  "subtype_ids": [
101
163
  "https://schema.chronicle.app/Book",
164
+ "https://schema.chronicle.app/Comment",
165
+ "https://schema.chronicle.app/ComputerCommand",
102
166
  "https://schema.chronicle.app/CreativeWorkSeries",
103
167
  "https://schema.chronicle.app/Episode",
168
+ "https://schema.chronicle.app/MediaObject",
104
169
  "https://schema.chronicle.app/Message",
105
170
  "https://schema.chronicle.app/MusicPlaylist",
106
171
  "https://schema.chronicle.app/MusicRecording"
@@ -192,6 +257,14 @@
192
257
  "see_also": "https://schema.org/Float",
193
258
  "comment": "Data type: Floating number."
194
259
  },
260
+ {
261
+ "id": "https://schema.chronicle.app/ImageObject",
262
+ "subtype_ids": [
263
+
264
+ ],
265
+ "see_also": "https://schema.org/ImageObject",
266
+ "comment": "An image file."
267
+ },
195
268
  {
196
269
  "id": "https://schema.chronicle.app/InsertAction",
197
270
  "subtype_ids": [
@@ -203,7 +276,8 @@
203
276
  {
204
277
  "id": "https://schema.chronicle.app/Intangible",
205
278
  "subtype_ids": [
206
- "https://schema.chronicle.app/Quantity"
279
+ "https://schema.chronicle.app/Quantity",
280
+ "https://schema.chronicle.app/StructuredValue"
207
281
  ],
208
282
  "see_also": "https://schema.org/Intangible",
209
283
  "comment": "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc."
@@ -248,6 +322,16 @@
248
322
  "see_also": "https://schema.org/Mass",
249
323
  "comment": "Properties that take Mass as values are of the form '&lt;Number&gt; &lt;Mass unit of measure&gt;'. E.g., '7 kg'."
250
324
  },
325
+ {
326
+ "id": "https://schema.chronicle.app/MediaObject",
327
+ "subtype_ids": [
328
+ "https://schema.chronicle.app/AudioObject",
329
+ "https://schema.chronicle.app/ImageObject",
330
+ "https://schema.chronicle.app/VideoObject"
331
+ ],
332
+ "see_also": "https://schema.org/MediaObject",
333
+ "comment": "A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's)."
334
+ },
251
335
  {
252
336
  "id": "https://schema.chronicle.app/Message",
253
337
  "subtype_ids": [
@@ -305,6 +389,14 @@
305
389
  "see_also": "https://schema.org/Organization",
306
390
  "comment": "An organization such as a school, NGO, corporation, club, etc."
307
391
  },
392
+ {
393
+ "id": "https://schema.chronicle.app/OrganizeAction",
394
+ "subtype_ids": [
395
+ "https://schema.chronicle.app/BookmarkAction"
396
+ ],
397
+ "see_also": "https://schema.org/OrganizeAction",
398
+ "comment": "The act of manipulating/administering/supervising/controlling one or more objects."
399
+ },
308
400
  {
309
401
  "id": "https://schema.chronicle.app/PerformingGroup",
310
402
  "subtype_ids": [
@@ -345,6 +437,22 @@
345
437
  "see_also": "https://schema.org/PodcastSeries",
346
438
  "comment": "A podcast is an episodic series of digital audio or video files which a user can download and listen to."
347
439
  },
440
+ {
441
+ "id": "https://schema.chronicle.app/PostalAddress",
442
+ "subtype_ids": [
443
+
444
+ ],
445
+ "see_also": "https://schema.org/PostalAddress",
446
+ "comment": "The mailing address."
447
+ },
448
+ {
449
+ "id": "https://schema.chronicle.app/QuantitativeValue",
450
+ "subtype_ids": [
451
+
452
+ ],
453
+ "see_also": "https://schema.org/QuantitativeValue",
454
+ "comment": " A point value or interval for product characteristics and other purposes."
455
+ },
348
456
  {
349
457
  "id": "https://schema.chronicle.app/Quantity",
350
458
  "subtype_ids": [
@@ -364,6 +472,14 @@
364
472
  "see_also": "https://schema.org/ReactAction",
365
473
  "comment": "The act of responding instinctively and emotionally to an object, expressing a sentiment."
366
474
  },
475
+ {
476
+ "id": "https://schema.chronicle.app/ReadAction",
477
+ "subtype_ids": [
478
+
479
+ ],
480
+ "see_also": "https://schema.org/ReadAction",
481
+ "comment": "The act of consuming written content."
482
+ },
367
483
  {
368
484
  "id": "https://schema.chronicle.app/SchoolDistrict",
369
485
  "subtype_ids": [
@@ -380,6 +496,15 @@
380
496
  "see_also": "https://schema.org/State",
381
497
  "comment": "A state or province of a country."
382
498
  },
499
+ {
500
+ "id": "https://schema.chronicle.app/StructuredValue",
501
+ "subtype_ids": [
502
+ "https://schema.chronicle.app/ContactPoint",
503
+ "https://schema.chronicle.app/QuantitativeValue"
504
+ ],
505
+ "see_also": "https://schema.org/StructuredValue",
506
+ "comment": "Structured values are used when the value of a property has a more complex structure than simply being a textual value or a reference to another thing."
507
+ },
383
508
  {
384
509
  "id": "https://schema.chronicle.app/Text",
385
510
  "subtype_ids": [
@@ -417,6 +542,38 @@
417
542
  ],
418
543
  "see_also": "https://schema.org/UpdateAction",
419
544
  "comment": "The act of managing by changing/editing the state of the object."
545
+ },
546
+ {
547
+ "id": "https://schema.chronicle.app/UseAction",
548
+ "subtype_ids": [
549
+
550
+ ],
551
+ "see_also": "https://schema.org/UseAction",
552
+ "comment": "The act of applying an object to its intended purpose."
553
+ },
554
+ {
555
+ "id": "https://schema.chronicle.app/VideoObject",
556
+ "subtype_ids": [
557
+
558
+ ],
559
+ "see_also": "https://schema.org/VideoObject",
560
+ "comment": "A video file."
561
+ },
562
+ {
563
+ "id": "https://schema.chronicle.app/ViewAction",
564
+ "subtype_ids": [
565
+
566
+ ],
567
+ "see_also": "https://schema.org/ViewAction",
568
+ "comment": "The act of consuming static visual content."
569
+ },
570
+ {
571
+ "id": "https://schema.chronicle.app/WatchAction",
572
+ "subtype_ids": [
573
+
574
+ ],
575
+ "see_also": "https://schema.org/WatchAction",
576
+ "comment": "The act of consuming dynamic/moving visual content."
420
577
  }
421
578
  ],
422
579
  "properties": [
@@ -436,9 +593,11 @@
436
593
  {
437
594
  "id": "https://schema.chronicle.app/address",
438
595
  "domain": [
439
- "https://schema.chronicle.app/Person"
596
+ "https://schema.chronicle.app/Person",
597
+ "https://schema.chronicle.app/Place"
440
598
  ],
441
599
  "range": [
600
+ "https://schema.chronicle.app/PostalAddress",
442
601
  "https://schema.chronicle.app/Text"
443
602
  ],
444
603
  "many": false,
@@ -446,6 +605,46 @@
446
605
  "comment": "Physical address of the item.",
447
606
  "see_also": "https://schema.org/address"
448
607
  },
608
+ {
609
+ "id": "https://schema.chronicle.app/addressCountry",
610
+ "domain": [
611
+ "https://schema.chronicle.app/PostalAddress"
612
+ ],
613
+ "range": [
614
+ "https://schema.chronicle.app/Country",
615
+ "https://schema.chronicle.app/Text"
616
+ ],
617
+ "many": false,
618
+ "required": false,
619
+ "comment": "The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).",
620
+ "see_also": "https://schema.org/addressCountry"
621
+ },
622
+ {
623
+ "id": "https://schema.chronicle.app/addressLocality",
624
+ "domain": [
625
+ "https://schema.chronicle.app/PostalAddress"
626
+ ],
627
+ "range": [
628
+ "https://schema.chronicle.app/Text"
629
+ ],
630
+ "many": false,
631
+ "required": false,
632
+ "comment": "The locality in which the street address is, and which is in the region. For example, Mountain View.",
633
+ "see_also": "https://schema.org/addressLocality"
634
+ },
635
+ {
636
+ "id": "https://schema.chronicle.app/addressRegion",
637
+ "domain": [
638
+ "https://schema.chronicle.app/PostalAddress"
639
+ ],
640
+ "range": [
641
+ "https://schema.chronicle.app/Text"
642
+ ],
643
+ "many": false,
644
+ "required": false,
645
+ "comment": "The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).",
646
+ "see_also": "https://schema.org/addressRegion"
647
+ },
449
648
  {
450
649
  "id": "https://schema.chronicle.app/agent",
451
650
  "domain": [
@@ -586,6 +785,7 @@
586
785
  "id": "https://schema.chronicle.app/duration",
587
786
  "domain": [
588
787
  "https://schema.chronicle.app/Episode",
788
+ "https://schema.chronicle.app/MediaObject",
589
789
  "https://schema.chronicle.app/MusicRecording"
590
790
  ],
591
791
  "range": [
@@ -637,6 +837,20 @@
637
837
  "comment": "Position of the episode within an ordered group of episodes.",
638
838
  "see_also": "https://schema.org/episodeNumber"
639
839
  },
840
+ {
841
+ "id": "https://schema.chronicle.app/height",
842
+ "domain": [
843
+ "https://schema.chronicle.app/MediaObject"
844
+ ],
845
+ "range": [
846
+ "https://schema.chronicle.app/Distance",
847
+ "https://schema.chronicle.app/QuantitativeValue"
848
+ ],
849
+ "many": false,
850
+ "required": false,
851
+ "comment": "The height of the item.",
852
+ "see_also": "https://schema.org/height"
853
+ },
640
854
  {
641
855
  "id": "https://schema.chronicle.app/identifier",
642
856
  "domain": [
@@ -651,6 +865,20 @@
651
865
  "comment": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.\n ",
652
866
  "see_also": "https://schema.org/identifier"
653
867
  },
868
+ {
869
+ "id": "https://schema.chronicle.app/image",
870
+ "domain": [
871
+ "https://schema.chronicle.app/Thing"
872
+ ],
873
+ "range": [
874
+ "https://schema.chronicle.app/ImageObject",
875
+ "https://schema.chronicle.app/URL"
876
+ ],
877
+ "many": false,
878
+ "required": false,
879
+ "comment": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].",
880
+ "see_also": "https://schema.org/image"
881
+ },
654
882
  {
655
883
  "id": "https://schema.chronicle.app/inAlbum",
656
884
  "domain": [
@@ -707,16 +935,27 @@
707
935
  {
708
936
  "id": "https://schema.chronicle.app/keywords",
709
937
  "domain": [
710
- "https://schema.chronicle.app/CreativeWork"
938
+ "https://schema.chronicle.app/Thing"
711
939
  ],
712
940
  "range": [
713
- "https://schema.chronicle.app/Text",
714
- "https://schema.chronicle.app/URL"
941
+ "https://schema.chronicle.app/Text"
715
942
  ],
716
943
  "many": true,
944
+ "required": false
945
+ },
946
+ {
947
+ "id": "https://schema.chronicle.app/latitude",
948
+ "domain": [
949
+ "https://schema.chronicle.app/Place"
950
+ ],
951
+ "range": [
952
+ "https://schema.chronicle.app/Number",
953
+ "https://schema.chronicle.app/Text"
954
+ ],
955
+ "many": false,
717
956
  "required": false,
718
- "comment": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.",
719
- "see_also": "https://schema.org/keywords"
957
+ "comment": "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).",
958
+ "see_also": "https://schema.org/latitude"
720
959
  },
721
960
  {
722
961
  "id": "https://schema.chronicle.app/location",
@@ -726,6 +965,7 @@
726
965
  ],
727
966
  "range": [
728
967
  "https://schema.chronicle.app/Place",
968
+ "https://schema.chronicle.app/PostalAddress",
729
969
  "https://schema.chronicle.app/Text"
730
970
  ],
731
971
  "many": true,
@@ -733,6 +973,20 @@
733
973
  "comment": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.",
734
974
  "see_also": "https://schema.org/location"
735
975
  },
976
+ {
977
+ "id": "https://schema.chronicle.app/longitude",
978
+ "domain": [
979
+ "https://schema.chronicle.app/Place"
980
+ ],
981
+ "range": [
982
+ "https://schema.chronicle.app/Number",
983
+ "https://schema.chronicle.app/Text"
984
+ ],
985
+ "many": false,
986
+ "required": false,
987
+ "comment": "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).",
988
+ "see_also": "https://schema.org/longitude"
989
+ },
736
990
  {
737
991
  "id": "https://schema.chronicle.app/mentions",
738
992
  "domain": [
@@ -811,6 +1065,32 @@
811
1065
  "comment": "The series to which this episode or season belongs.",
812
1066
  "see_also": "https://schema.org/partOfSeries"
813
1067
  },
1068
+ {
1069
+ "id": "https://schema.chronicle.app/postOfficeBoxNumber",
1070
+ "domain": [
1071
+ "https://schema.chronicle.app/PostalAddress"
1072
+ ],
1073
+ "range": [
1074
+ "https://schema.chronicle.app/Text"
1075
+ ],
1076
+ "many": false,
1077
+ "required": false,
1078
+ "comment": "The post office box number for PO box addresses.",
1079
+ "see_also": "https://schema.org/postOfficeBoxNumber"
1080
+ },
1081
+ {
1082
+ "id": "https://schema.chronicle.app/postalCode",
1083
+ "domain": [
1084
+ "https://schema.chronicle.app/PostalAddress"
1085
+ ],
1086
+ "range": [
1087
+ "https://schema.chronicle.app/Text"
1088
+ ],
1089
+ "many": false,
1090
+ "required": false,
1091
+ "comment": "The postal code. For example, 94043.",
1092
+ "see_also": "https://schema.org/postalCode"
1093
+ },
814
1094
  {
815
1095
  "id": "https://schema.chronicle.app/producer",
816
1096
  "domain": [
@@ -845,6 +1125,7 @@
845
1125
  "https://schema.chronicle.app/Message"
846
1126
  ],
847
1127
  "range": [
1128
+ "https://schema.chronicle.app/ContactPoint",
848
1129
  "https://schema.chronicle.app/Organization",
849
1130
  "https://schema.chronicle.app/Person"
850
1131
  ],
@@ -951,6 +1232,19 @@
951
1232
  "comment": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.",
952
1233
  "see_also": "https://schema.org/startTime"
953
1234
  },
1235
+ {
1236
+ "id": "https://schema.chronicle.app/streetAddress",
1237
+ "domain": [
1238
+ "https://schema.chronicle.app/PostalAddress"
1239
+ ],
1240
+ "range": [
1241
+ "https://schema.chronicle.app/Text"
1242
+ ],
1243
+ "many": false,
1244
+ "required": false,
1245
+ "comment": "The street address. For example, 1600 Amphitheatre Pkwy.",
1246
+ "see_also": "https://schema.org/streetAddress"
1247
+ },
954
1248
  {
955
1249
  "id": "https://schema.chronicle.app/subjectOf",
956
1250
  "domain": [
@@ -991,6 +1285,22 @@
991
1285
  "comment": "URL of the item.",
992
1286
  "see_also": "https://schema.org/url"
993
1287
  },
1288
+ {
1289
+ "id": "https://schema.chronicle.app/value",
1290
+ "domain": [
1291
+ "https://schema.chronicle.app/QuantitativeValue"
1292
+ ],
1293
+ "range": [
1294
+ "https://schema.chronicle.app/Boolean",
1295
+ "https://schema.chronicle.app/Number",
1296
+ "https://schema.chronicle.app/StructuredValue",
1297
+ "https://schema.chronicle.app/Text"
1298
+ ],
1299
+ "many": false,
1300
+ "required": false,
1301
+ "comment": "The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.",
1302
+ "see_also": "https://schema.org/value"
1303
+ },
994
1304
  {
995
1305
  "id": "https://schema.chronicle.app/webFeed",
996
1306
  "domain": [
@@ -1003,6 +1313,20 @@
1003
1313
  "required": false,
1004
1314
  "comment": "The URL for a feed, e.g. associated with a podcast series, blog, or series of date-stamped updates. This is usually RSS or Atom.",
1005
1315
  "see_also": "https://schema.org/webFeed"
1316
+ },
1317
+ {
1318
+ "id": "https://schema.chronicle.app/width",
1319
+ "domain": [
1320
+ "https://schema.chronicle.app/MediaObject"
1321
+ ],
1322
+ "range": [
1323
+ "https://schema.chronicle.app/Distance",
1324
+ "https://schema.chronicle.app/QuantitativeValue"
1325
+ ],
1326
+ "many": false,
1327
+ "required": false,
1328
+ "comment": "The width of the item.",
1329
+ "see_also": "https://schema.org/width"
1006
1330
  }
1007
1331
  ]
1008
1332
  }
@@ -1,5 +1,5 @@
1
1
  version 1
2
- set_base_graph 'schema.org', '22.0'
2
+ set_base_graph 'schema.org', '26.0'
3
3
 
4
4
  pick_type :Thing do
5
5
  pick_type :Action do
@@ -18,14 +18,25 @@ pick_type :Thing do
18
18
 
19
19
  pick_type :ConsumeAction do
20
20
  pick_type :ListenAction
21
+ pick_type :ReadAction
22
+ pick_type :UseAction
23
+ pick_type :ViewAction
24
+ pick_type :WatchAction
21
25
  end
22
26
 
27
+ pick_type :ControlAction
28
+
23
29
  pick_type :InteractAction do
24
30
  pick_type :CommunicateAction do
25
31
  pick_type :CheckInAction
32
+ pick_type :CommentAction
26
33
  end
27
34
  end
28
35
 
36
+ pick_type :OrganizeAction do
37
+ pick_type :BookmarkAction
38
+ end
39
+
29
40
  pick_type :UpdateAction do
30
41
  pick_type :AddAction do
31
42
  pick_type :InsertAction
@@ -50,6 +61,10 @@ pick_type :Thing do
50
61
  end
51
62
  end
52
63
 
64
+ add_type :ComputerCommand, comment: 'A command that can be executed on a computer.'
65
+
66
+ pick_type :Comment
67
+
53
68
  pick_type :Episode do
54
69
  pick_type :PodcastEpisode
55
70
 
@@ -59,11 +74,22 @@ pick_type :Thing do
59
74
  apply_property :episodeNumber
60
75
  end
61
76
 
77
+ pick_type :MediaObject do
78
+ pick_type :AudioObject
79
+ pick_type :ImageObject
80
+ pick_type :VideoObject
81
+
82
+ apply_property :duration
83
+ apply_property :width
84
+ apply_property :height
85
+ end
86
+
62
87
  pick_type :MusicPlaylist do
63
88
  pick_type :MusicAlbum do
64
89
  apply_property :byArtist, many: true
65
90
  end
66
91
  end
92
+
67
93
  pick_type :MusicRecording do
68
94
  apply_property :inAlbum, many: true
69
95
  apply_property :byArtist, many: true
@@ -83,7 +109,6 @@ pick_type :Thing do
83
109
  apply_property :creator, many: true
84
110
  apply_property :inLanguage, many: true
85
111
  apply_property :isPartOf, many: true
86
- apply_property :keywords, many: true
87
112
  apply_property :mentions, many: true
88
113
  apply_property :producer, many: true
89
114
  apply_property :publisher, many: true
@@ -97,6 +122,22 @@ pick_type :Thing do
97
122
  pick_type :Energy
98
123
  pick_type :Mass
99
124
  end
125
+
126
+ pick_type :StructuredValue do
127
+ pick_type :ContactPoint do
128
+ pick_type :PostalAddress do
129
+ apply_property :addressCountry
130
+ apply_property :addressLocality
131
+ apply_property :addressRegion
132
+ apply_property :postOfficeBoxNumber
133
+ apply_property :postalCode
134
+ apply_property :streetAddress
135
+ end
136
+ end
137
+ pick_type :QuantitativeValue do
138
+ apply_property :value
139
+ end
140
+ end
100
141
  end
101
142
 
102
143
  pick_type :Organization
@@ -117,11 +158,16 @@ pick_type :Thing do
117
158
  pick_type :AdministrativeArea do
118
159
  pick_all_subtypes
119
160
  end
161
+
162
+ apply_property :address
163
+ apply_property :latitude
164
+ apply_property :longitude
120
165
  end
121
166
 
122
167
  apply_property :alternateName
123
168
  apply_property :description
124
169
  apply_property :identifier
170
+ apply_property :image
125
171
  apply_property :name
126
172
  apply_property :subjectOf, many: true
127
173
  apply_property :url
@@ -131,6 +177,9 @@ pick_type :Thing do
131
177
  add_property :slug
132
178
  add_property :sourceId
133
179
  add_property :sourceNamespace
180
+
181
+ # allow keywords on everything
182
+ add_property :keywords, many: true
134
183
  end
135
184
 
136
185
  pick_type :DataType do
@@ -31,11 +31,21 @@
31
31
  rdfs:seeAlso schemaorg:AssessAction;
32
32
  rdfs:subClassOf :Action .
33
33
 
34
+ :AudioObject a rdfs:Class;
35
+ rdfs:comment "An audio file.";
36
+ rdfs:seeAlso schemaorg:AudioObject;
37
+ rdfs:subClassOf :MediaObject .
38
+
34
39
  :Book a rdfs:Class;
35
40
  rdfs:comment "A book.";
36
41
  rdfs:seeAlso schemaorg:Book;
37
42
  rdfs:subClassOf :CreativeWork .
38
43
 
44
+ :BookmarkAction a rdfs:Class;
45
+ rdfs:comment "An agent bookmarks/flags/labels/tags/marks an object.";
46
+ rdfs:seeAlso schemaorg:BookmarkAction;
47
+ rdfs:subClassOf :OrganizeAction .
48
+
39
49
  :Boolean a rdfs:Class;
40
50
  rdfs:comment "Boolean: True or False.";
41
51
  rdfs:seeAlso schemaorg:Boolean;
@@ -51,16 +61,40 @@
51
61
  rdfs:seeAlso schemaorg:City;
52
62
  rdfs:subClassOf :AdministrativeArea .
53
63
 
64
+ :Comment a rdfs:Class;
65
+ rdfs:comment "A comment on an item - for example, a comment on a blog post. The comment's content is expressed via the [[text]] property, and its topic via [[about]], properties shared with all CreativeWorks.";
66
+ rdfs:seeAlso schemaorg:Comment;
67
+ rdfs:subClassOf :CreativeWork .
68
+
69
+ :CommentAction a rdfs:Class;
70
+ rdfs:comment "The act of generating a comment about a subject.";
71
+ rdfs:seeAlso schemaorg:CommentAction;
72
+ rdfs:subClassOf :CommunicateAction .
73
+
54
74
  :CommunicateAction a rdfs:Class;
55
75
  rdfs:comment "The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation.";
56
76
  rdfs:seeAlso schemaorg:CommunicateAction;
57
77
  rdfs:subClassOf :InteractAction .
58
78
 
79
+ :ComputerCommand a rdfs:Class;
80
+ rdfs:comment "A command that can be executed on a computer.";
81
+ rdfs:subClassOf :CreativeWork .
82
+
59
83
  :ConsumeAction a rdfs:Class;
60
84
  rdfs:comment "The act of ingesting information/resources/food.";
61
85
  rdfs:seeAlso schemaorg:ConsumeAction;
62
86
  rdfs:subClassOf :Action .
63
87
 
88
+ :ContactPoint a rdfs:Class;
89
+ rdfs:comment "A contact point&#x2014;for example, a Customer Complaints department.";
90
+ rdfs:seeAlso schemaorg:ContactPoint;
91
+ rdfs:subClassOf :StructuredValue .
92
+
93
+ :ControlAction a rdfs:Class;
94
+ rdfs:comment "An agent controls a device or application.";
95
+ rdfs:seeAlso schemaorg:ControlAction;
96
+ rdfs:subClassOf :Action .
97
+
64
98
  :Country a rdfs:Class;
65
99
  rdfs:comment "A country.";
66
100
  rdfs:seeAlso schemaorg:Country;
@@ -121,6 +155,11 @@
121
155
  rdfs:seeAlso schemaorg:Float;
122
156
  rdfs:subClassOf :Number .
123
157
 
158
+ :ImageObject a rdfs:Class;
159
+ rdfs:comment "An image file.";
160
+ rdfs:seeAlso schemaorg:ImageObject;
161
+ rdfs:subClassOf :MediaObject .
162
+
124
163
  :InsertAction a rdfs:Class;
125
164
  rdfs:comment "The act of adding at a specific location in an ordered collection.";
126
165
  rdfs:seeAlso schemaorg:InsertAction;
@@ -156,6 +195,11 @@
156
195
  rdfs:seeAlso schemaorg:Mass;
157
196
  rdfs:subClassOf :Quantity .
158
197
 
198
+ :MediaObject a rdfs:Class;
199
+ rdfs:comment "A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's).";
200
+ rdfs:seeAlso schemaorg:MediaObject;
201
+ rdfs:subClassOf :CreativeWork .
202
+
159
203
  :Message a rdfs:Class;
160
204
  rdfs:comment "A single message from a sender to one or more organizations or people.";
161
205
  rdfs:seeAlso schemaorg:Message;
@@ -191,6 +235,11 @@
191
235
  rdfs:seeAlso schemaorg:Organization;
192
236
  rdfs:subClassOf :Thing .
193
237
 
238
+ :OrganizeAction a rdfs:Class;
239
+ rdfs:comment "The act of manipulating/administering/supervising/controlling one or more objects.";
240
+ rdfs:seeAlso schemaorg:OrganizeAction;
241
+ rdfs:subClassOf :Action .
242
+
194
243
  :PerformingGroup a rdfs:Class;
195
244
  rdfs:comment "A performance group, such as a band, an orchestra, or a circus.";
196
245
  rdfs:seeAlso schemaorg:PerformingGroup;
@@ -216,6 +265,16 @@
216
265
  rdfs:seeAlso schemaorg:PodcastSeries;
217
266
  rdfs:subClassOf :CreativeWorkSeries .
218
267
 
268
+ :PostalAddress a rdfs:Class;
269
+ rdfs:comment "The mailing address.";
270
+ rdfs:seeAlso schemaorg:PostalAddress;
271
+ rdfs:subClassOf :ContactPoint .
272
+
273
+ :QuantitativeValue a rdfs:Class;
274
+ rdfs:comment " A point value or interval for product characteristics and other purposes.";
275
+ rdfs:seeAlso schemaorg:QuantitativeValue;
276
+ rdfs:subClassOf :StructuredValue .
277
+
219
278
  :Quantity a rdfs:Class;
220
279
  rdfs:comment "Quantities such as distance, time, mass, weight, etc. Particular instances of say Mass are entities like '3 kg' or '4 milligrams'.";
221
280
  rdfs:seeAlso schemaorg:Quantity;
@@ -226,6 +285,11 @@
226
285
  rdfs:seeAlso schemaorg:ReactAction;
227
286
  rdfs:subClassOf :AssessAction .
228
287
 
288
+ :ReadAction a rdfs:Class;
289
+ rdfs:comment "The act of consuming written content.";
290
+ rdfs:seeAlso schemaorg:ReadAction;
291
+ rdfs:subClassOf :ConsumeAction .
292
+
229
293
  :SchoolDistrict a rdfs:Class;
230
294
  rdfs:comment "A School District is an administrative area for the administration of schools.";
231
295
  rdfs:seeAlso schemaorg:SchoolDistrict;
@@ -236,6 +300,11 @@
236
300
  rdfs:seeAlso schemaorg:State;
237
301
  rdfs:subClassOf :AdministrativeArea .
238
302
 
303
+ :StructuredValue a rdfs:Class;
304
+ rdfs:comment "Structured values are used when the value of a property has a more complex structure than simply being a textual value or a reference to another thing.";
305
+ rdfs:seeAlso schemaorg:StructuredValue;
306
+ rdfs:subClassOf :Intangible .
307
+
239
308
  :Text a rdfs:Class;
240
309
  rdfs:comment "Data type: Text.";
241
310
  rdfs:seeAlso schemaorg:Text;
@@ -255,6 +324,26 @@
255
324
  rdfs:seeAlso schemaorg:UpdateAction;
256
325
  rdfs:subClassOf :Action .
257
326
 
327
+ :UseAction a rdfs:Class;
328
+ rdfs:comment "The act of applying an object to its intended purpose.";
329
+ rdfs:seeAlso schemaorg:UseAction;
330
+ rdfs:subClassOf :ConsumeAction .
331
+
332
+ :VideoObject a rdfs:Class;
333
+ rdfs:comment "A video file.";
334
+ rdfs:seeAlso schemaorg:VideoObject;
335
+ rdfs:subClassOf :MediaObject .
336
+
337
+ :ViewAction a rdfs:Class;
338
+ rdfs:comment "The act of consuming static visual content.";
339
+ rdfs:seeAlso schemaorg:ViewAction;
340
+ rdfs:subClassOf :ConsumeAction .
341
+
342
+ :WatchAction a rdfs:Class;
343
+ rdfs:comment "The act of consuming dynamic/moving visual content.";
344
+ rdfs:seeAlso schemaorg:WatchAction;
345
+ rdfs:subClassOf :ConsumeAction .
346
+
258
347
  <https://schema.chronicle.app> a owl:Ontology;
259
348
  owl:versionInfo "1" .
260
349
 
@@ -268,7 +357,31 @@
268
357
  rdfs:comment "Physical address of the item.";
269
358
  rdfs:seeAlso schemaorg:address;
270
359
  owl:maxCardinality 1;
271
- :domainIncludes :Person;
360
+ :domainIncludes :Person,
361
+ :Place;
362
+ :rangeIncludes :PostalAddress,
363
+ :Text .
364
+
365
+ :addressCountry a rdf:Property;
366
+ rdfs:comment "The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).";
367
+ rdfs:seeAlso schemaorg:addressCountry;
368
+ owl:maxCardinality 1;
369
+ :domainIncludes :PostalAddress;
370
+ :rangeIncludes :Country,
371
+ :Text .
372
+
373
+ :addressLocality a rdf:Property;
374
+ rdfs:comment "The locality in which the street address is, and which is in the region. For example, Mountain View.";
375
+ rdfs:seeAlso schemaorg:addressLocality;
376
+ owl:maxCardinality 1;
377
+ :domainIncludes :PostalAddress;
378
+ :rangeIncludes :Text .
379
+
380
+ :addressRegion a rdf:Property;
381
+ rdfs:comment "The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).";
382
+ rdfs:seeAlso schemaorg:addressRegion;
383
+ owl:maxCardinality 1;
384
+ :domainIncludes :PostalAddress;
272
385
  :rangeIncludes :Text .
273
386
 
274
387
  :agent a rdf:Property;
@@ -346,6 +459,7 @@
346
459
  rdfs:seeAlso schemaorg:duration;
347
460
  owl:maxCardinality 1;
348
461
  :domainIncludes :Episode,
462
+ :MediaObject,
349
463
  :MusicRecording;
350
464
  :rangeIncludes :Duration .
351
465
 
@@ -372,6 +486,14 @@
372
486
  :rangeIncludes :Integer,
373
487
  :Text .
374
488
 
489
+ :height a rdf:Property;
490
+ rdfs:comment "The height of the item.";
491
+ rdfs:seeAlso schemaorg:height;
492
+ owl:maxCardinality 1;
493
+ :domainIncludes :MediaObject;
494
+ :rangeIncludes :Distance,
495
+ :QuantitativeValue .
496
+
375
497
  :identifier a rdf:Property;
376
498
  rdfs:comment """The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.
377
499
  """;
@@ -381,6 +503,14 @@
381
503
  :rangeIncludes :Text,
382
504
  :URL .
383
505
 
506
+ :image a rdf:Property;
507
+ rdfs:comment "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].";
508
+ rdfs:seeAlso schemaorg:image;
509
+ owl:maxCardinality 1;
510
+ :domainIncludes :Thing;
511
+ :rangeIncludes :ImageObject,
512
+ :URL .
513
+
384
514
  :inAlbum a rdf:Property;
385
515
  rdfs:comment "The album to which this recording belongs.";
386
516
  rdfs:seeAlso schemaorg:inAlbum;
@@ -408,11 +538,16 @@
408
538
  :URL .
409
539
 
410
540
  :keywords a rdf:Property;
411
- rdfs:comment "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.";
412
- rdfs:seeAlso schemaorg:keywords;
413
- :domainIncludes :CreativeWork;
414
- :rangeIncludes :Text,
415
- :URL .
541
+ :domainIncludes :Thing;
542
+ :rangeIncludes :Text .
543
+
544
+ :latitude a rdf:Property;
545
+ rdfs:comment "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).";
546
+ rdfs:seeAlso schemaorg:latitude;
547
+ owl:maxCardinality 1;
548
+ :domainIncludes :Place;
549
+ :rangeIncludes :Number,
550
+ :Text .
416
551
 
417
552
  :location a rdf:Property;
418
553
  rdfs:comment "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.";
@@ -420,6 +555,15 @@
420
555
  :domainIncludes :Event,
421
556
  :Organization;
422
557
  :rangeIncludes :Place,
558
+ :PostalAddress,
559
+ :Text .
560
+
561
+ :longitude a rdf:Property;
562
+ rdfs:comment "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).";
563
+ rdfs:seeAlso schemaorg:longitude;
564
+ owl:maxCardinality 1;
565
+ :domainIncludes :Place;
566
+ :rangeIncludes :Number,
423
567
  :Text .
424
568
 
425
569
  :mentions a rdf:Property;
@@ -462,6 +606,20 @@
462
606
  :domainIncludes :Episode;
463
607
  :rangeIncludes :CreativeWorkSeries .
464
608
 
609
+ :postOfficeBoxNumber a rdf:Property;
610
+ rdfs:comment "The post office box number for PO box addresses.";
611
+ rdfs:seeAlso schemaorg:postOfficeBoxNumber;
612
+ owl:maxCardinality 1;
613
+ :domainIncludes :PostalAddress;
614
+ :rangeIncludes :Text .
615
+
616
+ :postalCode a rdf:Property;
617
+ rdfs:comment "The postal code. For example, 94043.";
618
+ rdfs:seeAlso schemaorg:postalCode;
619
+ owl:maxCardinality 1;
620
+ :domainIncludes :PostalAddress;
621
+ :rangeIncludes :Text .
622
+
465
623
  :producer a rdf:Property;
466
624
  rdfs:comment "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).";
467
625
  rdfs:seeAlso schemaorg:producer;
@@ -480,7 +638,8 @@
480
638
  rdfs:comment "A sub property of participant. The participant who is at the receiving end of the action.";
481
639
  rdfs:seeAlso schemaorg:recipient;
482
640
  :domainIncludes :Message;
483
- :rangeIncludes :Organization,
641
+ :rangeIncludes :ContactPoint,
642
+ :Organization,
484
643
  :Person .
485
644
 
486
645
  :result a rdf:Property;
@@ -533,6 +692,13 @@
533
692
  :domainIncludes :Action;
534
693
  :rangeIncludes :DateTime .
535
694
 
695
+ :streetAddress a rdf:Property;
696
+ rdfs:comment "The street address. For example, 1600 Amphitheatre Pkwy.";
697
+ rdfs:seeAlso schemaorg:streetAddress;
698
+ owl:maxCardinality 1;
699
+ :domainIncludes :PostalAddress;
700
+ :rangeIncludes :Text .
701
+
536
702
  :subjectOf a rdf:Property;
537
703
  rdfs:comment "A CreativeWork or Event about this Thing.";
538
704
  rdfs:seeAlso schemaorg:subjectOf;
@@ -554,9 +720,27 @@
554
720
  :domainIncludes :Thing;
555
721
  :rangeIncludes :URL .
556
722
 
723
+ :value a rdf:Property;
724
+ rdfs:comment "The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.";
725
+ rdfs:seeAlso schemaorg:value;
726
+ owl:maxCardinality 1;
727
+ :domainIncludes :QuantitativeValue;
728
+ :rangeIncludes :Boolean,
729
+ :Number,
730
+ :StructuredValue,
731
+ :Text .
732
+
557
733
  :webFeed a rdf:Property;
558
734
  rdfs:comment "The URL for a feed, e.g. associated with a podcast series, blog, or series of date-stamped updates. This is usually RSS or Atom.";
559
735
  rdfs:seeAlso schemaorg:webFeed;
560
736
  owl:maxCardinality 1;
561
737
  :domainIncludes :PodcastSeries;
562
738
  :rangeIncludes :URL .
739
+
740
+ :width a rdf:Property;
741
+ rdfs:comment "The width of the item.";
742
+ rdfs:seeAlso schemaorg:width;
743
+ owl:maxCardinality 1;
744
+ :domainIncludes :MediaObject;
745
+ :rangeIncludes :Distance,
746
+ :QuantitativeValue .
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronicle-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Louis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-24 00:00:00.000000000 Z
11
+ date: 2024-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct