Variable GraffitiPutObjectJSONSchemaConst
GraffitiPutObjectJSONSchema: {
additionalProperties: false;
properties: {
actor: { type: "string" };
allowed: { items: { type: "string" }; nullable: true; type: "array" };
channels: { items: { type: "string" }; type: "array" };
lastModified: { type: "number" };
url: { type: "string" };
value: { type: "object" };
};
required: readonly ["value", "channels"];
type: "object";
}
Type declaration
Readonly
additionalProperties: false
Readonly
properties: {
actor: { type: "string" };
allowed: { items: { type: "string" }; nullable: true; type: "array" };
channels: { items: { type: "string" }; type: "array" };
lastModified: { type: "number" };
url: { type: "string" };
value: { type: "object" };
}
Readonly
required: readonly ["value", "channels"]
Readonly
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.