{
  "$id": "https://wllsena.github.io/flowspec2/schemas/authoring-evidence-signature-1.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "algorithm": {
      "const": "ed25519"
    },
    "evidence_digest": {
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "format": {
      "const": "flowspec2/authoring-evidence-signature@1"
    },
    "key_id": {
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "signature": {
      "pattern": "^[A-Za-z0-9+/]{86}==$",
      "type": "string"
    }
  },
  "required": [
    "format",
    "algorithm",
    "evidence_digest",
    "key_id",
    "signature"
  ],
  "title": "FlowSpec2 authoring evidence signature",
  "type": "object"
}
