ErrorResource

{
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "media_rows"
          ]
        },
        "beyond_row": {
          "type": "integer"
        }
      },
      "required": [
        "kind",
        "beyond_row"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "fresh_media"
          ]
        },
        "window_days": {
          "type": "integer"
        },
        "cutoff": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "window_days",
        "cutoff"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "sidebar_rows"
          ]
        },
        "section": {
          "type": "string",
          "enum": [
            "topics",
            "entities"
          ]
        },
        "beyond_row": {
          "type": "integer"
        }
      },
      "required": [
        "kind",
        "section",
        "beyond_row"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "counts"
          ]
        }
      },
      "required": [
        "kind"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "chart"
          ]
        }
      },
      "required": [
        "kind"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "pagination"
          ]
        },
        "param": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "offset",
            "cursor",
            null
          ]
        }
      },
      "required": [
        "kind",
        "param"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "premium_transcript"
          ]
        }
      },
      "required": [
        "kind"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "filter"
          ]
        },
        "param": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "param"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "commercial"
          ]
        },
        "what": {
          "type": "string",
          "enum": [
            "sponsors",
            "recommendations",
            "mention_details",
            "community_review",
            "paid_split"
          ]
        }
      },
      "required": [
        "kind",
        "what"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "feature"
          ]
        },
        "feature": {
          "type": "string",
          "enum": [
            "api",
            "export"
          ]
        }
      },
      "required": [
        "kind",
        "feature"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "rows"
          ]
        },
        "requested": {
          "type": [
            "integer",
            "null"
          ]
        },
        "remaining": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "requested",
        "remaining"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "key"
          ]
        },
        "scope": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "read",
            "monitors:write",
            "trackers:write",
            "recommendations:read",
            null
          ]
        }
      },
      "required": [
        "kind",
        "scope"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "requests"
          ]
        }
      },
      "required": [
        "kind"
      ]
    }
  ],
  "description": "The value the boundary withheld, not the reason it refused. kind is a closed vocabulary and the fields beside it are fixed per kind; see https://arcmira.com/docs/errors#resource-kinds."
}