How about the following which clearly separates naming and scoping constraints
{ "role": { "id": "76e72a", "domain_id" = "--id--", (optional, if present, role is named by specific domain) "project_id" = "--id--", (optional, if present, role is named by project) "service_id" = "--id--", (optional, if present, role is named by service) "name": "---role_name---", (must be unique when combined with domain, project and service ids) "scope": {"id": "---id---", (resource_id) "type": "service | file | domain etc.", "endpoint":"---endpoint---" } } } regards David _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev