class Deserializer extends JsonDeserializer<JSONSchemaPropsOrStringArray> {

    @Override
    public JSONSchemaPropsOrStringArray deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
        throws IOException {<FILL_FUNCTION_BODY>}
  }

      JSONSchemaPropsOrStringArrayBuilder builder = new JSONSchemaPropsOrStringArrayBuilder();
      if (jsonParser.isExpectedStartObjectToken()) {
        builder.withSchema(
            jsonParser.readValueAs(JSONSchemaProps.class));
      } else if (jsonParser.isExpectedStartArrayToken()) {
        builder.withProperty(jsonParser.<List<String>> readValueAs(new TypeReference<List<String>>() {
        }));
      }
      return builder.build();
    
<no_super_class>