converting schema to ietf draft 4

work in progress for #7