{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Resource",
  "title": "Resource",
  "additionalProperties": false,
  "properties": {
    "description": {
      "type": "string"
    },
    "file": {
      "format": "binary",
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "inputStream": {
      "type": "object"
    },
    "open": {
      "type": "boolean"
    },
    "readable": {
      "type": "boolean"
    },
    "uri": {
      "format": "uri",
      "type": "string"
    },
    "url": {
      "format": "url",
      "type": "string"
    }
  },
  "type": "object"
}