@astrale-os/sdk 0.6.0-beta.46 → 0.6.0-beta.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application/mutation/mutation.d.ts +22 -5
- package/dist/application/query/defined/query.d.ts +7 -3
- package/dist/application/query/handles/model.d.ts +11 -1
- package/dist/application/query/handles/model.js +16 -1
- package/dist/application/query/handles/reads.d.ts +1 -1
- package/dist/application/query/handles/reads.js +146 -14
- package/dist/application/query/handles/relations.d.ts +13 -7
- package/dist/platform/schema/kernel-compiled.d.ts +1 -1
- package/dist/platform/schema/kernel-compiled.js +1 -1
- package/docs/queries.md +17 -0
- package/package.json +6 -6
|
@@ -17,16 +17,33 @@ export interface DefinedMutation<Id extends string = string, Input = unknown, Ou
|
|
|
17
17
|
readonly '~input'?: Input;
|
|
18
18
|
readonly '~output'?: Output;
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* `defineMutation<Schema>()` given a string id first. A Mutation without `output` and one with it
|
|
22
|
+
* take separate signatures: TypeScript checks a `reject` whose parameters are typed, such as a
|
|
23
|
+
* function declared elsewhere, before an `output` whose parameters are not typed gives the output
|
|
24
|
+
* its type, so a single signature would hold that `reject` to the committed result.
|
|
25
|
+
*/
|
|
21
26
|
export interface DefinedMutationFactory<S> {
|
|
22
27
|
/**
|
|
23
|
-
* `build` writes the Mutation with the builder, naming each Class by its handle, `d.<Class
|
|
24
|
-
* `output
|
|
28
|
+
* `build` writes the Mutation with the builder, naming each Class by its handle, `d.<Class>`.
|
|
29
|
+
* Without `output`, the Mutation answers the committed result; `reject` may raise a declared
|
|
25
30
|
* error through `context.error`, which a Function that calls the Mutation re-declares.
|
|
26
31
|
*/
|
|
27
|
-
<const Id extends string, Input,
|
|
32
|
+
<const Id extends string, Input, E extends Errors = {}>(id: Id, spec: {
|
|
33
|
+
readonly build: (input: Input, d: Handles<S>, mutation: DefinedMutationBuilder<S>) => undefined;
|
|
34
|
+
readonly output?: undefined;
|
|
35
|
+
readonly reject?: (failure: MutationFailure, input: Input, context: OutputContext<S, E>) => MutationResult;
|
|
36
|
+
readonly errors?: E;
|
|
37
|
+
}): DefinedMutation<Id, Input, MutationResult, E>;
|
|
38
|
+
/**
|
|
39
|
+
* `build` writes the Mutation with the builder, naming each Class by its handle, `d.<Class>`;
|
|
40
|
+
* `output` maps the committed result, `reject` an expected refusal to the same type, and may
|
|
41
|
+
* raise a declared error through `context.error`, which a Function that calls the Mutation
|
|
42
|
+
* re-declares.
|
|
43
|
+
*/
|
|
44
|
+
<const Id extends string, Input, Output, E extends Errors = {}>(id: Id, spec: {
|
|
28
45
|
readonly build: (input: Input, d: Handles<S>, mutation: DefinedMutationBuilder<S>) => undefined;
|
|
29
|
-
readonly output
|
|
46
|
+
readonly output: (result: MutationResult, input: Input) => Output;
|
|
30
47
|
readonly reject?: (failure: MutationFailure, input: Input, context: OutputContext<S, E>) => NoInfer<Output>;
|
|
31
48
|
readonly errors?: E;
|
|
32
49
|
}): DefinedMutation<Id, Input, Output, E>;
|
|
@@ -23,7 +23,11 @@ export type FacetResult<F> = F extends Read<infer T> ? T : F extends readonly Re
|
|
|
23
23
|
export type Results<B> = B extends Read<infer T> ? T : B extends PageRead<infer T> ? Page<T> : {
|
|
24
24
|
readonly [K in keyof B]: FacetResult<B[K]>;
|
|
25
25
|
};
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* What a page Query's `output` keeps: the page shape. It bounds the output type, not `output`'s
|
|
28
|
+
* return type: inferred from an intersection, a branded value (`NodeId`, `NodePath`) loses its
|
|
29
|
+
* name, and a Domain's exported declaration would spell its brand out, which no package exports.
|
|
30
|
+
*/
|
|
27
31
|
type PageShape<B> = B extends PageRead<unknown> ? Page<unknown> : unknown;
|
|
28
32
|
/** One object type: a Domain's exported declarations spell it out, naming no SDK internal. */
|
|
29
33
|
type Flat<T> = T extends unknown ? {
|
|
@@ -124,9 +128,9 @@ export interface DefinedQueryFactory<S> {
|
|
|
124
128
|
* `output` keeps the page shape (the cursor stays the Kernel's). Its type is spelled out, not
|
|
125
129
|
* `PageQuery`: a Domain's exported declarations then name only `DefinedQuery`.
|
|
126
130
|
*/
|
|
127
|
-
<const Id extends string, I, B extends Built | PageRead<unknown> | Stepped<unknown>, O = BuiltResults<B
|
|
131
|
+
<const Id extends string, I, B extends Built | PageRead<unknown> | Stepped<unknown>, O extends PageShape<B> = BuiltResults<B> extends PageShape<B> ? BuiltResults<B> : never, E extends Errors = {}>(id: Id, spec: {
|
|
128
132
|
readonly build: (input: I, d: Handles<S>, steps: Steps) => B;
|
|
129
|
-
readonly output?: Output<S, BuiltResults<B>, I, O
|
|
133
|
+
readonly output?: Output<S, BuiltResults<B>, I, O, E> & PortableOutput<O>;
|
|
130
134
|
readonly errors?: E;
|
|
131
135
|
}): B extends PageRead<infer T> ? DefinedQuery<Id, I, O, E> & {
|
|
132
136
|
readonly '~page'?: T;
|
|
@@ -27,10 +27,15 @@ export interface End {
|
|
|
27
27
|
readonly accepts: readonly string[];
|
|
28
28
|
readonly count: string;
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* An Edge's two ends. An undirected Edge's are its two roles in declared order, which its stored
|
|
32
|
+
* ends do not keep: the Kernel stores the end with the smaller NodeId as `source`, whatever its
|
|
33
|
+
* role (ED-IDENTITY), so a role names neither stored end.
|
|
34
|
+
*/
|
|
31
35
|
export interface Ends {
|
|
32
36
|
readonly source: End;
|
|
33
37
|
readonly target: End;
|
|
38
|
+
readonly undirected: boolean;
|
|
34
39
|
}
|
|
35
40
|
/** A named to-one relation of a Class (S2). */
|
|
36
41
|
export interface Relation {
|
|
@@ -72,6 +77,11 @@ export declare class Model {
|
|
|
72
77
|
ends(edge: AnyResolvedClass): Ends;
|
|
73
78
|
/** The Classes an end accepts that the Domain can name. */
|
|
74
79
|
far(end: End): readonly AnyResolvedClass[];
|
|
80
|
+
/**
|
|
81
|
+
* Whether every Node of `classes` is one `end` accepts: each Class is one of `end`'s, or
|
|
82
|
+
* satisfies one. A Class the Domain cannot name is covered only by itself or the graph root.
|
|
83
|
+
*/
|
|
84
|
+
covers(end: End, classes: readonly string[]): boolean;
|
|
75
85
|
/** Whether an end accepts one of `classes`, or one of their parents. */
|
|
76
86
|
touches(classes: readonly AnyResolvedClass[], end: End): boolean;
|
|
77
87
|
/** The Classes a traversal of `edges` in `direction` reaches. */
|
|
@@ -101,7 +101,8 @@ export class Model {
|
|
|
101
101
|
accepts: e.accepts.map((a) => `${a.origin}:class.${a.name}`),
|
|
102
102
|
count: e.outgoing ?? e.incoming ?? e.incident ?? '',
|
|
103
103
|
});
|
|
104
|
-
const
|
|
104
|
+
const undirected = edge.definition.orientation === 'undirected';
|
|
105
|
+
const ends = { source: end(source), target: end(target), undirected };
|
|
105
106
|
this.#ends.set(edge.key, ends);
|
|
106
107
|
return ends;
|
|
107
108
|
}
|
|
@@ -109,6 +110,20 @@ export class Model {
|
|
|
109
110
|
far(end) {
|
|
110
111
|
return end.accepts.flatMap((key) => this.#byKey.get(key) ?? []);
|
|
111
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* Whether every Node of `classes` is one `end` accepts: each Class is one of `end`'s, or
|
|
115
|
+
* satisfies one. A Class the Domain cannot name is covered only by itself or the graph root.
|
|
116
|
+
*/
|
|
117
|
+
covers(end, classes) {
|
|
118
|
+
if (end.accepts.includes(NODE_ROOT))
|
|
119
|
+
return true;
|
|
120
|
+
return classes.every((key) => {
|
|
121
|
+
if (end.accepts.includes(key))
|
|
122
|
+
return true;
|
|
123
|
+
const c = this.#byKey.get(key);
|
|
124
|
+
return c !== undefined && end.accepts.some((accepted) => this.satisfies(c).has(accepted));
|
|
125
|
+
});
|
|
126
|
+
}
|
|
112
127
|
/** Whether an end accepts one of `classes`, or one of their parents. */
|
|
113
128
|
touches(classes, end) {
|
|
114
129
|
return classes.some((c) => end.accepts.some((key) => this.satisfies(c).has(key)));
|
|
@@ -30,7 +30,7 @@ declare class Exists extends Condition {
|
|
|
30
30
|
export declare class Relation {
|
|
31
31
|
#private;
|
|
32
32
|
private constructor();
|
|
33
|
-
static of(model: Model, name: string, edges: readonly AnyResolvedClass[], direction: Direction, far: readonly AnyResolvedClass[], context: Context): Relation;
|
|
33
|
+
static of(model: Model, name: string, from: readonly AnyResolvedClass[], edges: readonly AnyResolvedClass[], direction: Direction, far: readonly AnyResolvedClass[], context: Context): Relation;
|
|
34
34
|
where(conditions: unknown): Relation;
|
|
35
35
|
orderBy(keys: unknown): Relation;
|
|
36
36
|
with(relations: unknown): Relation;
|
|
@@ -207,7 +207,8 @@ export function nodeHandle(model, classes, context) {
|
|
|
207
207
|
const far = model.reached(edges, direction);
|
|
208
208
|
if (far.length === 0)
|
|
209
209
|
throw new TypeError(`${keysOf(edges).join(', ')} reaches only Classes this Domain does not declare or depend on: depend on the Domain that declares them.`);
|
|
210
|
-
|
|
210
|
+
const name = `via(${keysOf(edges).join(', ')})`;
|
|
211
|
+
return Relation.of(model, name, classes, edges, direction, far, context);
|
|
211
212
|
},
|
|
212
213
|
};
|
|
213
214
|
return handle(fixed, (name) => {
|
|
@@ -238,7 +239,7 @@ function relationNamed(model, classes, name, context) {
|
|
|
238
239
|
return undefined;
|
|
239
240
|
const edges = [...new Set(relations.map((r) => r.edge))];
|
|
240
241
|
const far = [...new Set(relations.flatMap((r) => r.far))];
|
|
241
|
-
return Relation.of(model, name, edges, relations[0].direction, far, context);
|
|
242
|
+
return Relation.of(model, name, classes, edges, relations[0].direction, far, context);
|
|
242
243
|
}
|
|
243
244
|
/** An Edge handle in a `(node, edge) =>` callback: the Properties its Edges share. */
|
|
244
245
|
function edgeHandle(model, edges, context) {
|
|
@@ -318,19 +319,56 @@ class Exists extends Condition {
|
|
|
318
319
|
this.read = read;
|
|
319
320
|
}
|
|
320
321
|
}
|
|
322
|
+
/** A Node one of `end`'s Classes accepts: an `is` of each. */
|
|
323
|
+
function acceptedBy(end) {
|
|
324
|
+
const atoms = end.accepts.map((key) => ({ op: 'is', class: key }));
|
|
325
|
+
return atoms.length === 1 ? atoms[0] : { op: 'or', operands: atoms };
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* The far role a relation along an undirected Edge Class sends, in `direction` from `from`. Its
|
|
329
|
+
* ends have no order: the Kernel follows it both ways, whatever direction is written, and a
|
|
330
|
+
* direction names a role, never a stored end. From a Node its near role accepts, the far Node
|
|
331
|
+
* takes the far role when that role accepts it, so the relation follows the Edge `incident` to a
|
|
332
|
+
* Node of the far role's Classes; when the far role accepts every Node the near one does, every
|
|
333
|
+
* far Node takes it and nothing is sent. A relation from Nodes its near role may not accept, or
|
|
334
|
+
* along several Edge Classes one of which needs that condition, is refused: one condition on the
|
|
335
|
+
* far Node cannot say it.
|
|
336
|
+
*/
|
|
337
|
+
function farRole(model, from, edges, direction) {
|
|
338
|
+
if (direction === 'incident')
|
|
339
|
+
return undefined;
|
|
340
|
+
let needed;
|
|
341
|
+
for (const edge of edges) {
|
|
342
|
+
const { source, target, undirected } = model.ends(edge);
|
|
343
|
+
if (!undirected)
|
|
344
|
+
continue;
|
|
345
|
+
const [near, far] = direction === 'outgoing' ? [source, target] : [target, source];
|
|
346
|
+
const stray = from.find((c) => !model.covers(near, [c.key]));
|
|
347
|
+
if (stray !== undefined)
|
|
348
|
+
throw new TypeError(`An undirected Edge's ends have no order: this relation reads ${edge.key} from its ${near.role} role, which does not accept ${stray.key}. Read it from a Class that role accepts, or with { direction: 'incident' }.`);
|
|
349
|
+
if (!model.covers(far, near.accepts))
|
|
350
|
+
needed = { edge, far };
|
|
351
|
+
}
|
|
352
|
+
if (needed === undefined)
|
|
353
|
+
return undefined;
|
|
354
|
+
if (edges.length > 1)
|
|
355
|
+
throw new TypeError(`An undirected Edge's ends have no order: a far Node of ${needed.edge.key} takes its ${needed.far.role} role only when that role accepts it, which one condition over several Edge Classes cannot say. Read ${needed.edge.key} with its own .via().`);
|
|
356
|
+
return acceptedBy(needed.far);
|
|
357
|
+
}
|
|
321
358
|
/** A relation from a Node: the Nodes at the far end of its Edges. */
|
|
322
359
|
export class Relation {
|
|
323
360
|
#s;
|
|
324
361
|
constructor(state) {
|
|
325
362
|
this.#s = state;
|
|
326
363
|
}
|
|
327
|
-
static of(model, name, edges, direction, far, context) {
|
|
364
|
+
static of(model, name, from, edges, direction, far, context) {
|
|
328
365
|
return new _a({
|
|
329
366
|
model,
|
|
330
367
|
name,
|
|
331
368
|
edges,
|
|
332
369
|
direction,
|
|
333
370
|
far,
|
|
371
|
+
role: farRole(model, from, edges, direction),
|
|
334
372
|
context,
|
|
335
373
|
node: Condition.ALWAYS,
|
|
336
374
|
edge: Condition.ALWAYS,
|
|
@@ -408,13 +446,23 @@ export class Relation {
|
|
|
408
446
|
throw new TypeError(DISTINCT_EDGE);
|
|
409
447
|
return this.#next({ distinct: true });
|
|
410
448
|
}
|
|
449
|
+
/** Its Traversal: along an undirected Edge whose far role needs it, `incident` to that role. */
|
|
411
450
|
#traversal(node, edge) {
|
|
451
|
+
const { role } = this.#s;
|
|
452
|
+
const conjuncts = [
|
|
453
|
+
...(role === undefined ? [] : [role]),
|
|
454
|
+
...(node.always || node.never ? [] : node.conjuncts.map((c) => c.where)),
|
|
455
|
+
];
|
|
412
456
|
return defined({
|
|
413
457
|
via: keysOf(this.#s.edges),
|
|
414
|
-
direction: this.#s.direction,
|
|
458
|
+
direction: role === undefined ? this.#s.direction : 'incident',
|
|
415
459
|
distinct: this.#s.distinct ? true : undefined,
|
|
416
460
|
edge: optional(edge),
|
|
417
|
-
node:
|
|
461
|
+
node: conjuncts.length === 0
|
|
462
|
+
? undefined
|
|
463
|
+
: conjuncts.length === 1
|
|
464
|
+
? conjuncts[0]
|
|
465
|
+
: { op: 'and', operands: conjuncts },
|
|
418
466
|
});
|
|
419
467
|
}
|
|
420
468
|
#read(verb, limit, bound) {
|
|
@@ -708,6 +756,64 @@ export class NodeSet {
|
|
|
708
756
|
}
|
|
709
757
|
}
|
|
710
758
|
_b = NodeSet;
|
|
759
|
+
/** Whether an Edge root's condition reads one of its ends. */
|
|
760
|
+
function readsEnd(where) {
|
|
761
|
+
switch (where.op) {
|
|
762
|
+
case 'source':
|
|
763
|
+
case 'target':
|
|
764
|
+
return true;
|
|
765
|
+
case 'and':
|
|
766
|
+
case 'or':
|
|
767
|
+
return where.operands.some(readsEnd);
|
|
768
|
+
case 'not':
|
|
769
|
+
return readsEnd(where.operand);
|
|
770
|
+
}
|
|
771
|
+
return false;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* An Edge root's condition with its ends exchanged. At an Edge root a condition is a connective, a
|
|
775
|
+
* condition on the Edge's Properties, or a condition on one end, whose operand is the end Node's
|
|
776
|
+
* and is kept as it is.
|
|
777
|
+
*/
|
|
778
|
+
function swapped(where) {
|
|
779
|
+
switch (where.op) {
|
|
780
|
+
case 'source':
|
|
781
|
+
return { ...where, op: 'target' };
|
|
782
|
+
case 'target':
|
|
783
|
+
return { ...where, op: 'source' };
|
|
784
|
+
case 'and':
|
|
785
|
+
case 'or':
|
|
786
|
+
return { ...where, operands: where.operands.map(swapped) };
|
|
787
|
+
case 'not':
|
|
788
|
+
return { ...where, operand: swapped(where.operand) };
|
|
789
|
+
}
|
|
790
|
+
return where;
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* The condition an undirected Edge root sends, from the one its roles are written in. Its ends
|
|
794
|
+
* have no order: the stored `source` is the end with the smaller NodeId, whatever its role. An
|
|
795
|
+
* Edge meets a condition on its roles when one pairing of its two ends with its two roles does,
|
|
796
|
+
* each role's Classes accepted at the end it takes: `or(W[roles→(source, target)],
|
|
797
|
+
* W[roles→(target, source)])`. The conjuncts that read no end are the same in both pairings and
|
|
798
|
+
* stay outside the `or`; an end's acceptance that every stored Edge meets is not written.
|
|
799
|
+
*/
|
|
800
|
+
function paired(model, ends, condition) {
|
|
801
|
+
const read = (condition.conjuncts ?? []).filter((c) => readsEnd(c.where));
|
|
802
|
+
if (read.length === 0)
|
|
803
|
+
return condition;
|
|
804
|
+
const accepted = (end, on, other) => model.covers(end, other.accepts) ? [] : [{ op: on, operand: acceptedBy(end) }];
|
|
805
|
+
const { source, target } = ends;
|
|
806
|
+
const atoms = [
|
|
807
|
+
...accepted(source, 'source', target),
|
|
808
|
+
...accepted(target, 'target', source),
|
|
809
|
+
...read.map((c) => c.where),
|
|
810
|
+
];
|
|
811
|
+
const pairing = atoms.length === 1 ? atoms[0] : { op: 'and', operands: atoms };
|
|
812
|
+
return new Condition([
|
|
813
|
+
...condition.conjuncts.filter((c) => !readsEnd(c.where)),
|
|
814
|
+
{ scope: read[0].scope, where: { op: 'or', operands: [pairing, swapped(pairing)] } },
|
|
815
|
+
], condition.narrows);
|
|
816
|
+
}
|
|
711
817
|
/** The Edges of a Class at the root of a read: its Properties, and both ends by role. */
|
|
712
818
|
export class EdgeSet {
|
|
713
819
|
#s;
|
|
@@ -764,7 +870,12 @@ export class EdgeSet {
|
|
|
764
870
|
orderBy(keys) {
|
|
765
871
|
const { edge, scope: handleScope } = this.#handle();
|
|
766
872
|
const ordering = callback(keys, 'orderBy')(edge);
|
|
767
|
-
|
|
873
|
+
const listed = orderKeys(ordering, [handleScope]);
|
|
874
|
+
const ends = this.#s.model.ends(this.#s.edge);
|
|
875
|
+
const role = listed.find((key) => key.target === 'source' || key.target === 'target')?.target;
|
|
876
|
+
if (ends.undirected && role !== undefined)
|
|
877
|
+
throw new TypeError(`An undirected Edge's ends have no order: ${this.#s.edge.key} orders by its own Properties, not by its ${ends[role].role}'s.`);
|
|
878
|
+
return this.#next({ orderBy: [...this.#s.orderBy, ...listed] });
|
|
768
879
|
}
|
|
769
880
|
pick() {
|
|
770
881
|
return this.#next({ select: 'reference' });
|
|
@@ -784,10 +895,31 @@ export class EdgeSet {
|
|
|
784
895
|
target: { role: target.role, classes: keysOf(model.far(target)), select: this.#s.select },
|
|
785
896
|
};
|
|
786
897
|
}
|
|
898
|
+
/** The condition the read sends: an undirected Edge's, over both pairings of its ends. */
|
|
899
|
+
#where() {
|
|
900
|
+
const { model, edge, where } = this.#s;
|
|
901
|
+
const ends = model.ends(edge);
|
|
902
|
+
return ends.undirected ? folding([where], ([c]) => paired(model, ends, c)) : where;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* The rows of a list, each end under its role. An undirected Edge's ends render in their stored
|
|
906
|
+
* order, which is one pairing of its roles that the read meets only when its roles accept the
|
|
907
|
+
* same Classes and its condition reads no end; any other list of it is refused.
|
|
908
|
+
*/
|
|
909
|
+
#rows(verb, limit, bound) {
|
|
910
|
+
const { model, edge, where } = this.#s;
|
|
911
|
+
const { source, target, undirected } = model.ends(edge);
|
|
912
|
+
if (undirected &&
|
|
913
|
+
!(model.covers(source, target.accepts) && model.covers(target, source.accepts)))
|
|
914
|
+
throw new TypeError(`An undirected Edge's ends have no order: a row of ${edge.key} cannot say which end is its ${source.role} and which its ${target.role}. Read the Edge from a Node with .via(), or ask exists() or count().`);
|
|
915
|
+
if (undirected && (where.written ?? []).some((c) => readsEnd(c.where)))
|
|
916
|
+
throw new TypeError(`An undirected Edge's ends have no order: a row of ${edge.key} read by a condition on its ${source.role} or ${target.role} cannot say which end meets it. Read the Edge from a Node with .via(), or ask exists() or count().`);
|
|
917
|
+
return this.#list(verb, limit, bound);
|
|
918
|
+
}
|
|
787
919
|
#list(verb, limit, bound) {
|
|
788
920
|
const s = this.#s;
|
|
789
921
|
const plan = { verb, ...(bound === undefined ? {} : { bound }), root: this.#root() };
|
|
790
|
-
return rootRead(plan,
|
|
922
|
+
return rootRead(plan, this.#where(), [], (where) => documentOf({
|
|
791
923
|
list: defined({
|
|
792
924
|
edges: [s.edge.key],
|
|
793
925
|
where: optional(where),
|
|
@@ -803,30 +935,30 @@ export class EdgeSet {
|
|
|
803
935
|
#range(verb, upTo) {
|
|
804
936
|
const s = this.#s;
|
|
805
937
|
const plan = { verb, ...(upTo === undefined ? {} : { bound: upTo }), root: this.#root() };
|
|
806
|
-
return rootRead(plan,
|
|
938
|
+
return rootRead(plan, this.#where(), [], (where) => {
|
|
807
939
|
const range = defined({ edges: [s.edge.key], where: optional(where) });
|
|
808
940
|
return documentOf(verb === 'exists' ? { exists: range } : { count: range, upTo });
|
|
809
941
|
});
|
|
810
942
|
}
|
|
811
943
|
get() {
|
|
812
|
-
return this.#
|
|
944
|
+
return this.#rows('get', 2);
|
|
813
945
|
}
|
|
814
946
|
find() {
|
|
815
|
-
return this.#
|
|
947
|
+
return this.#rows('find', 2);
|
|
816
948
|
}
|
|
817
949
|
first(n) {
|
|
818
950
|
if (n === undefined)
|
|
819
|
-
return this.#
|
|
951
|
+
return this.#rows('first', 1);
|
|
820
952
|
const bound = integer(n, 'first', 1);
|
|
821
|
-
return this.#
|
|
953
|
+
return this.#rows('firstN', bound, bound);
|
|
822
954
|
}
|
|
823
955
|
page(written) {
|
|
824
956
|
const max = integer(options(written, 'page').max, 'page({ max })', 1);
|
|
825
|
-
return this.#
|
|
957
|
+
return this.#rows('page', max, max);
|
|
826
958
|
}
|
|
827
959
|
all(written) {
|
|
828
960
|
const max = integer(options(written, 'all').max, 'all({ max })', 1);
|
|
829
|
-
return this.#
|
|
961
|
+
return this.#rows('all', max + 1, max);
|
|
830
962
|
}
|
|
831
963
|
exists() {
|
|
832
964
|
return this.#range('exists');
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
* Edge ends and the named to-one relations of a Class (S2), grouped once per Schema (D3).
|
|
3
3
|
*/
|
|
4
4
|
import type { HandleMembers } from './conditions.js';
|
|
5
|
-
import type { Cls, EdgesOf,
|
|
5
|
+
import type { Cls, EdgesOf, KeyOf, NodeClassKey, NodeRoot, OriginOf, PropNamesOf, Satisfies, Single } from './domain.js';
|
|
6
6
|
import type { RelSet } from './handles.js';
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* An Edge's two ends. An undirected Edge's are its two roles in declared order, which name neither
|
|
9
|
+
* stored end (`Model.ends`).
|
|
10
|
+
*/
|
|
8
11
|
type EndsOf<E> = E extends {
|
|
9
12
|
readonly definition: {
|
|
10
13
|
readonly endpoints: infer P;
|
|
@@ -40,9 +43,12 @@ type Touches<Sat, End> = [Extract<Sat, AcceptKeys<End>>] extends [never] ? false
|
|
|
40
43
|
/** An end names its relation only if it accepts specific Classes (S2). */
|
|
41
44
|
type Generic = NodeRoot | 'kernel.astrale.ai:class.Identity';
|
|
42
45
|
type Specific<End> = [Extract<AcceptKeys<End>, Generic>] extends [never] ? true : false;
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
/**
|
|
47
|
+
* The Class keys an Edge's source accepts, and its role. An end accepts Node Classes only: a ref
|
|
48
|
+
* whose name the types lost (`string`) matches every key, and keeps the Node Classes'.
|
|
49
|
+
*/
|
|
50
|
+
export type SourceKeys<S, E> = AcceptKeys<SourceOf<Cls<S, E>>> & NodeClassKey<S>;
|
|
51
|
+
export type TargetKeys<S, E> = AcceptKeys<TargetOf<Cls<S, E>>> & NodeClassKey<S>;
|
|
46
52
|
export type SourceRole<S, E> = RoleOf<SourceOf<Cls<S, E>>>;
|
|
47
53
|
export type TargetRole<S, E> = RoleOf<TargetOf<Cls<S, E>>>;
|
|
48
54
|
interface Candidate<N extends string, E extends string, Own extends boolean, Far extends string> {
|
|
@@ -84,7 +90,7 @@ type Shadowed<Cs> = Extract<Cs, {
|
|
|
84
90
|
* ends claim names neither: its member is a message that says so.
|
|
85
91
|
*/
|
|
86
92
|
export type RelationsOf<S, K> = Shadowed<CandidatesOf<S, Satisfies<S, K>>> extends infer Cs ? {
|
|
87
|
-
readonly [C in Cs as Exclude<NameOf<C>, PropNamesOf<Cls<S, K>> | HandleMembers>]: Single<C> extends true ? C extends Candidate<string, infer E, boolean, infer Far> ? RelSet<S, Far &
|
|
93
|
+
readonly [C in Cs as Exclude<NameOf<C>, PropNamesOf<Cls<S, K>> | HandleMembers>]: Single<C> extends true ? C extends Candidate<string, infer E, boolean, infer Far> ? RelSet<S, Far & NodeClassKey<S>, E, {}, 'value', false> : never : `✗ "${NameOf<C>}" names several relations of this Class: use .via(d.<Edge>)`;
|
|
88
94
|
} : never;
|
|
89
95
|
export interface ViaOptions {
|
|
90
96
|
readonly direction?: 'outgoing' | 'incoming' | 'incident';
|
|
@@ -94,7 +100,7 @@ type DirectionOf<S, K, E, O> = O extends {
|
|
|
94
100
|
} ? D extends 'outgoing' ? Touches<Satisfies<S, K>, SourceOf<Cls<S, E>>> extends true ? D : 'not the source' : D extends 'incoming' ? Touches<Satisfies<S, K>, TargetOf<Cls<S, E>>> extends true ? D : 'not the target' : D : Touches<Satisfies<S, K>, SourceOf<Cls<S, E>>> extends true ? Touches<Satisfies<S, K>, TargetOf<Cls<S, E>>> extends true ? 'ambiguous' : 'outgoing' : Touches<Satisfies<S, K>, TargetOf<Cls<S, E>>> extends true ? 'incoming' : 'none';
|
|
95
101
|
type FarKeys<S, E, Dir> = E extends unknown ? Dir extends 'outgoing' ? AcceptKeys<TargetOf<Cls<S, E>>> : Dir extends 'incoming' ? AcceptKeys<SourceOf<Cls<S, E>>> : AcceptKeys<TargetOf<Cls<S, E>>> | AcceptKeys<SourceOf<Cls<S, E>>> : never;
|
|
96
102
|
/** The Class keys a `.via` reaches. */
|
|
97
|
-
export type Far<S, K, E, O> = FarKeys<S, E, DirectionOf<S, K, E, O>> &
|
|
103
|
+
export type Far<S, K, E, O> = FarKeys<S, E, DirectionOf<S, K, E, O>> & NodeClassKey<S>;
|
|
98
104
|
/** A `.via` whose Edge has no end for this Class, or two, or reaches only foreign Classes. */
|
|
99
105
|
export type ViaCheck<S, K, E, O> = E extends unknown ? DirectionOf<S, K, E, O> extends 'none' ? `✗ ${E & string} has no end that accepts this Class: read it from a Class one of its ends accepts` : DirectionOf<S, K, E, O> extends `not the ${infer End}` ? `✗ this Class is not the ${End} of ${E & string}: check the direction` : DirectionOf<S, K, E, O> extends 'ambiguous' ? `✗ both ends of ${E & string} accept this Class: pass { direction }` : [Far<S, K, E, O>] extends [never] ? `✗ ${E & string} reaches only Classes this Domain does not declare or depend on: depend on the Domain that declares them` : unknown : never;
|
|
100
106
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Generated from the Kernel Schema of @astrale-os/kernel-core 1.0.0-beta.
|
|
1
|
+
/** Generated from the Kernel Schema of @astrale-os/kernel-core 1.0.0-beta.29, reduced to its Classes. Regenerate with pnpm sync:kernel-schema. */
|
|
2
2
|
export declare const kernelCompiledSchema: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Generated from the Kernel Schema of @astrale-os/kernel-core 1.0.0-beta.
|
|
1
|
+
/** Generated from the Kernel Schema of @astrale-os/kernel-core 1.0.0-beta.29, reduced to its Classes. Regenerate with pnpm sync:kernel-schema. */
|
|
2
2
|
export const kernelCompiledSchema = '{"format":"astrale.dsl.compiled-schema","version":2,"root":{"origin":"kernel.astrale.ai","revision":"sha256:88105c9e9883beb99b8169a51455a87cdad4ffb55a70bb9b45b9beee87eddba6"},"closure":[{"origin":"kernel.astrale.ai","revision":"sha256:88105c9e9883beb99b8169a51455a87cdad4ffb55a70bb9b45b9beee87eddba6","name":"Kernel","dependencies":{},"definitions":{"classes":[{"description":"The installed graph projection of a Node Class or Edge Class declaration.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Class"},"kind":"node","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Descriptable"},{"origin":"kernel.astrale.ai","kind":"class","name":"Iconable"}],"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"domain.reader"}}}]},"traverse":false},"properties":[{"name":"abstract","required":true,"ordering":"boolean","value":0},{"name":"kind","required":true,"ordering":"string","value":1}],"methods":[]},{"description":"Optional human-facing description metadata with no identity or authority semantics.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Descriptable"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"description","required":false,"ordering":"string","value":2}],"methods":[]},{"description":"A stable Domain principal and the active projection of one canonical DomainSchema revision.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Domain"},"kind":"node","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"policies":{},"properties":[{"name":"dependencyContext","required":false,"value":3},{"name":"name","required":true,"ordering":"string","value":4},{"name":"origin","required":true,"ordering":"string","value":5},{"name":"schema","required":false,"value":6},{"name":"schemaRevision","required":true,"ordering":"string","value":7}],"methods":[]},{"description":"Explicit kernel marker for Edge definitions; it carries no structural fields.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"},"kind":"edge","abstract":true,"inheritance":"open","extends":[],"orientation":"directed","endpoints":{"source":{"role":"source","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"outgoing":"0..*"},"target":{"role":"target","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"incoming":"0..*"}},"policies":{},"constraints":{},"properties":[]},{"description":"One accepted durable call of a Function, recorded as immutable facts.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Execution"},"kind":"node","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"},{"origin":"kernel.astrale.ai","kind":"class","name":"Timestamped"}],"policies":{"read":{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"execution.reader"}}},"traverse":false},"properties":[{"name":"domain","required":true,"ordering":"string","value":20},{"name":"function","required":true,"ordering":"string","value":21},{"name":"input","required":true,"value":22},{"name":"key","required":true,"ordering":"string","value":23},{"name":"principal","required":true,"ordering":"string","value":24},{"name":"receiver","required":false,"ordering":"string","value":25},{"name":"version","required":true,"ordering":"string","value":26}],"methods":[{"name":"cancel","auth":"authenticated","description":"Cancel this Execution cooperatively, or kill it without compensation when forced.","static":false,"abstract":false,"input":8,"fields":{"force":[2]},"output":{"mode":"value","value":9}},{"name":"delete","auth":"authenticated","description":"Delete the record of this Execution, then kill and purge its run.","static":false,"abstract":false,"input":10,"fields":{},"output":{"mode":"value","value":11}},{"name":"result","auth":"authenticated","description":"Wait at most waitMs, bounded by the request deadline, for the terminal outcome.","static":false,"abstract":false,"input":12,"fields":{"waitMs":[2]},"output":{"mode":"value","value":13}},{"name":"resume","auth":"authenticated","description":"Resume this paused Execution; a running Execution is unchanged.","static":false,"abstract":false,"input":14,"fields":{},"output":{"mode":"value","value":15}},{"name":"signal","auth":"authenticated","description":"Resolve the named durable promise of this Execution once.","static":false,"abstract":false,"input":16,"fields":{"name":[2],"value":[3]},"output":{"mode":"value","value":17}},{"name":"status","auth":"authenticated","description":"Read the engine state and, once terminal, the outcome of this Execution.","static":false,"abstract":false,"input":18,"fields":{},"output":{"mode":"value","value":19}}]},{"description":"An invocable resource that can carry its own Identity authority.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Function"},"kind":"node","abstract":false,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Descriptable"},{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"domain.reader"}}}]},"traverse":false},"properties":[{"name":"abstract","required":false,"ordering":"boolean","value":29},{"name":"admission","required":false,"value":30},{"name":"auth","required":true,"ordering":"string","value":31},{"name":"endpoint","required":false,"value":32},{"name":"execution","required":false,"value":33},{"name":"input","required":true,"value":34},{"name":"kind","required":true,"ordering":"string","value":35},{"name":"output","required":true,"value":36},{"name":"policy","required":false,"value":37},{"name":"static","required":false,"ordering":"boolean","value":38}],"methods":[{"name":"admit","auth":"authenticated","description":"Admit one remote path-only attempt and return its request-scoped execution target.","static":true,"abstract":false,"input":27,"fields":{"call":[2],"credential":[12],"via":[13]},"output":{"mode":"value","value":28}}]},{"description":"Optional bounded presentation icon metadata.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Iconable"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"icon","required":false,"ordering":"string","value":39}],"methods":[]},{"description":"A principal that can be authenticated and can originate persistent authority facts.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"frozen","required":false,"ordering":"boolean","value":52},{"name":"iss","required":false,"ordering":"string","value":53},{"name":"requiredClaims","required":false,"value":54},{"name":"sub","required":false,"ordering":"string","value":55}],"methods":[{"name":"can","auth":"authenticated","description":"Determine whether the current authenticated Identity satisfies one installed Policy for one object, or each of an ordered batch of at most 256 Policy and object checks.","static":true,"abstract":false,"input":40,"output":{"mode":"value","value":41}},{"name":"delegate","auth":"authenticated","description":"Issue one strictly attenuated credential from the authenticated execution principal.","static":true,"abstract":false,"input":42,"fields":{"audience":[2],"principal":[3],"ttlSeconds":[4]},"output":{"mode":"value","value":43}},{"name":"impersonate","auth":"authorized","policy":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"kind":"method","owner":{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"},"name":"impersonate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"identity.impersonator"}}}]},"description":"Issue a Kernel credential bounded by the active target Identity authority.","static":true,"abstract":false,"input":44,"fields":{"audience":[2],"identity":[3],"ttlSeconds":[4]},"output":{"mode":"value","value":45}},{"name":"mint","auth":"authenticated","description":"Issue one Kernel credential attenuated from the authenticated principal.","static":true,"abstract":false,"input":46,"fields":{"audience":[2],"ttlSeconds":[3]},"output":{"mode":"value","value":47}},{"name":"whoami","auth":"authenticated","description":"Return the Identity authenticated for this invocation.","static":true,"abstract":false,"input":48,"fields":{},"output":{"mode":"value","value":49}},{"name":"whois","auth":"authorized","policy":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"kind":"method","owner":{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"},"name":"whois"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"identity.resolver"}}}]},"description":"Resolve one issuer-and-subject Identity.","static":true,"abstract":false,"input":50,"fields":{"iss":[2],"sub":[3]},"output":{"mode":"value","value":51}}]},{"description":"Stable human-facing name metadata that never acts as a locator.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Named"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"name","required":true,"ordering":"string","value":56}],"methods":[]},{"description":"The abstract universal kernel Node Class extended by every Kernel Node Class.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Node"},"kind":"node","abstract":true,"inheritance":"open","extends":[],"policies":{},"properties":[],"methods":[]},{"description":"One closed authority relation operation administered by can_grant and can_revoke.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Operation"},"kind":"node","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Named"}],"policies":{},"properties":[],"methods":[]},{"description":"The installed graph projection of one named closed Policy declaration owned by a Domain.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Policy"},"kind":"node","abstract":false,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Descriptable"}],"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"domain.reader"}}}]},"traverse":false},"properties":[],"methods":[]},{"description":"Optional synchronization metadata for a value originating outside the local kernel.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Remotable"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"externalId","required":false,"ordering":"string","value":57},{"name":"onConflict","required":false,"ordering":"string","value":58},{"name":"updatedAt","required":false,"ordering":"instant","value":59}],"methods":[]},{"description":"An Identity whose members hold what it holds; an Identity becomes a member by extending it.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Role"},"kind":"node","abstract":false,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Descriptable"},{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"},{"origin":"kernel.astrale.ai","kind":"class","name":"Named"}],"policies":{"read":{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}}},"properties":[],"methods":[]},{"description":"Explicit lifecycle-state metadata for values whose contract declares such a state.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Statused"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"status","required":true,"ordering":"string","value":60}],"methods":[]},{"description":"Explicit creation and update timestamp metadata.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"Timestamped"},"kind":"node","abstract":true,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"policies":{},"properties":[{"name":"createdAt","required":true,"auto":{"on":["create"],"set":"instant"},"ordering":"instant","value":61},{"name":"updatedAt","required":true,"auto":{"on":["create","update"],"set":"instant"},"ordering":"instant","value":62}],"methods":[]},{"description":"A declarative browser surface that can carry its own Identity authority.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"View"},"kind":"node","abstract":false,"inheritance":"open","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Descriptable"},{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"view.reader"}}}]},"traverse":false},"properties":[{"name":"placement","required":false,"value":65}],"methods":[{"name":"resolve","auth":"authorized","policy":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"kind":"method","owner":{"origin":"kernel.astrale.ai","kind":"class","name":"View"},"name":"resolve"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"view.reader"}}}]},"description":"Deprecated: resolve the installed Views of one Domain. Read the Domain\'s View Nodes and their placement instead.","static":true,"abstract":false,"input":63,"fields":{"target":[2]},"output":{"mode":"value","value":64}}]},{"description":"An Identity may create instances of the target Class.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_create"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may delete instances of the target Class.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_delete"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may create authority edges for the target Operation.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_grant"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"operation","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Operation"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may let others extend the target Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_grant_extension"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"granter","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"grantsExtension"},"object":{"kind":"self"}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"holdsExtension"},"object":{"kind":"self"}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"revokesExtension"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"grantsExtension"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"grantsExtension"}},"constraints":{},"properties":[]},{"description":"An Identity may read complete instances of the target Class; read also permits traversal.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_read"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may remove authority edges for the target Operation.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_revoke"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"operation","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Operation"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may remove the extensions of the target Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_revoke_extension"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"granter","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"grantsExtension"},"object":{"kind":"self"}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"holdsExtension"},"object":{"kind":"self"}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"revokesExtension"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"revokesExtension"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"revokesExtension"}},"constraints":{},"properties":[]},{"description":"An Identity may use instances of the target Class as structural Query witnesses without reading their values.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_traverse"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may update instances of the target Class.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_update"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity may invoke the exact target Function declaration.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"can_use"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"identity","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"function","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Function"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":false,"traverse":false},"constraints":{},"properties":[]},{"description":"An Identity intersects its effective authority with another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"constrained_by"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"subject","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"restrict","outgoing":"0..*"},"target":{"role":"constraint","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"restrict","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}}]},"traverse":false},"constraints":{"noSelf":true,"acyclic":true},"properties":[]},{"description":"Kernel-authored attribution of a Node to the Identity whose call created it; it grants no authority by itself.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"created_by"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"resource","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"onDelete":"detach","outgoing":"0..1"},"target":{"role":"creator","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"execution.reader"}}}]},"traverse":false},"constraints":{"noSelf":true},"properties":[]},{"description":"The one View a Domain opens by default; a Domain declares at most one.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"entrypoint"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"view","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"View"}],"outgoing":"0..1"},"target":{"role":"domain","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Domain"}],"incoming":"0..1"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"view.reader"}}}]},"traverse":false},"constraints":{"noSelf":true},"properties":[]},{"description":"An Identity excludes another Identity from its effective authority.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"excluded_from"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"subject","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"restrict","outgoing":"0..*"},"target":{"role":"excluded","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"restrict","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}}]},"traverse":false},"constraints":{"noSelf":true,"acyclic":true},"properties":[]},{"description":"The protected projection of compatible Class inheritance.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"extends"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"sub","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"outgoing":"0..*"},"target":{"role":"super","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"domain.reader"}}}]},"traverse":false},"constraints":{"noSelf":true,"acyclic":true},"properties":[]},{"description":"An Identity unions its effective authority with another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"extends_with"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"subject","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"extension","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"restrict","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"grantsExtension"},"object":{"kind":"self"}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"holdsExtension"},"object":{"kind":"self"}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"revokesExtension"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"grantsExtension"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"revokesExtension"}},"constraints":{"noSelf":true,"acyclic":true},"properties":[]},{"description":"The protected projection of one Class read or traverse Policy assignment.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"governed_by"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"outgoing":"0..*"},"target":{"role":"policy","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Policy"}],"incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"mutate"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"canUseSyscall"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"function","name":"query"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"domain.reader"}}}]},"traverse":false},"constraints":{"noSelf":true},"properties":[{"name":"operations","required":true,"value":66}]},{"description":"The concrete Node Class fact fixed when a node is created.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"instance_of"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"instance","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"outgoing":"0..1"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"incoming":"0..*"}},"policies":{},"constraints":{},"properties":[]},{"description":"A Function declaration belongs to one Class for dispatch.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"method_of"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"method","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Function"}],"outgoing":"0..1"},"target":{"role":"owner","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"incoming":"0..*"}},"policies":{},"constraints":{},"properties":[{"name":"name","required":true,"ordering":"string","value":67},{"name":"static","required":true,"ordering":"boolean","value":68}]},{"description":"A schema declaration or Core node belongs to one Domain member namespace.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"of_domain"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"member","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Node"}],"outgoing":"0..1"},"target":{"role":"domain","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Domain"}],"incoming":"0..*"}},"policies":{},"constraints":{"noSelf":true},"properties":[{"name":"member","required":true,"ordering":"string","value":69}]},{"description":"A principal may call the target Function on behalf of another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"scope_call"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"principal","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"function","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Function"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"}},"constraints":{},"properties":[]},{"description":"A principal may create instances of the target Class on behalf of another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"scope_create"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"principal","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"}},"constraints":{},"properties":[]},{"description":"A principal may delete instances of the target Class on behalf of another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"scope_delete"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"principal","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"}},"constraints":{},"properties":[]},{"description":"A principal may read instances of the target Class on behalf of another Identity; read also permits traversal.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"scope_read"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"principal","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"}},"constraints":{},"properties":[]},{"description":"A principal may traverse instances of the target Class on behalf of another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"scope_traverse"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"principal","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"}},"constraints":{},"properties":[]},{"description":"A principal may update instances of the target Class on behalf of another Identity.","ref":{"origin":"kernel.astrale.ai","kind":"class","name":"scope_update"},"kind":"edge","abstract":false,"inheritance":"final","extends":[{"origin":"kernel.astrale.ai","kind":"class","name":"Edge"}],"orientation":"directed","endpoints":{"source":{"role":"principal","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Identity"}],"onDelete":"detach","outgoing":"0..*"},"target":{"role":"class","accepts":[{"origin":"kernel.astrale.ai","kind":"class","name":"Class"}],"onDelete":"detach","incoming":"0..*"}},"policies":{"read":{"anyOf":[{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"hasRole"},"object":{"kind":"ref","ref":{"origin":"kernel.astrale.ai","kind":"core","name":"authority.reader"}}},{"check":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"object":{"kind":"self"}}]},"traverse":false,"create":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"},"delete":{"origin":"kernel.astrale.ai","kind":"policy","name":"ownsScopeTarget"}},"constraints":{},"properties":[]}],"functions":[],"policies":[],"views":[],"core":[]},"facts":{"core":[]},"values":[{"root":0,"nodes":[{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"enum":["edge","node"]},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"maxLength":1000,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"items":{"type":"object"},"type":"array"},"children":{"items":1}},{"schema":{"type":"object"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"maxLength":253,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"pattern":"[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+","type":"string"},"children":{}}],"patterns":[0]},{"root":0,"nodes":[{"schema":{"type":"object"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"pattern":"sha256:[0-9a-f]{64}","type":"string"},"children":{}}],"patterns":[1]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"force":{"type":"boolean"}},"required":[],"type":"object"},"children":{"additionalProperties":1,"properties/force":2}},{"schema":false,"children":{}},{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"createdAt":{"minLength":1,"type":"string"},"detail":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"function":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"version":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"}},"required":["createdAt","function","id","state","version"],"type":"object"},{"additionalProperties":false,"properties":{"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"const":"deleted","type":"string"}},"required":["id","outcome","state"],"type":"object"}]},"children":{"anyOf/0":1,"anyOf/1":62}},{"schema":{"additionalProperties":false,"properties":{"createdAt":{"minLength":1,"type":"string"},"detail":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"function":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"version":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"}},"required":["createdAt","function","id","state","version"],"type":"object"},"children":{"additionalProperties":2,"properties/createdAt":3,"properties/detail":4,"properties/function":41,"properties/id":42,"properties/outcome":43,"properties/state":60,"properties/version":61}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"children":{"additionalProperties":5,"properties/attempt":6,"properties/class":10,"properties/command":11,"properties/expires":12,"properties/instance":13,"properties/mode":14,"properties/phase":15,"properties/progress":16,"properties/purge":20,"properties/report":24,"properties/uncertified":31,"properties/validation":37}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"children":{"additionalProperties":7,"properties/destination":8,"properties/number":9}},{"schema":false,"children":{}},{"schema":{"enum":["previous","target"],"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"enum":["immediate","noop","revalidate"],"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"enum":["attempt","draining","open","repair"],"type":"string"},"children":{}},{"schema":{"enum":["maintenance","online"],"type":"string"},"children":{}},{"schema":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"children":{"additionalProperties":17,"properties/interruptions":18,"properties/pages":19}},{"schema":false,"children":{}},{"schema":{"maximum":3,"minimum":0,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"children":{"additionalProperties":21,"properties/removed":22,"properties/total":23}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"children":{"additionalProperties":25,"properties/attempt":26,"properties/destination":27,"properties/reason":28,"properties/result":29,"properties/summary":30}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"enum":["previous","target"],"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"children":{}},{"schema":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"children":{"additionalProperties":32,"properties/operator":33,"properties/reason":34,"properties/session":35,"properties/since":36}},{"schema":false,"children":{}},{"schema":{"maxLength":64,"minLength":1,"type":"string"},"children":{}},{"schema":{"maxLength":256,"minLength":1,"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"},"children":{"additionalProperties":38,"properties/counts":39,"properties/scope":40}},{"schema":false,"children":{}},{"schema":{"enum":["exact","sample"],"type":"string"},"children":{}},{"schema":{"enum":["full","incremental"],"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":44,"anyOf/1":48,"anyOf/2":57}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":45,"properties/kind":46,"properties/value":47}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":49,"properties/error":50,"properties/kind":56}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":51,"properties/code":52,"properties/details":53,"properties/family":54,"properties/message":55}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":58,"properties/kind":59}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}},{"schema":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"children":{}},{"schema":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"const":"deleted","type":"string"}},"required":["id","outcome","state"],"type":"object"},"children":{"additionalProperties":63,"properties/id":64,"properties/outcome":65,"properties/state":82}},{"schema":false,"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":66,"anyOf/1":70,"anyOf/2":79}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":67,"properties/kind":68,"properties/value":69}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":71,"properties/error":72,"properties/kind":78}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":73,"properties/code":74,"properties/details":75,"properties/family":76,"properties/message":77}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":80,"properties/kind":81}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}},{"schema":{"const":"deleted","type":"string"},"children":{}}],"patterns":[2,3,1]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"children":{"additionalProperties":1}},{"schema":false,"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"children":{"additionalProperties":1}},{"schema":false,"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"waitMs":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":[],"type":"object"},"children":{"additionalProperties":1,"properties/waitMs":2}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":1,"anyOf/1":5,"anyOf/2":14}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":2,"properties/kind":3,"properties/value":4}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":6,"properties/error":7,"properties/kind":13}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":8,"properties/code":9,"properties/details":10,"properties/family":11,"properties/message":12}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":15,"properties/kind":16}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"children":{"additionalProperties":1}},{"schema":false,"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"createdAt":{"minLength":1,"type":"string"},"detail":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"function":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"version":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"}},"required":["createdAt","function","id","state","version"],"type":"object"},{"additionalProperties":false,"properties":{"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"const":"deleted","type":"string"}},"required":["id","outcome","state"],"type":"object"}]},"children":{"anyOf/0":1,"anyOf/1":62}},{"schema":{"additionalProperties":false,"properties":{"createdAt":{"minLength":1,"type":"string"},"detail":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"function":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"version":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"}},"required":["createdAt","function","id","state","version"],"type":"object"},"children":{"additionalProperties":2,"properties/createdAt":3,"properties/detail":4,"properties/function":41,"properties/id":42,"properties/outcome":43,"properties/state":60,"properties/version":61}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"children":{"additionalProperties":5,"properties/attempt":6,"properties/class":10,"properties/command":11,"properties/expires":12,"properties/instance":13,"properties/mode":14,"properties/phase":15,"properties/progress":16,"properties/purge":20,"properties/report":24,"properties/uncertified":31,"properties/validation":37}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"children":{"additionalProperties":7,"properties/destination":8,"properties/number":9}},{"schema":false,"children":{}},{"schema":{"enum":["previous","target"],"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"enum":["immediate","noop","revalidate"],"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"enum":["attempt","draining","open","repair"],"type":"string"},"children":{}},{"schema":{"enum":["maintenance","online"],"type":"string"},"children":{}},{"schema":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"children":{"additionalProperties":17,"properties/interruptions":18,"properties/pages":19}},{"schema":false,"children":{}},{"schema":{"maximum":3,"minimum":0,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"children":{"additionalProperties":21,"properties/removed":22,"properties/total":23}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"children":{"additionalProperties":25,"properties/attempt":26,"properties/destination":27,"properties/reason":28,"properties/result":29,"properties/summary":30}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"enum":["previous","target"],"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"children":{}},{"schema":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"children":{"additionalProperties":32,"properties/operator":33,"properties/reason":34,"properties/session":35,"properties/since":36}},{"schema":false,"children":{}},{"schema":{"maxLength":64,"minLength":1,"type":"string"},"children":{}},{"schema":{"maxLength":256,"minLength":1,"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"},"children":{"additionalProperties":38,"properties/counts":39,"properties/scope":40}},{"schema":false,"children":{}},{"schema":{"enum":["exact","sample"],"type":"string"},"children":{}},{"schema":{"enum":["full","incremental"],"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":44,"anyOf/1":48,"anyOf/2":57}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":45,"properties/kind":46,"properties/value":47}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":49,"properties/error":50,"properties/kind":56}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":51,"properties/code":52,"properties/details":53,"properties/family":54,"properties/message":55}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":58,"properties/kind":59}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}},{"schema":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"children":{}},{"schema":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"const":"deleted","type":"string"}},"required":["id","outcome","state"],"type":"object"},"children":{"additionalProperties":63,"properties/id":64,"properties/outcome":65,"properties/state":82}},{"schema":false,"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":66,"anyOf/1":70,"anyOf/2":79}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":67,"properties/kind":68,"properties/value":69}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":71,"properties/error":72,"properties/kind":78}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":73,"properties/code":74,"properties/details":75,"properties/family":76,"properties/message":77}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":80,"properties/kind":81}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}},{"schema":{"const":"deleted","type":"string"},"children":{}}],"patterns":[2,3,1]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"name":{"maxLength":128,"minLength":1,"type":"string"},"value":{}},"required":["name","value"],"type":"object"},"children":{"additionalProperties":1,"properties/name":2,"properties/value":3}},{"schema":false,"children":{}},{"schema":{"maxLength":128,"minLength":1,"type":"string"},"children":{}},{"schema":{},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"children":{"additionalProperties":1}},{"schema":false,"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"children":{"additionalProperties":1}},{"schema":false,"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"createdAt":{"minLength":1,"type":"string"},"detail":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"function":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"version":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"}},"required":["createdAt","function","id","state","version"],"type":"object"},{"additionalProperties":false,"properties":{"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"const":"deleted","type":"string"}},"required":["id","outcome","state"],"type":"object"}]},"children":{"anyOf/0":1,"anyOf/1":62}},{"schema":{"additionalProperties":false,"properties":{"createdAt":{"minLength":1,"type":"string"},"detail":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"function":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"version":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"}},"required":["createdAt","function","id","state","version"],"type":"object"},"children":{"additionalProperties":2,"properties/createdAt":3,"properties/detail":4,"properties/function":41,"properties/id":42,"properties/outcome":43,"properties/state":60,"properties/version":61}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"attempt":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"class":{"enum":["immediate","noop","revalidate"],"type":"string"},"command":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"expires":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"instance":{"enum":["attempt","draining","open","repair"],"type":"string"},"mode":{"enum":["maintenance","online"],"type":"string"},"phase":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"progress":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"purge":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"report":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"uncertified":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"validation":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"}},"required":["phase"],"type":"object"},"children":{"additionalProperties":5,"properties/attempt":6,"properties/class":10,"properties/command":11,"properties/expires":12,"properties/instance":13,"properties/mode":14,"properties/phase":15,"properties/progress":16,"properties/purge":20,"properties/report":24,"properties/uncertified":31,"properties/validation":37}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"destination":{"enum":["previous","target"],"type":"string"},"number":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["destination","number"],"type":"object"},"children":{"additionalProperties":7,"properties/destination":8,"properties/number":9}},{"schema":false,"children":{}},{"schema":{"enum":["previous","target"],"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"enum":["immediate","noop","revalidate"],"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"enum":["attempt","draining","open","repair"],"type":"string"},"children":{}},{"schema":{"enum":["maintenance","online"],"type":"string"},"children":{}},{"schema":{"enum":["activating","attempting","awaiting","cancelled","classifying","completed","draining","purging","rejected","validating"],"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"interruptions":{"maximum":3,"minimum":0,"type":"integer"},"pages":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["interruptions","pages"],"type":"object"},"children":{"additionalProperties":17,"properties/interruptions":18,"properties/pages":19}},{"schema":false,"children":{}},{"schema":{"maximum":3,"minimum":0,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"removed":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"total":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["removed"],"type":"object"},"children":{"additionalProperties":21,"properties/removed":22,"properties/total":23}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"attempt":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"destination":{"enum":["previous","target"],"type":"string"},"reason":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"result":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"summary":{}},"required":["attempt","destination","result"],"type":"object"},"children":{"additionalProperties":25,"properties/attempt":26,"properties/destination":27,"properties/reason":28,"properties/result":29,"properties/summary":30}},{"schema":false,"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}},{"schema":{"enum":["previous","target"],"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Z][A-Z0-9_]{0,63}","type":"string"},"children":{}},{"schema":{"enum":["aborted","interrupted","migration-required"],"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"operator":{"maxLength":64,"minLength":1,"type":"string"},"reason":{"maxLength":256,"minLength":1,"type":"string"},"session":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"since":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["since"],"type":"object"},"children":{"additionalProperties":32,"properties/operator":33,"properties/reason":34,"properties/session":35,"properties/since":36}},{"schema":false,"children":{}},{"schema":{"maxLength":64,"minLength":1,"type":"string"},"children":{}},{"schema":{"maxLength":256,"minLength":1,"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"counts":{"enum":["exact","sample"],"type":"string"},"scope":{"enum":["full","incremental"],"type":"string"}},"required":["counts","scope"],"type":"object"},"children":{"additionalProperties":38,"properties/counts":39,"properties/scope":40}},{"schema":false,"children":{}},{"schema":{"enum":["exact","sample"],"type":"string"},"children":{}},{"schema":{"enum":["full","incremental"],"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":44,"anyOf/1":48,"anyOf/2":57}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":45,"properties/kind":46,"properties/value":47}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":49,"properties/error":50,"properties/kind":56}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":51,"properties/code":52,"properties/details":53,"properties/family":54,"properties/message":55}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":58,"properties/kind":59}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}},{"schema":{"enum":["cancelled","completed","expired","failed","paused","pending","running","waiting"],"type":"string"},"children":{}},{"schema":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"id":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"outcome":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"state":{"const":"deleted","type":"string"}},"required":["id","outcome","state"],"type":"object"},"children":{"additionalProperties":63,"properties/id":64,"properties/outcome":65,"properties/state":82}},{"schema":false,"children":{}},{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}},{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"}]},"children":{"anyOf/0":66,"anyOf/1":70,"anyOf/2":79}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"completed","type":"string"},"value":{}},"required":["kind","value"],"type":"object"},"children":{"additionalProperties":67,"properties/kind":68,"properties/value":69}},{"schema":false,"children":{}},{"schema":{"const":"completed","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"kind":{"const":"failed","type":"string"}},"required":["error","kind"],"type":"object"},"children":{"additionalProperties":71,"properties/error":72,"properties/kind":78}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"code":{"type":"string"},"details":{},"family":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"children":{"additionalProperties":73,"properties/code":74,"properties/details":75,"properties/family":76,"properties/message":77}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"const":"failed","type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"cancelled","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":80,"properties/kind":81}},{"schema":false,"children":{}},{"schema":{"const":"cancelled","type":"string"},"children":{}},{"schema":{"const":"deleted","type":"string"},"children":{}}],"patterns":[2,3,1]},{"root":0,"nodes":[{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}}],"patterns":[3]},{"root":0,"nodes":[{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}}],"patterns":[3]},{"root":0,"nodes":[{"schema":{},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"maxLength":128,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}}],"patterns":[3]},{"root":0,"nodes":[{"schema":{"fullMatch":"[A-Za-z0-9._-]+","maxLength":255,"minLength":1,"type":"string"},"children":{}}],"patterns":[3]},{"root":0,"nodes":[{"schema":{"fullMatch":"sha256:[0-9a-f]{64}","type":"string"},"children":{}}],"patterns":[1]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"call":{"additionalProperties":false,"properties":{"input":{},"target":{"anyOf":[{"minLength":1,"type":"string"},{"additionalProperties":false,"properties":{"callable":{"minLength":1,"type":"string"},"fingerprint":{"minLength":1,"type":"string"},"instance":{"minLength":1,"type":"string"}},"required":["callable"],"type":"object"}]}},"required":["input","target"],"type":"object"},"credential":{"type":"string"},"via":{}},"required":["call"],"type":"object"},"children":{"additionalProperties":1,"properties/call":2,"properties/credential":12,"properties/via":13}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"input":{},"target":{"anyOf":[{"minLength":1,"type":"string"},{"additionalProperties":false,"properties":{"callable":{"minLength":1,"type":"string"},"fingerprint":{"minLength":1,"type":"string"},"instance":{"minLength":1,"type":"string"}},"required":["callable"],"type":"object"}]}},"required":["input","target"],"type":"object"},"children":{"additionalProperties":3,"properties/input":4,"properties/target":5}},{"schema":false,"children":{}},{"schema":{},"children":{}},{"schema":{"anyOf":[{"minLength":1,"type":"string"},{"additionalProperties":false,"properties":{"callable":{"minLength":1,"type":"string"},"fingerprint":{"minLength":1,"type":"string"},"instance":{"minLength":1,"type":"string"}},"required":["callable"],"type":"object"}]},"children":{"anyOf/0":6,"anyOf/1":7}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"callable":{"minLength":1,"type":"string"},"fingerprint":{"minLength":1,"type":"string"},"instance":{"minLength":1,"type":"string"}},"required":["callable"],"type":"object"},"children":{"additionalProperties":8,"properties/callable":9,"properties/fingerprint":10,"properties/instance":11}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"callable":{"minLength":1,"type":"string"},"definition":{"additionalProperties":false,"properties":{"class":{"minLength":1,"type":"string"},"contract":{}},"required":["class","contract"],"type":"object"},"maxAge":{"maximum":300,"minimum":1,"type":"integer"},"receiver":{"minLength":1,"type":"string"}},"required":["callable"],"type":"object"},"children":{"additionalProperties":1,"properties/callable":2,"properties/definition":3,"properties/maxAge":7,"properties/receiver":8}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"class":{"minLength":1,"type":"string"},"contract":{}},"required":["class","contract"],"type":"object"},"children":{"additionalProperties":4,"properties/class":5,"properties/contract":6}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"maximum":300,"minimum":1,"type":"integer"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"object"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"enum":["anonymous","authenticated","authorized"]},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"http":{"maxLength":2048,"minLength":1,"type":"string"},"websocket":{"maxLength":2048,"minLength":1,"type":"string"}},"required":["http"],"type":"object"},"children":{"additionalProperties":1,"properties/http":2,"properties/websocket":3}},{"schema":false,"children":{}},{"schema":{"maxLength":2048,"minLength":1,"type":"string"},"children":{}},{"schema":{"maxLength":2048,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"object"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"enum":["function","method"]},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"object"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"type":"object"},{"const":true}]},"children":{"anyOf/0":1,"anyOf/1":2}},{"schema":{"type":"object"},"children":{}},{"schema":{"const":true},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"maxLength":8000,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"object":{"minLength":1,"type":"string"},"policy":{"minLength":1,"type":"string"}},"required":["object","policy"],"type":"object"},{"additionalProperties":false,"properties":{"checks":{"items":{"additionalProperties":false,"properties":{"object":{"minLength":1,"type":"string"},"policy":{"minLength":1,"type":"string"}},"required":["object","policy"],"type":"object"},"maxItems":256,"minItems":1,"type":"array"}},"required":["checks"],"type":"object"}]},"children":{"anyOf/0":1,"anyOf/1":5}},{"schema":{"additionalProperties":false,"properties":{"object":{"minLength":1,"type":"string"},"policy":{"minLength":1,"type":"string"}},"required":["object","policy"],"type":"object"},"children":{"additionalProperties":2,"properties/object":3,"properties/policy":4}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"checks":{"items":{"additionalProperties":false,"properties":{"object":{"minLength":1,"type":"string"},"policy":{"minLength":1,"type":"string"}},"required":["object","policy"],"type":"object"},"maxItems":256,"minItems":1,"type":"array"}},"required":["checks"],"type":"object"},"children":{"additionalProperties":6,"properties/checks":7}},{"schema":false,"children":{}},{"schema":{"items":{"additionalProperties":false,"properties":{"object":{"minLength":1,"type":"string"},"policy":{"minLength":1,"type":"string"}},"required":["object","policy"],"type":"object"},"maxItems":256,"minItems":1,"type":"array"},"children":{"items":8}},{"schema":{"additionalProperties":false,"properties":{"object":{"minLength":1,"type":"string"},"policy":{"minLength":1,"type":"string"}},"required":["object","policy"],"type":"object"},"children":{"additionalProperties":9,"properties/object":10,"properties/policy":11}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"allowed":{"type":"boolean"}},"required":["allowed"],"type":"object"},{"additionalProperties":false,"properties":{"decisions":{"items":{"additionalProperties":false,"properties":{"allowed":{"type":"boolean"}},"required":["allowed"],"type":"object"},"type":"array"}},"required":["decisions"],"type":"object"}]},"children":{"anyOf/0":1,"anyOf/1":4}},{"schema":{"additionalProperties":false,"properties":{"allowed":{"type":"boolean"}},"required":["allowed"],"type":"object"},"children":{"additionalProperties":2,"properties/allowed":3}},{"schema":false,"children":{}},{"schema":{"type":"boolean"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"decisions":{"items":{"additionalProperties":false,"properties":{"allowed":{"type":"boolean"}},"required":["allowed"],"type":"object"},"type":"array"}},"required":["decisions"],"type":"object"},"children":{"additionalProperties":5,"properties/decisions":6}},{"schema":false,"children":{}},{"schema":{"items":{"additionalProperties":false,"properties":{"allowed":{"type":"boolean"}},"required":["allowed"],"type":"object"},"type":"array"},"children":{"items":7}},{"schema":{"additionalProperties":false,"properties":{"allowed":{"type":"boolean"}},"required":["allowed"],"type":"object"},"children":{"additionalProperties":8,"properties/allowed":9}},{"schema":false,"children":{}},{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"audience":{"minLength":1,"type":"string"},"principal":{"minLength":1,"type":"string"},"ttlSeconds":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["audience","principal","ttlSeconds"],"type":"object"},"children":{"additionalProperties":1,"properties/audience":2,"properties/principal":3,"properties/ttlSeconds":4}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"audience":{"minLength":1,"type":"string"},"identity":{"minLength":1,"type":"string"},"ttlSeconds":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["identity","ttlSeconds"],"type":"object"},"children":{"additionalProperties":1,"properties/audience":2,"properties/identity":3,"properties/ttlSeconds":4}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"audience":{"minLength":1,"type":"string"},"ttlSeconds":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"required":["ttlSeconds"],"type":"object"},"children":{"additionalProperties":1,"properties/audience":2,"properties/ttlSeconds":3}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"children":{"additionalProperties":1}},{"schema":false,"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"frozen":{"type":"boolean"},"id":{"minLength":1,"type":"string"},"iss":{"minLength":1,"type":"string"},"requiredClaims":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"maxItems":64,"type":"array"},"sub":{"minLength":1,"type":"string"}},"required":["frozen","id","iss","requiredClaims","sub"],"type":"object"},"children":{"additionalProperties":1,"properties/frozen":2,"properties/id":3,"properties/iss":4,"properties/requiredClaims":5,"properties/sub":21}},{"schema":false,"children":{}},{"schema":{"type":"boolean"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"maxItems":64,"type":"array"},"children":{"items":6}},{"schema":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"children":{"oneOf/0":7,"oneOf/1":12,"oneOf/2":17}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},"children":{"additionalProperties":8,"properties/claim":9,"properties/op":10,"properties/value":11}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"contains","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},"children":{"additionalProperties":13,"properties/claim":14,"properties/op":15,"properties/value":16}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"eq","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"},"children":{"additionalProperties":18,"properties/claim":19,"properties/op":20}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"exists","type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"iss":{"minLength":1,"type":"string"},"sub":{"minLength":1,"type":"string"}},"required":["iss","sub"],"type":"object"},"children":{"additionalProperties":1,"properties/iss":2,"properties/sub":3}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"anyOf":[{"additionalProperties":false,"properties":{"frozen":{"type":"boolean"},"id":{"minLength":1,"type":"string"},"iss":{"minLength":1,"type":"string"},"requiredClaims":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"maxItems":64,"type":"array"},"sub":{"minLength":1,"type":"string"}},"required":["frozen","id","iss","requiredClaims","sub"],"type":"object"},{"type":"null"}]},"children":{"anyOf/0":1,"anyOf/1":23}},{"schema":{"additionalProperties":false,"properties":{"frozen":{"type":"boolean"},"id":{"minLength":1,"type":"string"},"iss":{"minLength":1,"type":"string"},"requiredClaims":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"maxItems":64,"type":"array"},"sub":{"minLength":1,"type":"string"}},"required":["frozen","id","iss","requiredClaims","sub"],"type":"object"},"children":{"additionalProperties":2,"properties/frozen":3,"properties/id":4,"properties/iss":5,"properties/requiredClaims":6,"properties/sub":22}},{"schema":false,"children":{}},{"schema":{"type":"boolean"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"maxItems":64,"type":"array"},"children":{"items":7}},{"schema":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"children":{"oneOf/0":8,"oneOf/1":13,"oneOf/2":18}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},"children":{"additionalProperties":9,"properties/claim":10,"properties/op":11,"properties/value":12}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"contains","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},"children":{"additionalProperties":14,"properties/claim":15,"properties/op":16,"properties/value":17}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"eq","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"},"children":{"additionalProperties":19,"properties/claim":20,"properties/op":21}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"exists","type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"type":"null"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"maxItems":64,"type":"array"},"children":{"items":1}},{"schema":{"oneOf":[{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"}]},"children":{"oneOf/0":2,"oneOf/1":7,"oneOf/2":12}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"contains","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},"children":{"additionalProperties":3,"properties/claim":4,"properties/op":5,"properties/value":6}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"contains","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"eq","type":"string"},"value":{}},"required":["claim","op","value"],"type":"object"},"children":{"additionalProperties":8,"properties/claim":9,"properties/op":10,"properties/value":11}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"eq","type":"string"},"children":{}},{"schema":{},"children":{}},{"schema":{"additionalProperties":false,"properties":{"claim":{"minLength":1,"type":"string"},"op":{"const":"exists","type":"string"}},"required":["claim","op"],"type":"object"},"children":{"additionalProperties":13,"properties/claim":14,"properties/op":15}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"const":"exists","type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"maxLength":100,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"maxLength":512,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"enum":["defaults","error","merge","replace","skip"]},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"string","x-astrale-value-kind":"instant"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"enum":["active","creating","deleting","error","updating"]},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"string","x-astrale-value-kind":"instant"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"string","x-astrale-value-kind":"instant"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"target":{"minLength":1,"type":"string"}},"required":["target"],"type":"object"},"children":{"additionalProperties":1,"properties/target":2}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"snapshot":{"minLength":1,"type":"string"},"views":{"items":{"additionalProperties":false,"properties":{"declaration":{"additionalProperties":false,"properties":{"description":{"type":"string"},"target":{"additionalProperties":false,"properties":{"kind":{"const":"domain","type":"string"}},"required":["kind"],"type":"object"}},"required":["target"],"type":"object"},"handshake":{"enum":["none","shell"],"type":"string"},"host":{"additionalProperties":false,"properties":{"navigation":{"additionalProperties":false,"properties":{"external":{"additionalProperties":false,"properties":{"origins":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["origins"],"type":"object"}},"required":["external"],"type":"object"}},"required":["navigation"],"type":"object"},"href":{"minLength":1,"type":"string"},"issuer":{"minLength":1,"type":"string"},"key":{"minLength":1,"type":"string"},"release":{"minLength":1,"type":"string"},"revision":{"minLength":1,"type":"string"}},"required":["declaration","handshake","href","issuer","key","release","revision"],"type":"object"},"type":"array"}},"required":["snapshot","views"],"type":"object"},"children":{"additionalProperties":1,"properties/snapshot":2,"properties/views":3}},{"schema":false,"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"items":{"additionalProperties":false,"properties":{"declaration":{"additionalProperties":false,"properties":{"description":{"type":"string"},"target":{"additionalProperties":false,"properties":{"kind":{"const":"domain","type":"string"}},"required":["kind"],"type":"object"}},"required":["target"],"type":"object"},"handshake":{"enum":["none","shell"],"type":"string"},"host":{"additionalProperties":false,"properties":{"navigation":{"additionalProperties":false,"properties":{"external":{"additionalProperties":false,"properties":{"origins":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["origins"],"type":"object"}},"required":["external"],"type":"object"}},"required":["navigation"],"type":"object"},"href":{"minLength":1,"type":"string"},"issuer":{"minLength":1,"type":"string"},"key":{"minLength":1,"type":"string"},"release":{"minLength":1,"type":"string"},"revision":{"minLength":1,"type":"string"}},"required":["declaration","handshake","href","issuer","key","release","revision"],"type":"object"},"type":"array"},"children":{"items":4}},{"schema":{"additionalProperties":false,"properties":{"declaration":{"additionalProperties":false,"properties":{"description":{"type":"string"},"target":{"additionalProperties":false,"properties":{"kind":{"const":"domain","type":"string"}},"required":["kind"],"type":"object"}},"required":["target"],"type":"object"},"handshake":{"enum":["none","shell"],"type":"string"},"host":{"additionalProperties":false,"properties":{"navigation":{"additionalProperties":false,"properties":{"external":{"additionalProperties":false,"properties":{"origins":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["origins"],"type":"object"}},"required":["external"],"type":"object"}},"required":["navigation"],"type":"object"},"href":{"minLength":1,"type":"string"},"issuer":{"minLength":1,"type":"string"},"key":{"minLength":1,"type":"string"},"release":{"minLength":1,"type":"string"},"revision":{"minLength":1,"type":"string"}},"required":["declaration","handshake","href","issuer","key","release","revision"],"type":"object"},"children":{"additionalProperties":5,"properties/declaration":6,"properties/handshake":12,"properties/host":13,"properties/href":21,"properties/issuer":22,"properties/key":23,"properties/release":24,"properties/revision":25}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"description":{"type":"string"},"target":{"additionalProperties":false,"properties":{"kind":{"const":"domain","type":"string"}},"required":["kind"],"type":"object"}},"required":["target"],"type":"object"},"children":{"additionalProperties":7,"properties/description":8,"properties/target":9}},{"schema":false,"children":{}},{"schema":{"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"kind":{"const":"domain","type":"string"}},"required":["kind"],"type":"object"},"children":{"additionalProperties":10,"properties/kind":11}},{"schema":false,"children":{}},{"schema":{"const":"domain","type":"string"},"children":{}},{"schema":{"enum":["none","shell"],"type":"string"},"children":{}},{"schema":{"additionalProperties":false,"properties":{"navigation":{"additionalProperties":false,"properties":{"external":{"additionalProperties":false,"properties":{"origins":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["origins"],"type":"object"}},"required":["external"],"type":"object"}},"required":["navigation"],"type":"object"},"children":{"additionalProperties":14,"properties/navigation":15}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"external":{"additionalProperties":false,"properties":{"origins":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["origins"],"type":"object"}},"required":["external"],"type":"object"},"children":{"additionalProperties":16,"properties/external":17}},{"schema":false,"children":{}},{"schema":{"additionalProperties":false,"properties":{"origins":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["origins"],"type":"object"},"children":{"additionalProperties":18,"properties/origins":19}},{"schema":false,"children":{}},{"schema":{"items":{"type":"string"},"minItems":1,"type":"array"},"children":{"items":20}},{"schema":{"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}},{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"additionalProperties":false,"properties":{"handshake":{"enum":["none","shell"]},"host":{"type":"object"},"href":{"maxLength":2048,"minLength":1,"type":"string"}},"required":["handshake","href"],"type":"object"},"children":{"additionalProperties":1,"properties/handshake":2,"properties/host":3,"properties/href":4}},{"schema":false,"children":{}},{"schema":{"enum":["none","shell"]},"children":{}},{"schema":{"type":"object"},"children":{}},{"schema":{"maxLength":2048,"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"enum":[["read","traverse"],["read"],["traverse"]]},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":1,"type":"string"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"type":"boolean"},"children":{}}],"patterns":[]},{"root":0,"nodes":[{"schema":{"minLength":3,"type":"string"},"children":{}}],"patterns":[]}],"patterns":[{"source":"[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+","start":0,"states":[{"epsilon":[],"transitions":[{"to":1,"ranges":[[48,57],[97,122]]}]},{"epsilon":[2],"transitions":[]},{"epsilon":[3],"transitions":[]},{"epsilon":[4,5],"transitions":[]},{"epsilon":[132],"transitions":[]},{"epsilon":[6],"transitions":[]},{"epsilon":[7,8],"transitions":[]},{"epsilon":[130],"transitions":[]},{"epsilon":[],"transitions":[{"to":9,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,10],"transitions":[]},{"epsilon":[],"transitions":[{"to":11,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,12],"transitions":[]},{"epsilon":[],"transitions":[{"to":13,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,14],"transitions":[]},{"epsilon":[],"transitions":[{"to":15,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,16],"transitions":[]},{"epsilon":[],"transitions":[{"to":17,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,18],"transitions":[]},{"epsilon":[],"transitions":[{"to":19,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,20],"transitions":[]},{"epsilon":[],"transitions":[{"to":21,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,22],"transitions":[]},{"epsilon":[],"transitions":[{"to":23,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,24],"transitions":[]},{"epsilon":[],"transitions":[{"to":25,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,26],"transitions":[]},{"epsilon":[],"transitions":[{"to":27,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,28],"transitions":[]},{"epsilon":[],"transitions":[{"to":29,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,30],"transitions":[]},{"epsilon":[],"transitions":[{"to":31,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,32],"transitions":[]},{"epsilon":[],"transitions":[{"to":33,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,34],"transitions":[]},{"epsilon":[],"transitions":[{"to":35,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,36],"transitions":[]},{"epsilon":[],"transitions":[{"to":37,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,38],"transitions":[]},{"epsilon":[],"transitions":[{"to":39,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,40],"transitions":[]},{"epsilon":[],"transitions":[{"to":41,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,42],"transitions":[]},{"epsilon":[],"transitions":[{"to":43,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,44],"transitions":[]},{"epsilon":[],"transitions":[{"to":45,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,46],"transitions":[]},{"epsilon":[],"transitions":[{"to":47,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,48],"transitions":[]},{"epsilon":[],"transitions":[{"to":49,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,50],"transitions":[]},{"epsilon":[],"transitions":[{"to":51,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,52],"transitions":[]},{"epsilon":[],"transitions":[{"to":53,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,54],"transitions":[]},{"epsilon":[],"transitions":[{"to":55,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,56],"transitions":[]},{"epsilon":[],"transitions":[{"to":57,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,58],"transitions":[]},{"epsilon":[],"transitions":[{"to":59,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,60],"transitions":[]},{"epsilon":[],"transitions":[{"to":61,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,62],"transitions":[]},{"epsilon":[],"transitions":[{"to":63,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,64],"transitions":[]},{"epsilon":[],"transitions":[{"to":65,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,66],"transitions":[]},{"epsilon":[],"transitions":[{"to":67,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,68],"transitions":[]},{"epsilon":[],"transitions":[{"to":69,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,70],"transitions":[]},{"epsilon":[],"transitions":[{"to":71,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,72],"transitions":[]},{"epsilon":[],"transitions":[{"to":73,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,74],"transitions":[]},{"epsilon":[],"transitions":[{"to":75,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,76],"transitions":[]},{"epsilon":[],"transitions":[{"to":77,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,78],"transitions":[]},{"epsilon":[],"transitions":[{"to":79,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,80],"transitions":[]},{"epsilon":[],"transitions":[{"to":81,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,82],"transitions":[]},{"epsilon":[],"transitions":[{"to":83,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,84],"transitions":[]},{"epsilon":[],"transitions":[{"to":85,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,86],"transitions":[]},{"epsilon":[],"transitions":[{"to":87,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,88],"transitions":[]},{"epsilon":[],"transitions":[{"to":89,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,90],"transitions":[]},{"epsilon":[],"transitions":[{"to":91,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,92],"transitions":[]},{"epsilon":[],"transitions":[{"to":93,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,94],"transitions":[]},{"epsilon":[],"transitions":[{"to":95,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,96],"transitions":[]},{"epsilon":[],"transitions":[{"to":97,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,98],"transitions":[]},{"epsilon":[],"transitions":[{"to":99,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,100],"transitions":[]},{"epsilon":[],"transitions":[{"to":101,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,102],"transitions":[]},{"epsilon":[],"transitions":[{"to":103,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,104],"transitions":[]},{"epsilon":[],"transitions":[{"to":105,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,106],"transitions":[]},{"epsilon":[],"transitions":[{"to":107,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,108],"transitions":[]},{"epsilon":[],"transitions":[{"to":109,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,110],"transitions":[]},{"epsilon":[],"transitions":[{"to":111,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,112],"transitions":[]},{"epsilon":[],"transitions":[{"to":113,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,114],"transitions":[]},{"epsilon":[],"transitions":[{"to":115,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,116],"transitions":[]},{"epsilon":[],"transitions":[{"to":117,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,118],"transitions":[]},{"epsilon":[],"transitions":[{"to":119,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,120],"transitions":[]},{"epsilon":[],"transitions":[{"to":121,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,122],"transitions":[]},{"epsilon":[],"transitions":[{"to":123,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,124],"transitions":[]},{"epsilon":[],"transitions":[{"to":125,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,126],"transitions":[]},{"epsilon":[],"transitions":[{"to":127,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7,128],"transitions":[]},{"epsilon":[],"transitions":[{"to":129,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[7],"transitions":[]},{"epsilon":[],"transitions":[{"to":131,"ranges":[[48,57],[97,122]]}]},{"epsilon":[4],"transitions":[]},{"epsilon":[],"transitions":[{"to":133,"ranges":[[46,46]]}]},{"epsilon":[134],"transitions":[]},{"epsilon":[],"transitions":[{"to":135,"ranges":[[48,57],[97,122]]}]},{"epsilon":[136],"transitions":[]},{"epsilon":[137],"transitions":[]},{"epsilon":[138,139],"transitions":[]},{"epsilon":[266],"transitions":[]},{"epsilon":[140],"transitions":[]},{"epsilon":[141,142],"transitions":[]},{"epsilon":[264],"transitions":[]},{"epsilon":[],"transitions":[{"to":143,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,144],"transitions":[]},{"epsilon":[],"transitions":[{"to":145,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,146],"transitions":[]},{"epsilon":[],"transitions":[{"to":147,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,148],"transitions":[]},{"epsilon":[],"transitions":[{"to":149,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,150],"transitions":[]},{"epsilon":[],"transitions":[{"to":151,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,152],"transitions":[]},{"epsilon":[],"transitions":[{"to":153,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,154],"transitions":[]},{"epsilon":[],"transitions":[{"to":155,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,156],"transitions":[]},{"epsilon":[],"transitions":[{"to":157,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,158],"transitions":[]},{"epsilon":[],"transitions":[{"to":159,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,160],"transitions":[]},{"epsilon":[],"transitions":[{"to":161,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,162],"transitions":[]},{"epsilon":[],"transitions":[{"to":163,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,164],"transitions":[]},{"epsilon":[],"transitions":[{"to":165,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,166],"transitions":[]},{"epsilon":[],"transitions":[{"to":167,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,168],"transitions":[]},{"epsilon":[],"transitions":[{"to":169,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,170],"transitions":[]},{"epsilon":[],"transitions":[{"to":171,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,172],"transitions":[]},{"epsilon":[],"transitions":[{"to":173,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,174],"transitions":[]},{"epsilon":[],"transitions":[{"to":175,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,176],"transitions":[]},{"epsilon":[],"transitions":[{"to":177,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,178],"transitions":[]},{"epsilon":[],"transitions":[{"to":179,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,180],"transitions":[]},{"epsilon":[],"transitions":[{"to":181,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,182],"transitions":[]},{"epsilon":[],"transitions":[{"to":183,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,184],"transitions":[]},{"epsilon":[],"transitions":[{"to":185,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,186],"transitions":[]},{"epsilon":[],"transitions":[{"to":187,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,188],"transitions":[]},{"epsilon":[],"transitions":[{"to":189,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,190],"transitions":[]},{"epsilon":[],"transitions":[{"to":191,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,192],"transitions":[]},{"epsilon":[],"transitions":[{"to":193,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,194],"transitions":[]},{"epsilon":[],"transitions":[{"to":195,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,196],"transitions":[]},{"epsilon":[],"transitions":[{"to":197,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,198],"transitions":[]},{"epsilon":[],"transitions":[{"to":199,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,200],"transitions":[]},{"epsilon":[],"transitions":[{"to":201,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,202],"transitions":[]},{"epsilon":[],"transitions":[{"to":203,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,204],"transitions":[]},{"epsilon":[],"transitions":[{"to":205,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,206],"transitions":[]},{"epsilon":[],"transitions":[{"to":207,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,208],"transitions":[]},{"epsilon":[],"transitions":[{"to":209,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,210],"transitions":[]},{"epsilon":[],"transitions":[{"to":211,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,212],"transitions":[]},{"epsilon":[],"transitions":[{"to":213,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,214],"transitions":[]},{"epsilon":[],"transitions":[{"to":215,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,216],"transitions":[]},{"epsilon":[],"transitions":[{"to":217,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,218],"transitions":[]},{"epsilon":[],"transitions":[{"to":219,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,220],"transitions":[]},{"epsilon":[],"transitions":[{"to":221,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,222],"transitions":[]},{"epsilon":[],"transitions":[{"to":223,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,224],"transitions":[]},{"epsilon":[],"transitions":[{"to":225,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,226],"transitions":[]},{"epsilon":[],"transitions":[{"to":227,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,228],"transitions":[]},{"epsilon":[],"transitions":[{"to":229,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,230],"transitions":[]},{"epsilon":[],"transitions":[{"to":231,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,232],"transitions":[]},{"epsilon":[],"transitions":[{"to":233,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,234],"transitions":[]},{"epsilon":[],"transitions":[{"to":235,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,236],"transitions":[]},{"epsilon":[],"transitions":[{"to":237,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,238],"transitions":[]},{"epsilon":[],"transitions":[{"to":239,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,240],"transitions":[]},{"epsilon":[],"transitions":[{"to":241,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,242],"transitions":[]},{"epsilon":[],"transitions":[{"to":243,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,244],"transitions":[]},{"epsilon":[],"transitions":[{"to":245,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,246],"transitions":[]},{"epsilon":[],"transitions":[{"to":247,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,248],"transitions":[]},{"epsilon":[],"transitions":[{"to":249,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,250],"transitions":[]},{"epsilon":[],"transitions":[{"to":251,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,252],"transitions":[]},{"epsilon":[],"transitions":[{"to":253,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,254],"transitions":[]},{"epsilon":[],"transitions":[{"to":255,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,256],"transitions":[]},{"epsilon":[],"transitions":[{"to":257,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,258],"transitions":[]},{"epsilon":[],"transitions":[{"to":259,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,260],"transitions":[]},{"epsilon":[],"transitions":[{"to":261,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141,262],"transitions":[]},{"epsilon":[],"transitions":[{"to":263,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[141],"transitions":[]},{"epsilon":[],"transitions":[{"to":265,"ranges":[[48,57],[97,122]]}]},{"epsilon":[138],"transitions":[]},{"epsilon":[267,268],"transitions":[]},{"epsilon":[],"transitions":[],"accepting":true},{"epsilon":[],"transitions":[{"to":269,"ranges":[[46,46]]}]},{"epsilon":[270],"transitions":[]},{"epsilon":[],"transitions":[{"to":271,"ranges":[[48,57],[97,122]]}]},{"epsilon":[272],"transitions":[]},{"epsilon":[273],"transitions":[]},{"epsilon":[274,275],"transitions":[]},{"epsilon":[268,267],"transitions":[]},{"epsilon":[276],"transitions":[]},{"epsilon":[277,278],"transitions":[]},{"epsilon":[400],"transitions":[]},{"epsilon":[],"transitions":[{"to":279,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,280],"transitions":[]},{"epsilon":[],"transitions":[{"to":281,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,282],"transitions":[]},{"epsilon":[],"transitions":[{"to":283,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,284],"transitions":[]},{"epsilon":[],"transitions":[{"to":285,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,286],"transitions":[]},{"epsilon":[],"transitions":[{"to":287,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,288],"transitions":[]},{"epsilon":[],"transitions":[{"to":289,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,290],"transitions":[]},{"epsilon":[],"transitions":[{"to":291,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,292],"transitions":[]},{"epsilon":[],"transitions":[{"to":293,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,294],"transitions":[]},{"epsilon":[],"transitions":[{"to":295,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,296],"transitions":[]},{"epsilon":[],"transitions":[{"to":297,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,298],"transitions":[]},{"epsilon":[],"transitions":[{"to":299,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,300],"transitions":[]},{"epsilon":[],"transitions":[{"to":301,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,302],"transitions":[]},{"epsilon":[],"transitions":[{"to":303,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,304],"transitions":[]},{"epsilon":[],"transitions":[{"to":305,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,306],"transitions":[]},{"epsilon":[],"transitions":[{"to":307,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,308],"transitions":[]},{"epsilon":[],"transitions":[{"to":309,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,310],"transitions":[]},{"epsilon":[],"transitions":[{"to":311,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,312],"transitions":[]},{"epsilon":[],"transitions":[{"to":313,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,314],"transitions":[]},{"epsilon":[],"transitions":[{"to":315,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,316],"transitions":[]},{"epsilon":[],"transitions":[{"to":317,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,318],"transitions":[]},{"epsilon":[],"transitions":[{"to":319,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,320],"transitions":[]},{"epsilon":[],"transitions":[{"to":321,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,322],"transitions":[]},{"epsilon":[],"transitions":[{"to":323,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,324],"transitions":[]},{"epsilon":[],"transitions":[{"to":325,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,326],"transitions":[]},{"epsilon":[],"transitions":[{"to":327,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,328],"transitions":[]},{"epsilon":[],"transitions":[{"to":329,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,330],"transitions":[]},{"epsilon":[],"transitions":[{"to":331,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,332],"transitions":[]},{"epsilon":[],"transitions":[{"to":333,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,334],"transitions":[]},{"epsilon":[],"transitions":[{"to":335,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,336],"transitions":[]},{"epsilon":[],"transitions":[{"to":337,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,338],"transitions":[]},{"epsilon":[],"transitions":[{"to":339,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,340],"transitions":[]},{"epsilon":[],"transitions":[{"to":341,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,342],"transitions":[]},{"epsilon":[],"transitions":[{"to":343,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,344],"transitions":[]},{"epsilon":[],"transitions":[{"to":345,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,346],"transitions":[]},{"epsilon":[],"transitions":[{"to":347,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,348],"transitions":[]},{"epsilon":[],"transitions":[{"to":349,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,350],"transitions":[]},{"epsilon":[],"transitions":[{"to":351,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,352],"transitions":[]},{"epsilon":[],"transitions":[{"to":353,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,354],"transitions":[]},{"epsilon":[],"transitions":[{"to":355,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,356],"transitions":[]},{"epsilon":[],"transitions":[{"to":357,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,358],"transitions":[]},{"epsilon":[],"transitions":[{"to":359,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,360],"transitions":[]},{"epsilon":[],"transitions":[{"to":361,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,362],"transitions":[]},{"epsilon":[],"transitions":[{"to":363,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,364],"transitions":[]},{"epsilon":[],"transitions":[{"to":365,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,366],"transitions":[]},{"epsilon":[],"transitions":[{"to":367,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,368],"transitions":[]},{"epsilon":[],"transitions":[{"to":369,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,370],"transitions":[]},{"epsilon":[],"transitions":[{"to":371,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,372],"transitions":[]},{"epsilon":[],"transitions":[{"to":373,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,374],"transitions":[]},{"epsilon":[],"transitions":[{"to":375,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,376],"transitions":[]},{"epsilon":[],"transitions":[{"to":377,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,378],"transitions":[]},{"epsilon":[],"transitions":[{"to":379,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,380],"transitions":[]},{"epsilon":[],"transitions":[{"to":381,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,382],"transitions":[]},{"epsilon":[],"transitions":[{"to":383,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,384],"transitions":[]},{"epsilon":[],"transitions":[{"to":385,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,386],"transitions":[]},{"epsilon":[],"transitions":[{"to":387,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,388],"transitions":[]},{"epsilon":[],"transitions":[{"to":389,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,390],"transitions":[]},{"epsilon":[],"transitions":[{"to":391,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,392],"transitions":[]},{"epsilon":[],"transitions":[{"to":393,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,394],"transitions":[]},{"epsilon":[],"transitions":[{"to":395,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,396],"transitions":[]},{"epsilon":[],"transitions":[{"to":397,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277,398],"transitions":[]},{"epsilon":[],"transitions":[{"to":399,"ranges":[[45,45],[48,57],[97,122]]}]},{"epsilon":[277],"transitions":[]},{"epsilon":[],"transitions":[{"to":401,"ranges":[[48,57],[97,122]]}]},{"epsilon":[274],"transitions":[]}]},{"source":"sha256:[0-9a-f]{64}","runs":[{"ranges":[[115,115]],"minimum":1,"maximum":1},{"ranges":[[104,104]],"minimum":1,"maximum":1},{"ranges":[[97,97]],"minimum":1,"maximum":1},{"ranges":[[50,50]],"minimum":1,"maximum":1},{"ranges":[[53,53]],"minimum":1,"maximum":1},{"ranges":[[54,54]],"minimum":1,"maximum":1},{"ranges":[[58,58]],"minimum":1,"maximum":1},{"ranges":[[48,57],[97,102]],"minimum":64,"maximum":64}]},{"source":"[A-Z][A-Z0-9_]{0,63}","runs":[{"ranges":[[65,90]],"minimum":1,"maximum":1},{"ranges":[[48,57],[65,90],[95,95]],"minimum":0,"maximum":63}]},{"source":"[A-Za-z0-9._-]+","start":0,"states":[{"epsilon":[],"transitions":[{"to":1,"ranges":[[45,46],[48,57],[65,90],[95,95],[97,122]]}]},{"epsilon":[2],"transitions":[]},{"epsilon":[3,4],"transitions":[]},{"epsilon":[],"transitions":[],"accepting":true},{"epsilon":[],"transitions":[{"to":5,"ranges":[[45,46],[48,57],[65,90],[95,95],[97,122]]}]},{"epsilon":[4,3],"transitions":[]}]}]}]}';
|
package/docs/queries.md
CHANGED
|
@@ -183,6 +183,23 @@ and both ends' rows under their roles. `edgeKey(row)` gives the `{ source, targe
|
|
|
183
183
|
Mutation or a guard names an Edge by. An Edge root's `get()`, `find()` and `exists()` take no id,
|
|
184
184
|
and its `first(n)` takes no `{ more }`.
|
|
185
185
|
|
|
186
|
+
An undirected Edge's ends have no order: neither of its roles is kept at a fixed end. A condition
|
|
187
|
+
on its roles holds when one pairing of the Edge's two ends with its two roles meets the whole
|
|
188
|
+
condition, each end a Node its role accepts:
|
|
189
|
+
`d.involves.where((e) => e.person.id.eq(ada)).count({ upTo: 100 })` counts the Edges that involve
|
|
190
|
+
Ada, at either end. An undirected Edge root answers `exists()` and `count()` under any condition.
|
|
191
|
+
It lists rows only when its two roles accept the same Nodes and its condition reads neither role;
|
|
192
|
+
any other list of it, and an order key on a role's Property, throws a `TypeError`. Read those
|
|
193
|
+
Edges from a Node with `.via()`.
|
|
194
|
+
|
|
195
|
+
From a Node, a direction along an undirected Edge names a role, never a stored end:
|
|
196
|
+
`{ direction: 'outgoing' }` reads the Edges where the Node takes the first declared role and
|
|
197
|
+
answers the Nodes that take the second, `'incoming'` the reverse, and `'incident'` every Node at
|
|
198
|
+
the other end. A named relation reads its roles the same way. A relation throws a `TypeError`
|
|
199
|
+
when the role its direction names does not accept every Class it is read from, or when it reads
|
|
200
|
+
several Edge Classes and one of them can reach Nodes its far role does not accept: read that Edge
|
|
201
|
+
Class with its own `.via()`.
|
|
202
|
+
|
|
186
203
|
## Defining a Query
|
|
187
204
|
|
|
188
205
|
`defineQuery<Schema>()(id, { build, output?, errors? })` defines a Query. Its id is unique in the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/sdk",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.48",
|
|
4
4
|
"description": "Schema-first SDK for defining, composing, and deploying Astrale domains",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -258,11 +258,11 @@
|
|
|
258
258
|
"registry": "https://registry.npmjs.org/"
|
|
259
259
|
},
|
|
260
260
|
"dependencies": {
|
|
261
|
-
"@astrale-os/kernel-client": "1.0.0-beta.
|
|
262
|
-
"@astrale-os/kernel-core": "1.0.0-beta.
|
|
263
|
-
"@astrale-os/kernel-dsl": "1.0.0-beta.
|
|
264
|
-
"@astrale-os/kernel-protocol": "1.0.0-beta.
|
|
265
|
-
"@astrale-os/kernel-server": "1.0.0-beta.
|
|
261
|
+
"@astrale-os/kernel-client": "1.0.0-beta.32",
|
|
262
|
+
"@astrale-os/kernel-core": "1.0.0-beta.29",
|
|
263
|
+
"@astrale-os/kernel-dsl": "1.0.0-beta.20",
|
|
264
|
+
"@astrale-os/kernel-protocol": "1.0.0-beta.29",
|
|
265
|
+
"@astrale-os/kernel-server": "1.0.0-beta.29",
|
|
266
266
|
"@lucide/icons": "1.34.0",
|
|
267
267
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
268
268
|
"cross-spawn": "7.0.6",
|