Specify minimum and maximum correctly in schemas

The v2 schemas specify min and max.  Changed this to minimum and
maximum as required by the validators.
readOnly does not seem to be validated.  But I changed some of the
places in v2 to be consistent across v2.

Change-Id: Ica9b5dfe6860640ab8a2ef6978fb6d1eec1a1d25
Closes-Bug: 1334933
Merge "Specify minimum and maximum correctly in schemas"