{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://orbit.love/schemas/activity_and_identity.json",
  "title": "Activity And Identity",
  "description": "Orbit activity_and_identity schema",
  "type": "object",
  "properties": {
    "activity": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/activity_with_member"
        },
        {
          "$ref": "#/components/schemas/post_activity_with_member"
        }
      ]
    },
    "identity": {
      "$ref": "#/components/schemas/identity"
    }
  }
}