document keys and schemas