Document

draft

A document associated with an estate — wills, codicils, trust deeds, and religious documents (shtar_chov, ketubah_document, nikah_nama, etc.). Type is a free string (minLength 1) to accommodate jurisdiction-specific and religious document types.

document.jsonCore Entity

Properties(9)

PropertyTypeRequiredFormatDescription
idstringuuid
typestringFree string — common values include: will, codicil, trust_deed, grant_of_probate, death_certificate, shtar_chov, ketubah_document, nikah_nama, waqfiyyah, deed_of_variation, power_of_attorney.
titlestring
fileFormatstringFile extension or format identifier (e.g. pdf, docx, jpg).
storageRefstringStorage reference (e.g. S3 URI, file path, or external system reference)
fileSizeBytesinteger
mimeTypestring
createdDatestringdate
notesstring

Referenced By

The following schemas reference this one:

Raw JSON Schema
{
  "$schema": "https://openinherit.org/v1/dialect.json",
  "$id": "https://openinherit.org/v1/document.json",
  "title": "Document",
  "description": "A document associated with an estate — wills, codicils, trust deeds, and religious documents (shtar_chov, ketubah_document, nikah_nama, etc.). Type is a free string (minLength 1) to accommodate jurisdiction-specific and religious document types.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "format": "uuid" },
    "type": {
      "type": "string",
      "minLength": 1,
      "$comment": "Free string — common values include: will, codicil, trust_deed, grant_of_probate, death_certificate, shtar_chov, ketubah_document, nikah_nama, waqfiyyah, deed_of_variation, power_of_attorney."
    },
    "title": { "type": "string" },
    "fileFormat": {
      "type": "string",
      "$comment": "File extension or format identifier (e.g. pdf, docx, jpg)."
    },
    "storageRef": {
      "type": "string",
      "description": "Storage reference (e.g. S3 URI, file path, or external system reference)"
    },
    "fileSizeBytes": {
      "type": "integer",
      "minimum": 0
    },
    "mimeType": { "type": "string" },
    "createdDate": { "type": "string", "format": "date" },
    "notes": { "type": "string" }
  },
  "required": ["id", "type", "title"],
  "patternProperties": {
    "^x-inherit-": {}
  },
  "unevaluatedProperties": false
}