Go to Items

1. Definition 2. Functional Requirements 3. Syntax 4. Semantics

1      Definition

A Data Type an instance of which conveys verifiable authorisation for a Subject (e.g., a Process) to access a specific service under the terms defined by a Service Pricing Model, within specified temporal, operational, and usage constraints.

2      Functional Requirements

Function Description
Header Context  Provides SAT header with versioning as per Standard‑SAT, Version, Dot‑separator, Subversion.
Token Identification  Provides a unique identifier for the SAT instance.
Format Declaration  Declares the token representation format (JWT, JWS‑Compact, JWS‑JSON, CWT).
Issuer Identification  Identifies the entity that issued the SAT.
Subject Identification  Identifies the subscriber/user to whom the SAT is issued.
Audience Binding  Restricts validity of the SAT to a target service/resource.
Pricing Model Association  Identifies the governing Service Pricing Model for access.
Temporal Validity  Specifies issuance time, optional not‑before, and expiry time.
Replay Protection  Optionally includes a nonce to prevent replay of the same SAT.
Key Identification  Identifies the verification key associated with the SAT signature.
Signature Method Declaration  Declares the digital signature algorithm protecting the SAT.
Integrity Protection  Provides a digital signature enabling verification of SAT integrity.
Operation Authorisation  Specifies permitted operations via Scope[].
Usage Constraints  Optionally defines quantitative limits (meter, unit, max, window).
Entitlement Declaration  Optionally declares Entitlements[] tied to access rights.
Currency Context  Optionally provides CurrencyObject for billing alignment.
Rights Expression  Optionally specifies Rights governing usage policies.
Conditional Acceptance  Defines acceptance rules: temporal validity, audience binding, signature verification, scope authorization, limits enforcement.
Traceability  Optionally includes Trace metadata for auditability.
Descriptive Metadata  Optionally includes descriptive metadata (DescrMetadata).

 

3      Syntax

https://schemas.mpai.community/MMM4/V3.0/data/ServiceAccessToken.json

4      Semantics

Label Description
Header Service Access Token Header (schema title and header context)
├─ Standard‑SAT The characters “MMM‑SAT‑V”
├─ Version Major version – 1 or 2 characters
├─ Dot‑separator The character “.” separating version components
└─ Subversion Minor version – 1 or 2 characters
TokenID Unique token identifier (e.g., UUID/ULID/URN).
Format Token representation format (JWT, JWS‑Compact, JWS‑JSON, CWT).
Issuer Entity that issued the token (URL, DID, or authority ID).
Subject Subscriber/User identifier (pseudonymous if required by privacy policy).
Audience Target service/resource identifier the token is intended for.
ServicePricingModelID Identifier of the governing Service Pricing Model.
IssuedAt Token issuance time (Time reference).
NotBefore Time before which the token must not be accepted (Time reference).
Expiry Token expiry time (Time reference).
Nonce Anti‑replay nonce bound to the token.
KeyID Identifier of the public key used to verify the signature (resolves to JWKS/DID document).
SignatureAlgorithm Digital signature algorithm (ES256, ES384, ES512, RS256, RS384, RS512, EdDSA).
Signature Base64url‑encoded signature (or detached signature for JSON Web Signature (JWS)‑JSON).
Scope[] Allowed operations/privileges (e.g., request, render, download, support, admin).
Limits (Optional) Quantitative constraints aligned with pricing
├─ meter Metered resource name (e.g., requests, GB, minutes).
├─ unit Unit of measure (e.g., call, GB, minute).
├─ max Maximum usage allowed within the window (number, ≥ 0).
└─ window Validity/usage window for the limit (Time reference).
Entitlements[] Named entitlements or tier flags (e.g., tier:Pro, feature:HDR).
CurrencyObject Billing currency object (shared MMM finance type).
Rights Rights/policy reference (e.g., commercial/noncommercial).
Trace MPAI AIF trace metadata for auditability (SourceAIM, Time).
Conditional Rules Validation and acceptance conditions
├─ Temporal validity Current time ∈ [NotBefore (if present), Expiry] and ≥ IssuedAt.
├─ Audience binding Audience must match the addressed service or a permitted audience list.
├─ Signature verification Signature must verify against KeyID and SignatureAlgorithm.
├─ Scope authorization Requested operation must be included in Scope.
└─ Limits enforcement When present, usage counters must not exceed Limits.max within Limits.window.
DescrMetadata Descriptive metadata

Go to Items