GraffitiPutObjectJSONSchema: {
    properties: {
        actor: { type: "string" };
        allowed: { items: { type: "string" }; nullable: true; type: "array" };
        channels: { items: { type: "string" }; type: "array" };
        lastModified: { type: "number" };
        name: { type: "string" };
        source: { type: "string" };
        tombstone: { type: "boolean" };
        value: { type: "object" };
    };
    required: readonly ["value", "channels"];
    type: "object";
}

A JSON Schema equivalent to the GraffitiPutObject type. Needed internally for type inference of JSON Schemas, but can be used by implementations to validate objects.

Type declaration

  • Readonlyproperties: {
        actor: { type: "string" };
        allowed: { items: { type: "string" }; nullable: true; type: "array" };
        channels: { items: { type: "string" }; type: "array" };
        lastModified: { type: "number" };
        name: { type: "string" };
        source: { type: "string" };
        tombstone: { type: "boolean" };
        value: { type: "object" };
    }
  • Readonlyrequired: readonly ["value", "channels"]
  • Readonlytype: "object"