lib/openactive/models/schema/educational_occupational_credential.rb in openactive-0.1.2 vs lib/openactive/models/schema/educational_occupational_credential.rb in openactive-0.2.0
- old
+ new
@@ -6,33 +6,47 @@
# @return [String]
def type
"schema:EducationalOccupationalCredential"
end
- # @return [OpenActive::Models::Schema::Organization]
- define_property :recognized_by, as: "recognizedBy", types: [
- "OpenActive::Models::Schema::Organization",
+ # @return [OpenActive::Models::Schema::DefinedTerm,URI,String]
+ define_property :credential_category, as: "credentialCategory", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
+ "URI",
+ "string",
]
- # @return [String,URI,OpenActive::Models::Schema::DefinedTerm]
+ # @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
define_property :educational_level, as: "educationalLevel", types: [
- "string",
"URI",
"OpenActive::Models::Schema::DefinedTerm",
+ "string",
]
- # @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
- define_property :credential_category, as: "credentialCategory", types: [
+ # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
+ define_property :valid_in, as: "validIn", types: [
+ "OpenActive::Models::Schema::AdministrativeArea",
"URI",
- "OpenActive::Models::Schema::DefinedTerm",
- "string",
]
- # @return [OpenActive::Models::Schema::DefinedTerm,URI,String]
+ # @return [String,URI,OpenActive::Models::Schema::DefinedTerm]
define_property :competency_required, as: "competencyRequired", types: [
+ "string",
+ "URI",
"OpenActive::Models::Schema::DefinedTerm",
+ ]
+
+ # @return [OpenActive::Models::Schema::Organization,URI]
+ define_property :recognized_by, as: "recognizedBy", types: [
+ "OpenActive::Models::Schema::Organization",
"URI",
- "string",
+ ]
+
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :valid_for, as: "validFor", types: [
+ "DateInterval",
+ "URI",
+ "null",
]
end
end
end
end