{
  "$schema":"https://json-schema.org/draft/2019-09/schema#",
  "$id":"https://schema.certifaction.io/common/v1",
  "definitions":{
    "Metadata":{
      "required":[
        "filename",
        "category",
        "tags"
      ],
      "properties":{
        "filename":{
          "type":"string"
        },
        "category":{
          "type":"string"
        },
        "tags":{
          "items":{
            "type":"string"
          },
          "type":"array"
        }
      },
      "additionalProperties":false,
      "type":"object"
    },
    "Proof":{
      "required":[
      ],
      "properties":{
        "type":{
          "type":"string"
        },
        "nonce":{
          "type":"string"
        },
        "creator":{
          "type":"string"
        },
        "signatureValue":{
          "type":"string"
        }
      },
      "additionalProperties":false,
      "type":"object"
    },
    "ExternalProof": {
      "required": [
        "type",
        "signatureValue"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "signatureValue": {
          "type": "string"
        }
      },
      "additionalProperties":false,
      "type":"object"
    },
    "HashableTime":{
      "required":[
      ],
      "properties":{
        "value":{
          "type":"integer"
        }
      },
      "additionalProperties":false,
      "type":"object"
    },
    "Hash": {
      "required": [
        "algorithm",
        "value"
      ],
      "properties": {
        "algorithm": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    }
  }
}
