{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/publisher-api-file-info-schema.json",
  "title": "File Information including meta data",
  "description": "FileInfo schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "relativePath": {
      "type": "string",
      "description": "relative location of the file (excluding the base context and host of the Publisher API)",
      "example": "apis/01234567-0123-0123-0123-012345678901/thumbnail"
    },
    "mediaType": {
      "type": "string",
      "description": "media-type of the file",
      "example": "image/jpeg"
    }
  }
}