{
  "$id": "urn:mars:schema:v1:anchor-request",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "A request to anchor a MARS entry on the Sigil chain.",
  "properties": {
    "entryDid": {
      "description": "DID of the entry to anchor.",
      "type": "string"
    },
    "itemDataHash": {
      "description": "SHA-256 content hash of the entry's `item_data`.",
      "type": "string"
    },
    "publisherDid": {
      "description": "DID of the publisher submitting the anchor.",
      "type": "string"
    },
    "signature": {
      "description": "Ed25519 signature over the canonical anchor payload.",
      "type": "string"
    }
  },
  "required": [
    "entryDid",
    "itemDataHash",
    "publisherDid",
    "signature"
  ],
  "title": "AnchorRequest",
  "type": "object"
}
