{
  "$defs": {
    "byte_array": {
      "items": {
        "maximum": 255,
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    }
  },
  "$id": "https://raw.githubusercontent.com/lowRISC/opentitan/master/sw/host/cryptotest/testvectors/data/schemas/ed25519_schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "A list of testvectors for Ed25519 Signature Verification testing",
  "items": {
    "additionalProperties": false,
    "properties": {
      "algorithm": {
        "description": "Should be ed25519",
        "enum": [
          "ed25519"
        ],
        "type": "string"
      },
      "message": {
        "$ref": "#/$defs/byte_array",
        "description": "Message to be verified"
      },
      "operation": {
        "description": "Ed25519 operation",
        "enum": [
          "verify"
        ],
        "type": "string"
      },
      "public_key": {
        "$ref": "#/$defs/byte_array",
        "description": "Public key to use for verification"
      },
      "result": {
        "description": "Verification result",
        "type": "boolean"
      },
      "signature": {
        "$ref": "#/$defs/byte_array",
        "description": "Signature to verify"
      }
    },
    "type": "object"
  },
  "minItems": 1,
  "title": "Cryptotest Ed25519 Signature Verification Test Vector",
  "type": "array"
}