docs: public JSchema getExpectedSchema(Map context) {
      if (expectedSchema != null)
        return expectedSchema;
      if (expectedType == null)
        return null;
      expectedSchema = (JSchema)context.get(expectedType);
      if (expectedSchema != null)
        return expectedSchema;
      expectedSchema = new JSchema(expectedType, context);
      return expectedSchema;
    }