-
-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
bugIssues describing a bug or pull requests fixing a bug.Issues describing a bug or pull requests fixing a bug.
Description
Describe the bug
For the Vehicle schema, several properties are not null after deserialization. It appears that the Vehicle schema does not support QualitativeValue properties that also can be Text or URL types. Transmission and FuelType are just two examples.
Steps to reproduce
Deserialize the following as Vehicle:
{
"@context": "http://schema.org",
"@type": "Vehicle",
"@id": "999",
"vehicleTransmission": {
"@type": "QualitativeValue",
"name": "automatic"
}
}
Notice the resulting Vehicle.VehicleTransmission is null.
Expected behaviour
The resulting Vehicle.VehicleTransmission should not be null.
Schema objects
Metadata
Metadata
Assignees
Labels
bugIssues describing a bug or pull requests fixing a bug.Issues describing a bug or pull requests fixing a bug.