lib/openactive/models/schema/creative_work_series.rb in openactive-0.3.0 vs lib/openactive/models/schema/creative_work_series.rb in openactive-0.4.0
- old
+ new
@@ -6,26 +6,26 @@
# @return [String]
def type
"schema:CreativeWorkSeries"
end
- # @return [DateTime,Date,nil]
+ # @return [Date,DateTime,nil]
define_property :start_date, as: "startDate", types: [
- "DateTime",
"Date",
+ "DateTime",
"null",
]
+ # @return [String]
+ define_property :issn, as: "issn", types: [
+ "string",
+ ]
+
# @return [Date,DateTime,nil]
define_property :end_date, as: "endDate", types: [
"Date",
"DateTime",
"null",
- ]
-
- # @return [String]
- define_property :issn, as: "issn", types: [
- "string",
]
end
end
end
end