ECMAScript schema and validation infrastructure