Package ai.vectros.types
Class SchemaResponse
java.lang.Object
ai.vectros.types.SchemaResponse
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaResponse.Builderbuilder()booleangetId()inthashCode()toString()
-
Method Details
-
getCreated
- Returns:
- Whether this call created a new schema. True when a new schema was created; false when a schema with the same
typeNamealready existed and was returned unchanged (idempotent create) or reconciled to the submitted shape (when?upsert=true). Present only on the create response (POST /v1/schemas); absent on reads. The HTTP status mirrors it — 201 when created, 200 when an existing schema was returned.
-
getId
- Returns:
- Unique identifier for this schema.
-
getTypeName
- Returns:
- Type identifier for this schema.
-
getDisplayName
- Returns:
- Human-readable display name.
-
getDescription
- Returns:
- Description of what this schema is for.
-
getFields
- Returns:
- Field definitions used to validate record payloads.
-
getLookupFields
- Returns:
- Payload fields indexed for direct lookup queries.
-
getRenderHints
- Returns:
- UI rendering hints keyed by field id.
-
getCapabilities
- Returns:
- Feature flags for this schema.
auditHistory(default true) controls whether a change-history (version) trail is kept for this type's data; it never affects the records themselves.readAccessLog(default false) controls accounting-of-disclosures logging for reads of this type's records.
-
getStorageProfile
- Returns:
- Payload storage profile: STANDARD (externalize large payloads to S3), LOW_LATENCY (always store inline), or LARGE_PAYLOAD (always externalize). Defaults to STANDARD.
-
getIndexMode
- Returns:
- Default search-index mode for this type's records: HYBRID, SEMANTIC, TEXT, or NONE (store-only, not searchable).
-
getAllowedSurfaces
- Returns:
- Which typed surfaces may bind this schema:
record,document,user, orentity— identity entities in ANY namespace (org,client, or one you registered) bind under the singleentitysurface. Always present (it is required at write time).
-
getActive
- Returns:
- Whether this schema is active.
-
getBasedOn
- Returns:
- The id of the schema this one is a customization of, or null if this schema IS the shared base for
typeNamein this context.
-
getSchemaVersion
- Returns:
- Schema version number, incremented each time the schema definition changes.
-
getCreatedAt
- Returns:
- When the schema was created, as an ISO-8601 UTC timestamp.
-
getUpdatedAt
- Returns:
- When the schema was last modified, as an ISO-8601 UTC timestamp.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-