{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://rekor.sigstore.dev/types/tuf/tuf_v0_0_1_schema.json",
    "title": "TUF v0.0.1 Schema",
    "description": "Schema for TUF metadata entries",
    "type": "object",
    "properties": {
        "spec_version": {
            "description": "TUF specification version",
            "type": "string",
            "readOnly": true
        },
        "metadata": {
            "description": "TUF metadata",
            "type": "object",
            "properties": {
                "content": {
                    "description": "Specifies the metadata inline within the document",
                    "type": "object",
                    "additionalProperties": true
                }
            },
            "required": [ "content" ]
        },
        "root" : {
            "description": "root metadata containing about the public keys used to sign the manifest",
            "type": "object",
            "properties": {
                "content": {
                    "description": "Specifies the metadata inline within the document",
                    "type": "object",
                    "additionalProperties": true
                }
            },
            "required": [ "content" ]
        }
    },
    "required": [ "metadata" , "root"]
}
