{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/exif/default.json",
  "title": "exif/default",
  "description": "exif (libexif) table of the EXIF tags of an image",
  "x-jsonize": {
    "definition": "exif/default",
    "version": 1
  },
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "byte_order": {
          "type": "string",
          "enum": [
            "Intel",
            "Motorola"
          ]
        }
      },
      "required": [
        "name",
        "byte_order"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tag": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "tag",
          "value"
        ]
      }
    },
    "thumbnail": {
      "type": "object",
      "properties": {
        "bytes": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "bytes"
      ]
    }
  },
  "required": [
    "file",
    "tags",
    "thumbnail"
  ]
}
