Is it allowed to have an attribute called "links" inside "attributes"?

or is it only disallowed when it is inside a complex attribute?

example, is this allowed?

  "data": {
    "type": "articles",
    "id": "1",
    "attributes": {
      "title": "JSON API paints my bikeshed!",
      "links": {
        ... some custom stuff

Yes, that would be allowed, although perhaps a little confusing.

thx for the quick reply. yes, I also agree that would be a bit confusing. we might rethink the naming of that attribute.