{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grafomem-com/json-schema/grafomem-com-write-request-schema.json",
  "title": "WriteRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grafomem-com-stores-api-openapi.yml#/components/schemas/WriteRequest",
  "properties": {
    "content": {
      "type": "string",
      "title": "Content"
    },
    "options": {
      "$ref": "#/$defs/WriteOptionsModel",
      "default": {
        "metadata": {}
      }
    }
  },
  "type": "object",
  "required": [
    "content"
  ],
  "$defs": {
    "WriteOptionsModel": {
      "properties": {
        "valid_from": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Valid From"
        },
        "tenant_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tenant Id"
        },
        "signing_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Signing Key"
        },
        "metadata": {
          "additionalProperties": true,
          "type": "object",
          "title": "Metadata"
        }
      },
      "type": "object",
      "title": "WriteOptionsModel"
    }
  }
}