{
  "x-apiture-version": "2.0.0",
  "title": "Abstract Resource (v2.0.0)",
  "description": "An abstract schema used to define other schemas for request and response bodies. This is a [HAL](https://tools.ietf.org/html/draft-kelly-json-hal-08) resource representation. This model contains hypermedia `_links`, and either optional domain object data with `_profile` and optional `_embedded` objects, or an `_error` object. In responses, if the operation was successful, this object will not include the `_error`, but if the operation was a 4xx or 5xx error, this object will not include `_embedded` or any data fields, only `_error` and optionally `_links`.",
  "allOf": [
    {
      "$ref": "https://production.api.apiture.com/schemas/common/abstractRequest/v2.0.0/model.json"
    },
    {
      "type": "object",
      "properties": {
        "_error": {
          "description": "An object which describes an error. This value is omitted if the operation succeeded without error.",
          "type": "object",
          "allOf": [
            {
              "$ref": "https://production.api.apiture.com/schemas/common/error/v2.0.0/model.json"
            }
          ]
        }
      }
    }
  ],
  "example": {
    "_profile": "{uri of resource profile.json}",
    "_links": {
      "self": {
        "href": "{uri of current resource}"
      }
    }
  }
}