Namespace id.entity.ext.e6@0.1.0

Compatible with Concerto versions ^3.0.0. Has 3 declarations.

Concerto JSON AST PlantUML XML Schema Typescript C# OData JSON Schema GraphQL Java Go Avro Markdown OpenAPI Protobuf Mermaid

Declared Types

      
      import id.entity.ext.e6@0.1.0.KeyRotationRule from /ext-e6@0.1.0.cto
      import id.entity.ext.e6@0.1.0.PlatformAction from /ext-e6@0.1.0.cto
      import id.entity.ext.e6@0.1.0.PlatformActionsExtension from /ext-e6@0.1.0.cto
      
      

Dependencies

Source

    /*
 * E6 - Platform Actions
 *
 * Platform procedure: key rotation mechanics, consent procedures, and the
 * computable actions the platform exposes for this entity. Computable
 * action shape loosely absorbed from RegistrarChain-ZodSchema
 * (ComputableRequirementSchema). Lean but real per the MVP cut.
 *
 * provenance:
 *   source: universal-constitution v2-minimal-core-study.md (Extensions register)
 *   licence: Apache-2.0
 */
concerto version "^3.0.0"
namespace id.entity.ext.e6@0.1.0

import id.entity.core@2.2.0.{Extension, ActRule, CapacityScope} from https://models.entity.id/core@2.2.0.cto
/** How a Constituent's recorded key is replaced. */
concept KeyRotationRule {
  o ActRule approvedBy
  o Integer noticeDays range=[0,] optional
  o Boolean selfServiceWithProof default=false
}

/** A computable action the platform performs for this entity. */
concept PlatformAction {
  o String name
  o CapacityScope scope
  o String interfaceId regex=/^0x[0-9a-fA-F]{8}$/ optional
  o Boolean requiresQuorum default=false
  o String description optional
}

/**
 * E6 Platform Actions - attached to a Constitution via clause 6.2.
 */
concept PlatformActionsExtension extends Extension {
  o KeyRotationRule keyRotation
  o PlatformAction[] actions optional
}