VAM/main_generated library

Classes

VAM
Visual Asset Manifest — ranked visual representations for one stable entity.
VAMAnnotation
Coordinate pin or general structured annotation in canonical model-meter coordinates. POSITION is absent for a general note.
VAMAnnotationBuilder
VAMAnnotationObjectBuilder
VAMApprovedAlternate
Exact approved alternate asset bytes and reviewed state.
VAMApprovedAlternateBuilder
VAMApprovedAlternateObjectBuilder
VAMBuilder
VAMMetadataOnlyReview
Signed metadata-only review. DECISION validation MUST equal APPROVE_METADATA_ONLY; no candidate binary or CID fields exist. The metadata-review signed projection contains uppercase schema field names in schema declaration order: REVIEWER_ID; CAPABILITY_ID; REVIEWER_ROLE encoded as its unsigned enum integer; REPOSITORY; ISSUE_NUMBER; ENTITY_ID; VAM_ID; NONCE; DECISION encoded as its unsigned enum integer; CANDIDATE_ID; CANDIDATE_METADATA_SHA256; DECIDED_AT; REASONS; COMMENT when present; ANNOTATIONS; SIGNATURE_TYPE; and PREVIOUS_DECISION_SHA256 when present. Absent optional fields are omitted and arrays preserve order. A verifier reconstructs exactly this projection, applies RFC 8785 JCS, hashes the UTF-8 serialization bytes, compares ENVELOPE_SHA256, and verifies SIGNATURE over the raw 32-byte digest. ENVELOPE_SHA256 and SIGNATURE are excluded from the projection. The verifier must also enforce repository, issue, entity, and VAM equality; nonce single use; role authorization; exact metadata binding; and DECISION equal to APPROVE_METADATA_ONLY before trusting the decision.
VAMMetadataOnlyReviewBuilder
VAMMetadataOnlyReviewObjectBuilder
VAMMetrics
Geometry, material, texture, and bounds measurements.
VAMMetricsBuilder
VAMMetricsObjectBuilder
VAMObjectBuilder
VAMQualityDimension
One named quality score and its basis.
VAMQualityDimensionBuilder
VAMQualityDimensionObjectBuilder
VAMQuaternion
Rotation quaternion.
VAMQuaternionBuilder
VAMQuaternionObjectBuilder
VAMReview
Signed binary-backed review decision over a specific candidate. This table exists only for a submitted decision; DECISION NONE and APPROVE_METADATA_ONLY are not accepted VAMReview evidence. The review-envelope projection contains these uppercase schema field names in schema declaration order: REVIEWER_ID; CAPABILITY_ID when present; DECISION encoded as its unsigned enum integer; CANDIDATE_ID; CANDIDATE_CID when present; CANDIDATE_SHA256; DECIDED_AT; REASONS; COMMENT when present; SIGNATURE_TYPE; PREVIOUS_DECISION_SHA256 when present; REVIEWER_ROLE encoded as its unsigned enum integer; REPOSITORY; ISSUE_NUMBER; ENTITY_ID; VAM_ID; NONCE; REVIEWED_TRANSFORM when present; CANONICAL_VARIANT_ID when present; ALTERNATE_VARIANT_IDS; ANNOTATIONS; and APPROVED_ALTERNATES. Projection order is descriptive; RFC 8785 sorts object keys during canonicalization. Absent optional fields are omitted and arrays preserve order; nested VAMTransform and VAMAnnotation use uppercase schema field names and numeric enums. Nested VAMApprovedAlternate uses uppercase schema field names, numeric RANK, and transforms normalized by decoding schema defaults. A verifier reconstructs exactly this projection, applies RFC 8785 JSON Canonicalization Scheme (JCS), hashes the UTF-8 serialization bytes, compares the digest, then verifies SIGNATURE over the raw 32-byte digest. Before trusting DECISION, a verifier must enforce binary decision invariants; repository, issue, entity, and VAM equality; nonce single use; role authorization; and exact candidate binding. CAPABILITY_ID, REPOSITORY, ISSUE_NUMBER, ENTITY_ID, VAM_ID, and NONCE MUST be present and nonempty for any new binary-backed signed decision and are required by the binary validation profile; their wire slots are optional only for backward compatibility. Legacy buffers lacking those six fields remain decodable but are not valid new publication approvals. For these compatibility fields, the projection omits absent optionals only when decoding legacy records; the new validation profile rejects absence before signature trust. APPROVE requires CANDIDATE_CID; every binary decision requires exact CANDIDATE_SHA256. Under the validation profile, when DECISION is APPROVE, CANDIDATE_CID MUST be present; REVIEWED_TRANSFORM and CANONICAL_VARIANT_ID MUST be present; and CANONICAL_VARIANT_ID MUST equal CANDIDATE_ID. These fields remain optional on the wire for compatibility. The enclosing VAM.ID MUST equal VAM_ID; the enclosing VAM.ENTITY_ID MUST equal review ENTITY_ID; and the enclosing VAM.CANONICAL_VARIANT_ID MUST equal review CANONICAL_VARIANT_ID. The referenced VAMVariant.ID MUST equal CANDIDATE_ID; that variant CID and BYTE_SHA256 MUST equal signed CANDIDATE_CID and CANDIDATE_SHA256; and its TRANSFORM MUST be field-for-field equal to REVIEWED_TRANSFORM after decoding schema defaults. The enclosing VAM.ALTERNATE_VARIANT_IDS MUST exactly equal signed review ALTERNATE_VARIANT_IDS, with the same IDs in the same order; empty equals empty. Each alternate ID MUST resolve to an existing VAMVariant; alternate IDs MUST be distinct and MUST NOT equal CANONICAL_VARIANT_ID. The referenced alternates retain their signed canonical rank ordering as represented by the manifest list. APPROVED_ALTERNATES MUST correspond one-for-one with ALTERNATE_VARIANT_IDS in the same order; each descriptor VARIANT_ID MUST equal the corresponding alternate ID. Empty ALTERNATE_VARIANT_IDS requires empty APPROVED_ALTERNATES. Each descriptor CID, BYTE_SHA256, REVIEWED_TRANSFORM, and RANK MUST be field-for-field equal to the resolved VAMVariant. BYTE_SHA256 MUST be 64 lowercase hexadecimal characters and CID MUST be nonempty. The publication validator rejects any omission or mismatch before signature trust or publication. Any alternate byte, CID, BYTE_SHA256, transform, or rank change requires a new signed review and envelope.
VAMReviewBuilder
VAMReviewObjectBuilder
VAMScale3
Scale with identity defaults for every component.
VAMScale3Builder
VAMScale3ObjectBuilder
VAMSource
Provenance and license metadata for an asset source.
VAMSourceBuilder
VAMSourceObjectBuilder
VAMTransform
Transform from source coordinates into canonical meters. Absent SCALE and omitted scale components mean identity scale; translation and bounds use VAMVector3 zero defaults.
VAMTransformBuilder
VAMTransformObjectBuilder
VAMValidation
Validation result for one asset variant.
VAMValidationBuilder
VAMValidationObjectBuilder
VAMVariant
One source, optimized, LOD, or alternate visual representation.
VAMVariantBuilder
VAMVariantObjectBuilder
VAMVector3
Three-dimensional vector.
VAMVector3Builder
VAMVector3ObjectBuilder

Enums

visualAssetDecisionKind
Review decision.
visualAssetLicenseClass
License gate.
visualAssetPermissionDecision
Permission determination: UNKNOWN means no determination, ALLOWED means the license permits it, and PROHIBITED means the license explicitly forbids it.
visualAssetReviewerRole
Reviewer authorization role. Append new values only; never reorder or reuse existing values.
visualAssetReviewState
Lifecycle state. Append new values only; never reorder or reuse existing values.
visualAssetUpAxis
Up axis.
visualAssetVariantKind
Role of one visual asset variant.