Currently, the way I am determining if content is valid ActivityPub / ActivityStreams content is —
№1:
Determining if it is valid JSON.
№2:
Checking if it has a "type" field.
And that is it.
#ActivityPub #ActivityStreams #DeSo #FediDev #FediDevs #Fediverse #JSONLD