@littlebigbrain/client 0.12.0 → 0.13.1

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/schema.d.ts CHANGED
@@ -232,7 +232,7 @@ export interface paths {
232
232
  path?: never;
233
233
  cookie?: never;
234
234
  };
235
- /** Entity detail */
235
+ /** Native entity attributes and relationships from the branch-owned RDF view; unavailable provenance sections are explicitly listed */
236
236
  get: operations["get_v1_graph_entity"];
237
237
  put?: never;
238
238
  post?: never;
@@ -381,6 +381,23 @@ export interface paths {
381
381
  patch?: never;
382
382
  trace?: never;
383
383
  };
384
+ "/v1/graph/publication-status": {
385
+ parameters: {
386
+ query?: never;
387
+ header?: never;
388
+ path?: never;
389
+ cookie?: never;
390
+ };
391
+ /** Automatic publication lifecycle and exact read watermarks */
392
+ get: operations["get_v1_graph_publication_status"];
393
+ put?: never;
394
+ post?: never;
395
+ delete?: never;
396
+ options?: never;
397
+ head?: never;
398
+ patch?: never;
399
+ trace?: never;
400
+ };
384
401
  "/v1/graph/read-snapshot": {
385
402
  parameters: {
386
403
  query?: never;
@@ -432,6 +449,23 @@ export interface paths {
432
449
  patch?: never;
433
450
  trace?: never;
434
451
  };
452
+ "/v1/graph/schema-summary": {
453
+ parameters: {
454
+ query?: never;
455
+ header?: never;
456
+ path?: never;
457
+ cookie?: never;
458
+ };
459
+ /** Compact observed RDF schema attached to the immutable F3 base */
460
+ get: operations["get_v1_graph_schema_summary"];
461
+ put?: never;
462
+ post?: never;
463
+ delete?: never;
464
+ options?: never;
465
+ head?: never;
466
+ patch?: never;
467
+ trace?: never;
468
+ };
435
469
  "/v1/graph/summary": {
436
470
  parameters: {
437
471
  query?: never;
@@ -798,7 +832,7 @@ export interface paths {
798
832
  path?: never;
799
833
  cookie?: never;
800
834
  };
801
- /** Read the durable ontology-conformance report referenced by the published snapshot, including its validation watermark and ontology/shapes provenance */
835
+ /** Read the immutable branch-owned ontology-conformance sidecar selected by the F3 checksum and schema identity */
802
836
  get: operations["get_v1_ontology_conformance"];
803
837
  put?: never;
804
838
  post?: never;
@@ -817,7 +851,7 @@ export interface paths {
817
851
  };
818
852
  get?: never;
819
853
  put?: never;
820
- /** Import a custom ontology and create the scoped graph head with it; fails if the graph already exists */
854
+ /** Define or additively evolve a graph ontology, or preview the exact result without mutation */
821
855
  post: operations["post_v1_ontology_define"];
822
856
  delete?: never;
823
857
  options?: never;
@@ -1107,7 +1141,7 @@ export interface paths {
1107
1141
  };
1108
1142
  get?: never;
1109
1143
  put?: never;
1110
- /** Atomically activate a SHACL shapes bundle and enqueue durable conformance validation */
1144
+ /** Atomically activate a SHACL shapes bundle, or preview compatibility without writes or validation jobs */
1111
1145
  post: operations["post_v1_schema_publish"];
1112
1146
  delete?: never;
1113
1147
  options?: never;
@@ -1325,8 +1359,25 @@ export interface components {
1325
1359
  /** @description Whether the relation is transitive (default false). */
1326
1360
  transitive?: boolean;
1327
1361
  };
1362
+ /**
1363
+ * @description Add direct parent classes to an existing entity type. All named classes
1364
+ * must already exist, or be declared earlier in the same request with
1365
+ * `add_entity_type`. Existing links are skipped, so the op is idempotent.
1366
+ * Removing a parent is not additive and requires an explicit migration.
1367
+ */
1368
+ AddSuperTypesOp: {
1369
+ /** @description Entity type whose direct parents should grow. */
1370
+ entity_type: string;
1371
+ /**
1372
+ * @description discriminator enum property added by openapi-typescript
1373
+ * @enum {string}
1374
+ */
1375
+ op: "add_super_types";
1376
+ /** @description Direct parent entity-type names to add. */
1377
+ super_types: string[];
1378
+ };
1328
1379
  /** @description Governed proposal operation restricted to additive ontology changes. */
1329
- AdditiveOntologyEvolveOp: components["schemas"]["WidenRelationOp"] | components["schemas"]["AddEntityTypeOp"] | components["schemas"]["AddRelationOp"] | components["schemas"]["AddPropertyOp"];
1380
+ AdditiveOntologyEvolveOp: components["schemas"]["WidenRelationOp"] | components["schemas"]["AddEntityTypeOp"] | components["schemas"]["AddSuperTypesOp"] | components["schemas"]["AddRelationOp"];
1330
1381
  /** @description Additive-only ontology proposal helper for structured-output systems. */
1331
1382
  AdditiveOntologyEvolveRequest: {
1332
1383
  ops: components["schemas"]["AdditiveOntologyEvolveOp"][];
@@ -1922,12 +1973,9 @@ export interface components {
1922
1973
  };
1923
1974
  EntityDetailResponse: {
1924
1975
  /**
1925
- * @description The entity's typed scalar properties as native JSON — the flat read-back
1926
- * of what a commit's `entity_properties` wrote, so round-trip verification
1927
- * is a one-hop lookup. A numeric property reads back as a JSON number, a
1928
- * bool as a bool, a datetime as an RFC3339 string; empty when the entity
1929
- * carries no scalar attributes. The `/entities` list returns the same
1930
- * `attributes` shape under `?fields=`.
1976
+ * @description The entity's RDF-projected properties as typed JSON: numbers, booleans,
1977
+ * RFC3339 datetime strings, strings and sets. Nulls, bytes, vectors,
1978
+ * non-finite numbers and empty sets have no RDF projection and are omitted.
1931
1979
  */
1932
1980
  attributes?: {
1933
1981
  [key: string]: unknown;
@@ -1939,8 +1987,14 @@ export interface components {
1939
1987
  metadata: components["schemas"]["EntityMetadataResponse"];
1940
1988
  observations: components["schemas"]["ObservationRow"][];
1941
1989
  outgoing: components["schemas"]["GraphEdgeRow"][];
1990
+ rdf_relations?: null | components["schemas"]["EntityRdfRelations"];
1942
1991
  snapshot: components["schemas"]["SnapshotView"];
1943
1992
  truncation?: null | components["schemas"]["EntityDetailTruncation"];
1993
+ /**
1994
+ * @description Legacy sections unavailable in this read model. An empty listed section
1995
+ * means unavailable, not that the entity has no history or relationships.
1996
+ */
1997
+ unavailable_sections?: string[];
1944
1998
  };
1945
1999
  /**
1946
2000
  * @description Which of an entity read's degree-proportional collections were cut, and by
@@ -2147,6 +2201,12 @@ export interface components {
2147
2201
  remove_fields?: string[];
2148
2202
  type: string;
2149
2203
  };
2204
+ EntityRdfRelations: {
2205
+ incoming: components["schemas"]["RdfEntityRelation"][];
2206
+ incoming_truncation?: null | components["schemas"]["TruncatedCollection"];
2207
+ outgoing: components["schemas"]["RdfEntityRelation"][];
2208
+ outgoing_truncation?: null | components["schemas"]["TruncatedCollection"];
2209
+ };
2150
2210
  EntitySelector: {
2151
2211
  entity_id?: null | components["schemas"]["EntityId"];
2152
2212
  entity_type?: string | null;
@@ -3243,7 +3303,7 @@ export interface components {
3243
3303
  valid_time: components["schemas"]["ValidTime"];
3244
3304
  };
3245
3305
  /** @enum {string} */
3246
- HistoryObjectKind: "wal" | "segment" | "pending";
3306
+ HistoryObjectKind: "wal" | "segment" | "unavailable" | "pending";
3247
3307
  HybridMultiSearchExplain: {
3248
3308
  fused_candidates: number;
3249
3309
  rrf_k: string;
@@ -3758,6 +3818,12 @@ export interface components {
3758
3818
  * difference is refused with a typed error naming the route that applies it.
3759
3819
  */
3760
3820
  OntologyDefineRequest: {
3821
+ /**
3822
+ * @description Preview the exact definition without creating a graph, writing an
3823
+ * ontology object, or changing the graph head. Equivalent to the
3824
+ * `?dry_run=true` query parameter; either signal enables preview mode.
3825
+ */
3826
+ dry_run?: boolean;
3761
3827
  /** @description Import format hint. `auto` (the default) sniffs the content. */
3762
3828
  format?: string | null;
3763
3829
  /**
@@ -3773,29 +3839,28 @@ export interface components {
3773
3839
  };
3774
3840
  OntologyDefineResponse: {
3775
3841
  /**
3776
- * @description True when this call wrote a new ontology version, either by creating the
3777
- * graph or by applying an additive difference. False when the proposed
3778
- * ontology already matched the active one, which is what makes re-running
3779
- * the same bootstrap request a no-op.
3842
+ * @description True when this call wrote a new ontology version, or when a dry run
3843
+ * predicts that it would. False when the proposed ontology already matched
3844
+ * the active one, which is what makes re-running the same bootstrap request
3845
+ * a no-op.
3780
3846
  *
3781
- * This tracks what was written, so it never reports `false` for a call
3782
- * that changed the ontology: a widened relation domain or range and a new
3783
- * property field both set it, even though neither appears in the
3784
- * class-and-relation schema diff.
3847
+ * A widened relation domain or range and a new property field both set it,
3848
+ * even though neither appears in the class-and-relation schema diff.
3785
3849
  */
3786
3850
  changed?: boolean;
3787
3851
  /**
3788
- * @description The additive changes this call applied to an existing graph's ontology.
3789
- * Empty when the graph was created and when nothing changed.
3852
+ * @description The additive changes this call applied, or would apply during a dry run,
3853
+ * to an existing graph's ontology. Empty on create and no-op.
3790
3854
  */
3791
3855
  changes?: components["schemas"]["SchemaDiffEntry"][];
3856
+ /** @description True when this response is a preview and no durable state changed. */
3857
+ dry_run?: boolean;
3792
3858
  entity_types: components["schemas"]["OntologyTermView"][];
3793
3859
  format: string;
3794
3860
  graph: components["schemas"]["GraphKey"];
3795
3861
  /**
3796
- * @description True when this call created the graph head. False when the graph already
3797
- * existed, whether the ontology then changed or not. This is the `created`
3798
- * signal for the define route.
3862
+ * @description True when this call created the graph head, or when a dry run predicts
3863
+ * that the real definition would create it.
3799
3864
  */
3800
3865
  graph_created: boolean;
3801
3866
  merged_default: boolean;
@@ -3840,6 +3905,8 @@ export interface components {
3840
3905
  OntologyDraftStatus: "draft" | "validated" | "promoted" | "rejected";
3841
3906
  /** @description The full definition of one entity type (class) in the active ontology. */
3842
3907
  OntologyEntityTypeView: {
3908
+ /** @description Canonical query IRI minted by Little Big Brain for this class identity. */
3909
+ iri?: string;
3843
3910
  name: string;
3844
3911
  properties: components["schemas"]["OntologyPropertyView"][];
3845
3912
  /** Format: int64 */
@@ -3848,6 +3915,17 @@ export interface components {
3848
3915
  resolvable: boolean;
3849
3916
  /** Format: int64 */
3850
3917
  since_version: number;
3918
+ /**
3919
+ * @description Frozen class identity used by commits and the RDF projection. This is
3920
+ * unique even when imported vocabularies reuse the same local name.
3921
+ */
3922
+ stable_id?: string;
3923
+ /**
3924
+ * @description Direct parent classes (`rdfs:subClassOf`), named by their frozen
3925
+ * `stable_id`s. Clients can build the full class lattice without a SPARQL
3926
+ * scan or a second ontology lookup.
3927
+ */
3928
+ super_types?: string[];
3851
3929
  };
3852
3930
  OntologyEvidenceSample: {
3853
3931
  /** @description Stable connector/source reference; sample content is never used as identity. */
@@ -3866,7 +3944,7 @@ export interface components {
3866
3944
  * the supported "ontology evolution" path; identity-breaking changes (removals,
3867
3945
  * narrowing) still require an explicit expand→migrate→contract plan.
3868
3946
  */
3869
- OntologyEvolveOp: components["schemas"]["WidenRelationOp"] | components["schemas"]["AddEntityTypeOp"] | components["schemas"]["AddRelationOp"] | components["schemas"]["AddPropertyOp"] | components["schemas"]["SetPropertyConstraintOp"] | components["schemas"]["RenameEntityTypeOp"] | components["schemas"]["RenameRelationOp"] | components["schemas"]["SetRelationInverseOp"] | components["schemas"]["SetRelationCardinalityOp"] | components["schemas"]["NarrowRelationOp"] | components["schemas"]["RemoveEntityTypeOp"] | components["schemas"]["RemoveRelationOp"];
3947
+ OntologyEvolveOp: components["schemas"]["WidenRelationOp"] | components["schemas"]["AddEntityTypeOp"] | components["schemas"]["AddSuperTypesOp"] | components["schemas"]["AddRelationOp"] | components["schemas"]["AddPropertyOp"] | components["schemas"]["SetPropertyConstraintOp"] | components["schemas"]["RenameEntityTypeOp"] | components["schemas"]["RenameRelationOp"] | components["schemas"]["SetRelationInverseOp"] | components["schemas"]["SetRelationCardinalityOp"] | components["schemas"]["NarrowRelationOp"] | components["schemas"]["RemoveEntityTypeOp"] | components["schemas"]["RemoveRelationOp"];
3870
3948
  /**
3871
3949
  * @description Apply a list of additive ontology changes in order, writing a new ontology
3872
3950
  * version when anything actually changes. Ops are applied against the
@@ -4344,6 +4422,42 @@ export interface components {
4344
4422
  /** @description Members of an `i64_set` field; canonicalized like `keyword_set`. */
4345
4423
  i64_set: number[];
4346
4424
  };
4425
+ PublicationRetryGuidance: {
4426
+ eventual_read_available: boolean;
4427
+ message: string;
4428
+ /** Format: int64 */
4429
+ retry_after_ms: number;
4430
+ };
4431
+ /**
4432
+ * @description Server-managed publication lifecycle for one graph epoch.
4433
+ * @enum {string}
4434
+ */
4435
+ PublicationState: "current" | "queued" | "compacting" | "building" | "publishing" | "blocked";
4436
+ /**
4437
+ * @description One bounded status document for automatic exact-generation publication.
4438
+ * It is available before the first generation publishes, unlike
4439
+ * [`PublishedReadStatusResponse`], so SDKs can wait without probing SPARQL.
4440
+ */
4441
+ PublicationStatusResponse: {
4442
+ current_stage?: string | null;
4443
+ /** Format: int64 */
4444
+ epoch: number;
4445
+ /** Format: int64 */
4446
+ head_generation: number;
4447
+ head_seq: components["schemas"]["CommitSeq"];
4448
+ /** Format: int64 */
4449
+ lag_commits: number;
4450
+ /** Format: int64 */
4451
+ last_progress_at_micros: number;
4452
+ /** Format: int64 */
4453
+ published_generation?: number | null;
4454
+ published_seq: components["schemas"]["CommitSeq"];
4455
+ retry: components["schemas"]["PublicationRetryGuidance"];
4456
+ state: components["schemas"]["PublicationState"];
4457
+ /** Format: int64 */
4458
+ target_head_generation: number;
4459
+ target_seq: components["schemas"]["CommitSeq"];
4460
+ };
4347
4461
  /**
4348
4462
  * @description Whether an import's deterministic published-generation job was newly
4349
4463
  * queued or coalesced with equivalent pending work.
@@ -4467,6 +4581,56 @@ export interface components {
4467
4581
  */
4468
4582
  rerank_raw_bytes_fetched?: number;
4469
4583
  };
4584
+ RdfEntityRelation: {
4585
+ entity: components["schemas"]["EntityView"];
4586
+ relation: components["schemas"]["RelationView"];
4587
+ };
4588
+ /**
4589
+ * @description The RDF node kind of a bounded observed-schema statement object.
4590
+ * @enum {string}
4591
+ */
4592
+ RdfSchemaObjectKind: "iri" | "blank_node" | "literal";
4593
+ /** @description One OWL/RDFS vocabulary or annotation statement retained for schema UIs. */
4594
+ RdfSchemaStatement: {
4595
+ object: string;
4596
+ object_kind: components["schemas"]["RdfSchemaObjectKind"];
4597
+ predicate: string;
4598
+ subject: string;
4599
+ };
4600
+ /**
4601
+ * @description Compact, immutable observed-schema artifact attached to one exact F3 base.
4602
+ *
4603
+ * This is the overview/read-model surface for Explorer and Ontology. It is
4604
+ * produced by maintenance while publishing F3 and is therefore cheap to read:
4605
+ * no request-time graph scan or base-plus-delta assembly is required.
4606
+ */
4607
+ RdfSchemaSummaryResponse: {
4608
+ /**
4609
+ * @description Per-predicate totals of literal-valued statements, the data-property
4610
+ * sibling of `resource_predicate_counts`. `None` when the stored summary
4611
+ * artifact predates this field; the next full summary rebuild fills it.
4612
+ */
4613
+ literal_predicate_counts?: components["schemas"]["RdfSchemaTermCount"][] | null;
4614
+ /** Format: int64 */
4615
+ ontology_version: number;
4616
+ resource_predicate_counts: components["schemas"]["RdfSchemaTermCount"][];
4617
+ snapshot: components["schemas"]["SnapshotView"];
4618
+ statements: components["schemas"]["RdfSchemaStatement"][];
4619
+ truncated: boolean;
4620
+ type_counts: components["schemas"]["RdfSchemaTermCount"][];
4621
+ };
4622
+ /**
4623
+ * @description One exact RDF term count in the compact observed-schema summary.
4624
+ *
4625
+ * `term` is the complete IRI rather than a display-local name. This keeps
4626
+ * foreign vocabularies unambiguous; clients may choose their own prefix or
4627
+ * local-name presentation.
4628
+ */
4629
+ RdfSchemaTermCount: {
4630
+ /** Format: int64 */
4631
+ count: number;
4632
+ term: string;
4633
+ };
4470
4634
  /**
4471
4635
  * @description A page-region provenance anchor on a fact's evidence (region provenance
4472
4636
  * §4.1/§6.4(b) BYO import): where the evidence appears in the source
@@ -4739,6 +4903,11 @@ export interface components {
4739
4903
  };
4740
4904
  SchemaAuditResult: {
4741
4905
  component: string;
4906
+ /**
4907
+ * @description Nested results explaining a composite violation (`sh:detail`), e.g.
4908
+ * which constraint inside a `sh:node` shape the value node failed.
4909
+ */
4910
+ details?: components["schemas"]["SchemaAuditResult"][];
4742
4911
  focus_node: string;
4743
4912
  message?: string | null;
4744
4913
  result_path?: string | null;
@@ -4786,6 +4955,8 @@ export interface components {
4786
4955
  /** @enum {string} */
4787
4956
  SchemaChangeKind: "additive" | "restrictive" | "identity_breaking";
4788
4957
  SchemaClassView: {
4958
+ /** @description Canonical query IRI minted by Little Big Brain for this class identity. */
4959
+ iri?: string;
4789
4960
  name: string;
4790
4961
  property_count: number;
4791
4962
  /** Format: int64 */
@@ -4793,6 +4964,8 @@ export interface components {
4793
4964
  /** Format: int64 */
4794
4965
  since_version: number;
4795
4966
  stable_id: string;
4967
+ /** @description Direct parent classes (`rdfs:subClassOf`), named by `stable_id`. */
4968
+ super_types?: string[];
4796
4969
  };
4797
4970
  /** @enum {string} */
4798
4971
  SchemaCompatibilityVerdict: "compatible" | "restrictive" | "migration_required";
@@ -4819,6 +4992,7 @@ export interface components {
4819
4992
  ontology_version: number;
4820
4993
  /** Format: int64 */
4821
4994
  shapes_version?: number | null;
4995
+ write_enforcement?: null | components["schemas"]["SchemaWriteEnforcement"];
4822
4996
  };
4823
4997
  SchemaRelationView: {
4824
4998
  dst_types: string[];
@@ -4830,6 +5004,12 @@ export interface components {
4830
5004
  src_types: string[];
4831
5005
  stable_id: string;
4832
5006
  };
5007
+ SchemaShapeWriteEnforcement: {
5008
+ blockers?: components["schemas"]["SchemaWriteEnforcementBlocker"][];
5009
+ /** @description An active root shape: one that selects focus nodes. */
5010
+ shape: string;
5011
+ write_enforceable: boolean;
5012
+ };
4833
5013
  SchemaSource: {
4834
5014
  /**
4835
5015
  * @description Format hint for this source. Ontology sources use the ontology importer
@@ -4841,6 +5021,36 @@ export interface components {
4841
5021
  /** @description RDF or ontology document text. */
4842
5022
  source: string;
4843
5023
  };
5024
+ /** @description How the published shape set is enforced on this branch. */
5025
+ SchemaWriteEnforcement: {
5026
+ shapes: components["schemas"]["SchemaShapeWriteEnforcement"][];
5027
+ timing: components["schemas"]["SchemaWriteEnforcementTiming"];
5028
+ /**
5029
+ * @description True when no root shape has a blocker. An RDF-native branch accepts
5030
+ * `reject` mode only for such a shape set.
5031
+ */
5032
+ write_enforceable: boolean;
5033
+ };
5034
+ /**
5035
+ * @description A constraint with no bounded affected set: the engine cannot tell which
5036
+ * focus nodes a write changes its verdict for.
5037
+ */
5038
+ SchemaWriteEnforcementBlocker: {
5039
+ /**
5040
+ * @description The SHACL parameter: `sh:sparql`, or the shape reference that closes a
5041
+ * cycle (`sh:node`, `sh:property`, `sh:or`, ...).
5042
+ */
5043
+ constraint: string;
5044
+ /** @description `sparql_constraint` or `recursive_shape`. */
5045
+ reason: string;
5046
+ /** @description The shape that carries the constraint. */
5047
+ shape: string;
5048
+ };
5049
+ /**
5050
+ * @description When the engine checks the published shapes against a write.
5051
+ * @enum {string}
5052
+ */
5053
+ SchemaWriteEnforcementTiming: "write_time" | "write_time_full_scan" | "after_publication";
4844
5054
  /**
4845
5055
  * @description One scored retrieval candidate on the wire: which entity matched and its raw
4846
5056
  * (pre-calibration) score from whatever channel produced it. The entity is
@@ -5767,11 +5977,13 @@ export interface components {
5767
5977
  */
5768
5978
  SparqlCompareOp: "eq" | "ne" | "lt" | "le" | "gt" | "ge";
5769
5979
  /**
5770
- * @description RDFS entailment regime applied when projecting the graph for a conformant
5771
- * SPARQL query. Controls whether a class term matches subtype instances.
5980
+ * @description Entailment regime applied to a conformant SPARQL query. The regime is
5981
+ * evaluated at query time as a closure-driven pattern rewrite over the
5982
+ * dataset's asserted schema triples; the published dataset itself stays
5983
+ * asserted-only.
5772
5984
  * @enum {string}
5773
5985
  */
5774
- SparqlEntailment: "subclass" | "none";
5986
+ SparqlEntailment: "owl" | "rdfs" | "subclass" | "none";
5775
5987
  /**
5776
5988
  * @description A FILTER over a solution: a comparison, or a boolean composition of filters.
5777
5989
  * A comparison whose operands are unbound, incomparable, or a type mismatch is
@@ -5906,6 +6118,7 @@ export interface components {
5906
6118
  * the query into grouped/aggregated mode.
5907
6119
  */
5908
6120
  aggregates?: components["schemas"]["SparqlAggregate"][];
6121
+ as_of_commit_seq?: null | components["schemas"]["CommitSeq"];
5909
6122
  /**
5910
6123
  * @description `ASK` form: return only `boolean` (whether the pattern has any solution).
5911
6124
  * Projection, DISTINCT, and limit/offset are ignored.
@@ -5967,11 +6180,10 @@ export interface components {
5967
6180
  /** @description WHERE: the conjunctive basic graph pattern (shares the analytic engine). */
5968
6181
  patterns: components["schemas"]["AnalyticTriplePattern"][];
5969
6182
  /**
5970
- * @description Reason over the graph's stored inference rules so a pattern matches
5971
- * asserted **and** derived edges in one shot. Off by default
5972
- * (asserted-only). Public serving requires a compatible reasoned
5973
- * projection in the pinned published generation and fails closed when it
5974
- * is absent; it never forces an overlay reduce.
6183
+ * @description Not available on the published SPARQL surface: a branch's stored
6184
+ * inference rules already run at publish time, folding derived facts into
6185
+ * the asserted dataset every query reads. Requesting `reason: true`
6186
+ * returns a typed, non-retryable error.
5975
6187
  */
5976
6188
  reason?: boolean;
5977
6189
  /**
@@ -6032,10 +6244,13 @@ export interface components {
6032
6244
  * RDF graph, not a results table).
6033
6245
  */
6034
6246
  SparqlTextRequest: {
6247
+ as_of_commit_seq?: null | components["schemas"]["CommitSeq"];
6035
6248
  /**
6036
- * @description RDFS entailment regime. `None` (default) reads the asserted published
6037
- * projection. `Subclass` requires a compatible reasoned projection and
6038
- * fails closed while one is unavailable.
6249
+ * @description Entailment regime. `None` (default) matches asserted triples only.
6250
+ * `Rdfs` applies the practical RDFS core at query time, `Subclass` the
6251
+ * class-only subset, and `Owl` the OWL profile on top of `Rdfs`. All
6252
+ * derive the closure from the pinned generation's asserted schema
6253
+ * triples.
6039
6254
  */
6040
6255
  entailment?: components["schemas"]["SparqlEntailment"];
6041
6256
  /**
@@ -6048,12 +6263,10 @@ export interface components {
6048
6263
  /** @description The SPARQL query text (SELECT or ASK). */
6049
6264
  query: string;
6050
6265
  /**
6051
- * @description Reason over the branch's stored inference rules: project the rule-derived
6052
- * facts into the dataset the conformant engine runs over, so a query reasons
6053
- * over asserted **and** derived edges. Off by default; a no-op when the branch
6054
- * has no stored rules. Combine with `entailment: subclass` for full
6055
- * reasoning—rule-derived facts plus `rdfs:subClassOf` type closure—once
6056
- * maintenance publishes a compatible reasoned projection.
6266
+ * @description Not available on the published SPARQL surface: a branch's stored
6267
+ * inference rules already run at publish time, folding derived facts into
6268
+ * the asserted dataset every query reads. Requesting `reason: true`
6269
+ * returns a typed, non-retryable error.
6057
6270
  */
6058
6271
  reason?: boolean;
6059
6272
  };
@@ -8616,6 +8829,14 @@ export interface operations {
8616
8829
  type?: string;
8617
8830
  /** @description Entity canonical name for name-addressed lookup */
8618
8831
  name?: string;
8832
+ /** @description External entity key; takes precedence over name */
8833
+ key?: string;
8834
+ /** @description strong or eventual (default); strong includes the exact durable delta suffix */
8835
+ consistency?: string;
8836
+ /** @description Retained commit sequence; valid-time as_of is unsupported */
8837
+ as_of_commit_seq?: string;
8838
+ /** @description Maximum RDF relationships per direction (default 1000, ceiling 10000) */
8839
+ edges?: string;
8619
8840
  };
8620
8841
  header?: {
8621
8842
  /** @description API contract version to pin. Use `2026-07-23` for this beta-breaking shape. */
@@ -10068,7 +10289,7 @@ export interface operations {
10068
10289
  blank_node_scope?: string;
10069
10290
  /** @description Entity type name for imported RDF resources (default Resource) */
10070
10291
  resource_type?: string;
10071
- /** @description Set false to defer the published-generation enqueue; send build=false on every chunk except the last of a chunked bulk stream. Default true. */
10292
+ /** @description Set false on intermediate chunks to defer eager publication. Each request still atomically commits a compacted truth segment and exact per-commit F3 delta; graph reconstruction, SHACL, and complete F3 construction run off-path. The server advances one coalesced safety fence when the deferred delta tail reaches 8 entries or 32 MiB, so a large stream cannot wedge itself. Omit build=false on the final chunk to advance the final fence. Default true. */
10072
10293
  build?: string;
10073
10294
  };
10074
10295
  header?: {
@@ -10337,6 +10558,142 @@ export interface operations {
10337
10558
  };
10338
10559
  };
10339
10560
  };
10561
+ get_v1_graph_publication_status: {
10562
+ parameters: {
10563
+ query?: {
10564
+ /** @description Graph name (default `main`) */
10565
+ graph?: string;
10566
+ /** @description Branch name (default `main`) */
10567
+ branch?: string;
10568
+ };
10569
+ header?: {
10570
+ /** @description API contract version to pin. Use `2026-07-23` for this beta-breaking shape. */
10571
+ "Lbb-Version"?: string;
10572
+ };
10573
+ path?: never;
10574
+ cookie?: never;
10575
+ };
10576
+ requestBody?: never;
10577
+ responses: {
10578
+ /** @description OK */
10579
+ 200: {
10580
+ headers: {
10581
+ /** @description API contract version used for the response */
10582
+ "Lbb-Version"?: string;
10583
+ /** @description Request correlation id */
10584
+ "X-Request-Id"?: string;
10585
+ [name: string]: unknown;
10586
+ };
10587
+ content: {
10588
+ "application/json": components["schemas"]["PublicationStatusResponse"];
10589
+ };
10590
+ };
10591
+ /** @description Bad request */
10592
+ 400: {
10593
+ headers: {
10594
+ /** @description API contract version used for the response */
10595
+ "Lbb-Version"?: string;
10596
+ /** @description Request correlation id */
10597
+ "X-Request-Id"?: string;
10598
+ [name: string]: unknown;
10599
+ };
10600
+ content: {
10601
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10602
+ };
10603
+ };
10604
+ /** @description Unauthorized */
10605
+ 401: {
10606
+ headers: {
10607
+ /** @description API contract version used for the response */
10608
+ "Lbb-Version"?: string;
10609
+ /** @description Request correlation id */
10610
+ "X-Request-Id"?: string;
10611
+ [name: string]: unknown;
10612
+ };
10613
+ content: {
10614
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10615
+ };
10616
+ };
10617
+ /** @description Forbidden */
10618
+ 403: {
10619
+ headers: {
10620
+ /** @description API contract version used for the response */
10621
+ "Lbb-Version"?: string;
10622
+ /** @description Request correlation id */
10623
+ "X-Request-Id"?: string;
10624
+ [name: string]: unknown;
10625
+ };
10626
+ content: {
10627
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10628
+ };
10629
+ };
10630
+ /** @description Not found */
10631
+ 404: {
10632
+ headers: {
10633
+ /** @description API contract version used for the response */
10634
+ "Lbb-Version"?: string;
10635
+ /** @description Request correlation id */
10636
+ "X-Request-Id"?: string;
10637
+ [name: string]: unknown;
10638
+ };
10639
+ content: {
10640
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10641
+ };
10642
+ };
10643
+ /** @description Conflict */
10644
+ 409: {
10645
+ headers: {
10646
+ /** @description API contract version used for the response */
10647
+ "Lbb-Version"?: string;
10648
+ /** @description Request correlation id */
10649
+ "X-Request-Id"?: string;
10650
+ [name: string]: unknown;
10651
+ };
10652
+ content: {
10653
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10654
+ };
10655
+ };
10656
+ /** @description Rate limit exceeded */
10657
+ 429: {
10658
+ headers: {
10659
+ /** @description API contract version used for the response */
10660
+ "Lbb-Version"?: string;
10661
+ /** @description Request correlation id */
10662
+ "X-Request-Id"?: string;
10663
+ [name: string]: unknown;
10664
+ };
10665
+ content: {
10666
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10667
+ };
10668
+ };
10669
+ /** @description Internal server error */
10670
+ 500: {
10671
+ headers: {
10672
+ /** @description API contract version used for the response */
10673
+ "Lbb-Version"?: string;
10674
+ /** @description Request correlation id */
10675
+ "X-Request-Id"?: string;
10676
+ [name: string]: unknown;
10677
+ };
10678
+ content: {
10679
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10680
+ };
10681
+ };
10682
+ /** @description Service unavailable */
10683
+ 503: {
10684
+ headers: {
10685
+ /** @description API contract version used for the response */
10686
+ "Lbb-Version"?: string;
10687
+ /** @description Request correlation id */
10688
+ "X-Request-Id"?: string;
10689
+ [name: string]: unknown;
10690
+ };
10691
+ content: {
10692
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
10693
+ };
10694
+ };
10695
+ };
10696
+ };
10340
10697
  get_v1_graph_read_snapshot: {
10341
10698
  parameters: {
10342
10699
  query?: {
@@ -10761,6 +11118,142 @@ export interface operations {
10761
11118
  };
10762
11119
  };
10763
11120
  };
11121
+ get_v1_graph_schema_summary: {
11122
+ parameters: {
11123
+ query?: {
11124
+ /** @description Graph name (default `main`) */
11125
+ graph?: string;
11126
+ /** @description Branch name (default `main`) */
11127
+ branch?: string;
11128
+ };
11129
+ header?: {
11130
+ /** @description API contract version to pin. Use `2026-07-23` for this beta-breaking shape. */
11131
+ "Lbb-Version"?: string;
11132
+ };
11133
+ path?: never;
11134
+ cookie?: never;
11135
+ };
11136
+ requestBody?: never;
11137
+ responses: {
11138
+ /** @description OK */
11139
+ 200: {
11140
+ headers: {
11141
+ /** @description API contract version used for the response */
11142
+ "Lbb-Version"?: string;
11143
+ /** @description Request correlation id */
11144
+ "X-Request-Id"?: string;
11145
+ [name: string]: unknown;
11146
+ };
11147
+ content: {
11148
+ "application/json": components["schemas"]["RdfSchemaSummaryResponse"];
11149
+ };
11150
+ };
11151
+ /** @description Bad request */
11152
+ 400: {
11153
+ headers: {
11154
+ /** @description API contract version used for the response */
11155
+ "Lbb-Version"?: string;
11156
+ /** @description Request correlation id */
11157
+ "X-Request-Id"?: string;
11158
+ [name: string]: unknown;
11159
+ };
11160
+ content: {
11161
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11162
+ };
11163
+ };
11164
+ /** @description Unauthorized */
11165
+ 401: {
11166
+ headers: {
11167
+ /** @description API contract version used for the response */
11168
+ "Lbb-Version"?: string;
11169
+ /** @description Request correlation id */
11170
+ "X-Request-Id"?: string;
11171
+ [name: string]: unknown;
11172
+ };
11173
+ content: {
11174
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11175
+ };
11176
+ };
11177
+ /** @description Forbidden */
11178
+ 403: {
11179
+ headers: {
11180
+ /** @description API contract version used for the response */
11181
+ "Lbb-Version"?: string;
11182
+ /** @description Request correlation id */
11183
+ "X-Request-Id"?: string;
11184
+ [name: string]: unknown;
11185
+ };
11186
+ content: {
11187
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11188
+ };
11189
+ };
11190
+ /** @description Not found */
11191
+ 404: {
11192
+ headers: {
11193
+ /** @description API contract version used for the response */
11194
+ "Lbb-Version"?: string;
11195
+ /** @description Request correlation id */
11196
+ "X-Request-Id"?: string;
11197
+ [name: string]: unknown;
11198
+ };
11199
+ content: {
11200
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11201
+ };
11202
+ };
11203
+ /** @description Conflict */
11204
+ 409: {
11205
+ headers: {
11206
+ /** @description API contract version used for the response */
11207
+ "Lbb-Version"?: string;
11208
+ /** @description Request correlation id */
11209
+ "X-Request-Id"?: string;
11210
+ [name: string]: unknown;
11211
+ };
11212
+ content: {
11213
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11214
+ };
11215
+ };
11216
+ /** @description Rate limit exceeded */
11217
+ 429: {
11218
+ headers: {
11219
+ /** @description API contract version used for the response */
11220
+ "Lbb-Version"?: string;
11221
+ /** @description Request correlation id */
11222
+ "X-Request-Id"?: string;
11223
+ [name: string]: unknown;
11224
+ };
11225
+ content: {
11226
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11227
+ };
11228
+ };
11229
+ /** @description Internal server error */
11230
+ 500: {
11231
+ headers: {
11232
+ /** @description API contract version used for the response */
11233
+ "Lbb-Version"?: string;
11234
+ /** @description Request correlation id */
11235
+ "X-Request-Id"?: string;
11236
+ [name: string]: unknown;
11237
+ };
11238
+ content: {
11239
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11240
+ };
11241
+ };
11242
+ /** @description Service unavailable */
11243
+ 503: {
11244
+ headers: {
11245
+ /** @description API contract version used for the response */
11246
+ "Lbb-Version"?: string;
11247
+ /** @description Request correlation id */
11248
+ "X-Request-Id"?: string;
11249
+ [name: string]: unknown;
11250
+ };
11251
+ content: {
11252
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
11253
+ };
11254
+ };
11255
+ };
11256
+ };
10764
11257
  get_v1_graph_summary: {
10765
11258
  parameters: {
10766
11259
  query?: {
@@ -13988,7 +14481,7 @@ export interface operations {
13988
14481
  graph?: string;
13989
14482
  /** @description Branch name (default `main`) */
13990
14483
  branch?: string;
13991
- /** @description eventual (default) serves the referenced durable report; strong requires validation at current head with current ontology/shapes */
14484
+ /** @description eventual (default) serves the selected base sidecar; strong requires an exact-head sidecar with current ontology/shapes */
13992
14485
  consistency?: string;
13993
14486
  /** @description Maximum returned result rows; result_count remains exact */
13994
14487
  limit?: string;
@@ -14128,6 +14621,8 @@ export interface operations {
14128
14621
  graph?: string;
14129
14622
  /** @description Branch name (default `main`) */
14130
14623
  branch?: string;
14624
+ /** @description Validate and return the exact predicted definition without creating a graph, writing an ontology object, or changing the graph head */
14625
+ dry_run?: string;
14131
14626
  };
14132
14627
  header?: {
14133
14628
  /** @description API contract version to pin. Use `2026-07-23` for this beta-breaking shape. */
@@ -16672,6 +17167,8 @@ export interface operations {
16672
17167
  graph?: string;
16673
17168
  /** @description Branch name (default `main`) */
16674
17169
  branch?: string;
17170
+ /** @description Parse and check compatibility without activation; returns activated=false and predicted schema versions. Does not run whole-graph conformance */
17171
+ dry_run?: string;
16675
17172
  };
16676
17173
  header?: {
16677
17174
  /** @description API contract version to pin. Use `2026-07-23` for this beta-breaking shape. */