{
  "definitions": {
    "Activity": {
      "$extends": "ObjectType",
      "type": "object",
      "properties": {
        "objectType": {
          "type": "string",
          "const": "activity"
        },
        "actor": {
          "$ref": "ObjectType"
        },
        "content": {
          "type": "string"
        },
        "generator": {
          "$ref": "ObjectType"
        },
        "icon": {
          "$ref": "MediaLink"
        },
        "id": {
          "type": "string"
        },
        "object": {
          "$ref": "ObjectType"
        },
        "published": {
          "format": "date-time",
          "type": "string"
        },
        "provider": {
          "$ref": "ObjectType"
        },
        "target": {
          "$ref": "ObjectType"
        },
        "title": {
          "type": "string"
        },
        "updated": {
          "format": "date-time",
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "verb": {
          "type": "string"
        }
      }
    },
    "Address": {
      "type": "object",
      "properties": {
        "formatted": {
          "type": "string"
        },
        "streetAddress": {
          "type": "string"
        },
        "locality": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "Collection": {
      "$extends": "ObjectType",
      "type": "object",
      "properties": {
        "totalItems": {
          "type": "integer"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "Activity"
          }
        },
        "url": {
          "type": "string"
        }
      }
    },
    "MediaLink": {
      "type": "object",
      "properties": {
        "duration": {
          "type": "string"
        },
        "height": {
          "type": "integer"
        },
        "url": {
          "type": "string"
        },
        "width": {
          "type": "integer"
        }
      }
    },
    "ObjectType": {
      "type": "object",
      "properties": {
        "attachments": {
          "type": "array",
          "items": {
            "$ref": "ObjectType"
          }
        },
        "author": {
          "$ref": "ObjectType"
        },
        "content": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "downstreamDuplicates": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "id": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "objectType": {
          "type": "string"
        },
        "published": {
          "format": "date-time",
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "updated": {
          "format": "date-time",
          "type": "string"
        },
        "upstreamDuplicates": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "url": {
          "type": "string"
        }
      }
    },
    "Position": {
      "type": "object",
      "properties": {
        "altitude": {
          "type": "number"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      }
    }
  },
  "$ref": "Activity"
}