Follow our own doc: attribute keys are defined by name and type.