A number of these are using xs:string when a numeric type is appropriate.

Also, please have a look at the threads module and its xsd, and anywhere you find an equivalent concept between there and here, have the xml and the management API match what's in the threads module.