Repository navigation
Conversation
Twenty-one schemas for SAMN (Shared Assistance Mobility Network): one vehicle breakdown or crash handled across a driver, an alarm centre, roadside mechanics, recovery and transport companies, garages, mobility providers and the road authority, each running its own platform. The case lives in the vehicle's eVault (Vehicle, Incident, RoadsideAttempt, ConditionReport, HandoverReceipt, EmergencyResponse, CaseEvent). Jobs live with the party that issues or performs them (RecoveryJob, TransportJob, RepairJob, MobilityJob). Providers declare what they can do and have free (ProviderCapability, ProviderAvailability, ServiceVehicle, ServiceLocation). Entitlement and contracts sit with their owner (InsurancePolicy, AssistanceMembership, Agreement). RoadSection is published by the road authority; StaffRole and DriverRequest cover who in a company may do what, and who may drive a car. Every property has a description, every schema sets additionalProperties false, and the domains are mobility, legal and work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
s2515091
marked this pull request as ready for review
November 24, 2026 15:13
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
21 schemas for SAMN (Shared Assistance Mobility Network), which handles roadside assistance and vehicle logistics. One breakdown or crash is handled by many independent parties: the driver, an alarm centre, roadside mechanics, recovery and transport companies, garages, mobility providers and the road authority. Each party runs its own W3DS platform, and the platforms work on the same case only through these types.
All 21 files are new:
services/ontology/schemas/samn-*.json. No existing schema is changed. The domains used aremobility(17 schemas),legal(3) andwork(1). Every property has adescription, every schema uses a fresh UUIDv4schemaId, and every schema setsadditionalProperties: false.The types, their owners and their writers
isReferencepointer in every participant's vaultThe apps are published as separate platforms on GitW3 and already exchange these records through eVaults and Awareness packets.
Could an existing schema carry this?
We checked the near misses:
planner,field,viewer). OrganizationalUnitMembership places a person in a unit and grants no permission in an app, so it cannot hold this role.w3ds://fileURIs, and receipts carry the signature fromw3ds://sign. No parallel type is added.Notes for review
costRecordEnvelopeIdandauthorisationEnvelopeIdon the job types are plain string pointers. Their target types (a cost record and a payer's decision) are drafted but not included here, because no platform writes them yet. They will come in a separate PR when one does.drivetrain, job status,providerType, damage severity and towing method. Matching compares them across types.mainwith the ontology service: 92 schemas load, all 21 new types are served, there are no title or id clashes, and/domains/mobility/schemaslists them.🤖 Generated with Claude Code