def pyxb_to_dict(node_list_pyxb):
    """
  Returns:
     dict : Representation of ``node_list_pyxb``, keyed on the Node identifier
     (``urn:node:*``).

  Example::

    {
      u'urn:node:ARCTIC': {
        'base_url': u'https://arcticdata.io/metacat/d1/mn',
        'description': u'The US National Science Foundation...',
        'name': u'Arctic Data Center',
        'ping': None,
        'replicate': 0,
        'state': u'up',
        'synchronize': 1,
        'type': u'mn'
      },
      u'urn:node:BCODMO': {
        'base_url': u'https://www.bco-dmo.org/d1/mn',
        'description': u'Biological and Chemical Oceanography Data...',
        'name': u'Biological and Chemical Oceanography Data...',
        'ping': None,
        'replicate': 0,
        'state': u'up',
        'synchronize': 1,
        'type': u'mn'
      },
    }
  """
    f_dict = {}
    for f_pyxb in sorted(node_list_pyxb.node, key=lambda x: x.identifier.value()):
        f_dict[f_pyxb.identifier.value()] = {
            'name': f_pyxb.name,
            'description': f_pyxb.description,
            'base_url': f_pyxb.baseURL,
            'ping': f_pyxb.ping,
            'replicate': f_pyxb.replicate,
            'synchronize': f_pyxb.synchronize,
            'type': f_pyxb.type,
            'state': f_pyxb.state,
        }
        # TODO:
        # f_pyxb.services
        # f_pyxb.synchronization
        # f_pyxb.subject
        # f_pyxb.contactSubject
        # f_pyxb.nodeReplicationPolicy,

    return f_dict