operations.toml (61637B)
1 [contract] 2 name = "radroots_core_contract" 3 version = "1.0.0-alpha.1" 4 source = "rust" 5 6 [public] 7 domains = [ 8 "blossom", 9 "event", 10 "food_availability", 11 "profile", 12 "farm", 13 "operational_listing", 14 "trade", 15 "social", 16 "knowledge", 17 ] 18 19 [shared_types] 20 public = [ 21 "Sha256", 22 "FileExtension", 23 "HashPath", 24 "BlobUrl", 25 "ApprovedBlobUrl", 26 "MediaType", 27 "BlobDescriptor", 28 "ApprovedDescriptor", 29 "ByteCommitment", 30 "ByteVerifiedDescriptor", 31 "AuthorizationAction", 32 "AuthorizationContent", 33 "ServerDomain", 34 "AuthorizationTarget", 35 "ServerScopeRequirement", 36 "AuthorizationValidation", 37 "AuthorizationClaim", 38 "ValidatedAuthorizationClaim", 39 "AuthorizationWireParts", 40 "AuthoredUploadClaim", 41 "RadrootsNostrSignedBlossomAuthorization", 42 "RadrootsNostrBlossomAuthorizationHeader", 43 "RadrootsNostrVerifiedBlossomAuthorization", 44 "Nip01EventWireParts", 45 "GenericEventDraft", 46 "AuthoredEventPlan", 47 "SignedEvent", 48 "EventEnvelope", 49 "RadrootsIdVerifiedEvent", 50 "RadrootsSignatureVerifiedEvent", 51 "RadrootsNip01VerificationError", 52 "RadrootsContractValidatedEvent", 53 "RadrootsAdmittedEvent", 54 "RadrootsEventAdmissionError", 55 "EventHeadCoordinate", 56 "EventHeadCandidate", 57 "CurrentEventHead", 58 "EventHeadDecision", 59 "EventRef", 60 "EventPtr", 61 "ClassifiedListingAddress", 62 "ClassifiedListingPartition", 63 "AuthoredImage", 64 "AuthoredImageError", 65 "FoodAvailabilityError", 66 "FoodContent", 67 "FoodIdentifier", 68 "FoodText", 69 "FoodPublishedAt", 70 "FoodCurrency", 71 "FoodUnit", 72 "FoodPrice", 73 "FoodQuantity", 74 "FoodAvailabilityStatus", 75 "FoodImageDimensions", 76 "FoodAvailabilityImage", 77 "FoodAvailabilityDetailsParts", 78 "FoodAvailabilityDetails", 79 "RadrootsFoodAvailabilityEncodeError", 80 "RadrootsFoodAvailabilityImageDiagnostic", 81 "RadrootsInboundFoodAvailabilityImage", 82 "RadrootsInboundFoodAvailabilityProjection", 83 "RadrootsFoodAvailabilityProjectionOutcome", 84 "RadrootsFoodAvailabilityProjectionError", 85 "RadrootsAdmittedFoodAvailabilityEvent", 86 "RadrootsExcludedClassifiedListingCandidate", 87 "RadrootsFoodAvailabilityAdmissionOutcome", 88 "RadrootsFoodAvailabilityAdmissionError", 89 "RadrootsFoodAvailabilityRevisionError", 90 "Nip05Identifier", 91 "Nip05IdentifierError", 92 "AuthoredProfile", 93 "AuthoredProfileError", 94 "RadrootsAuthoredProfileEncodeError", 95 "RadrootsInboundProfileMetadata", 96 "RadrootsProfileMetadataParseError", 97 "RadrootsAdmittedProfileEvent", 98 "RadrootsProfileAdmissionError", 99 "RadrootsNip05IdentityVerification", 100 "RadrootsUnverifiedProfileMediaReference", 101 "Farm", 102 "OperationalListing", 103 "Post", 104 "AuthoredPostError", 105 "PostImageDimensions", 106 "AuthoredPostImage", 107 "AuthoredUpdate", 108 "AuthoredPhotoUpdate", 109 "AuthoredAsk", 110 "Nip10ReplyError", 111 "NostrRelayHint", 112 "Nip10ReplyReference", 113 "AuthoredNip10Reply", 114 "RadrootsPostDiagnostic", 115 "RadrootsPostClassification", 116 "RadrootsInboundPostImeta", 117 "RadrootsInboundPostProjection", 118 "RadrootsPostProjectionError", 119 "RadrootsAdmittedRootPostEvent", 120 "RadrootsThreadExcludedPostCandidate", 121 "RadrootsPostAdmissionOutcome", 122 "RadrootsPostAdmissionError", 123 "RadrootsNip10ReplyStyle", 124 "RadrootsNip10ReplyDiagnostic", 125 "RadrootsInboundNip10EventReference", 126 "RadrootsInboundNip10Participant", 127 "RadrootsInboundNip10ReplyProjection", 128 "RadrootsNip10ReplyProjectionError", 129 "RadrootsAdmittedNip10ReplyEvent", 130 "RadrootsNip10ReplyAdmissionError", 131 "Nip22CommentError", 132 "Nip22CommentRootKind", 133 "Nip22EventRootReference", 134 "Nip22AddressRootReference", 135 "Nip22CommentParentReference", 136 "Nip22CommentRoot", 137 "Nip22CommentPosition", 138 "AuthoredNip22Comment", 139 "RadrootsNip22CommentDiagnostic", 140 "RadrootsInboundNip22Participant", 141 "RadrootsInboundNip22EventRoot", 142 "RadrootsInboundNip22AddressRoot", 143 "RadrootsInboundNip22CommentRoot", 144 "RadrootsInboundNip22CommentParent", 145 "RadrootsInboundNip22CurrentRevision", 146 "RadrootsInboundNip22TopLevelEventReference", 147 "RadrootsInboundNip22TopLevelAddressReference", 148 "RadrootsInboundNip22CommentPosition", 149 "RadrootsInboundNip22CommentProjection", 150 "RadrootsNip22CommentProjectionError", 151 "RadrootsAdmittedNip22CommentEvent", 152 "RadrootsNip22CommentAdmissionError", 153 "Nip01Coordinate", 154 "Nip01CoordinateParts", 155 "Nip01CoordinateParseError", 156 "Nip09DeletionError", 157 "Nip09DeletionEventTarget", 158 "Nip09DeletionAddressTarget", 159 "AuthoredNip09DeletionRequest", 160 "RadrootsNip09DeletionDiagnostic", 161 "RadrootsInboundNip09DeletionEventTarget", 162 "RadrootsInboundNip09DeletionAddressTarget", 163 "RadrootsInboundNip09DeletionKindAdvisory", 164 "RadrootsInboundNip09DeletionProjection", 165 "RadrootsNip09DeletionProjectionError", 166 "RadrootsAdmittedNip09DeletionRequestEvent", 167 "RadrootsNip09DeletionAdmissionError", 168 "RadrootsNip09SuppressionOutcome", 169 "RadrootsNip09SuppressionReason", 170 "RadrootsNip09EventReferenceEvidence", 171 "RadrootsNip09AddressReferenceEvidence", 172 "RadrootsNip09SuppressionDecision", 173 "Reaction", 174 "Article", 175 "FileMetadata", 176 "IanaTimeZoneId", 177 "CalendarUri", 178 "CalendarRequest", 179 "CalendarParticipant", 180 "CalendarEventError", 181 "CalendarDate", 182 "AuthoredCalendarDateEvent", 183 "AuthoredCalendarTimeEvent", 184 "ParsedNip52CalendarCommon", 185 "ParsedNip52CalendarCommonParts", 186 "ParsedNip52CalendarDateEvent", 187 "ObservedUtcDay", 188 "ParsedNip52CalendarTimeEvent", 189 "CalendarAdmissionError", 190 "AdmittedCalendarDateEvent", 191 "AdmittedCalendarTimeEvent", 192 "CalendarUid", 193 "CalendarEventReference", 194 "CalendarEventRevisionReference", 195 "CalendarEventAuthorReference", 196 "AuthoredCalendar", 197 "ParsedNip52CalendarParts", 198 "ParsedNip52Calendar", 199 "AdmittedCalendar", 200 "CalendarEventRsvpStatus", 201 "CalendarEventFreeBusy", 202 "AuthoredCalendarEventRsvp", 203 "ParsedNip52CalendarEventRsvpParts", 204 "ParsedNip52CalendarEventRsvp", 205 "AdmittedCalendarEventRsvp", 206 "TradeId", 207 "TradeCandidateId", 208 "TradeMutationId", 209 "TradeMutationKindV1", 210 "TradeMutationEnvelopeV1", 211 "TradeMutationBodyV1", 212 "TradeCandidateTermsV1", 213 "TradeCandidateLineV1", 214 "TradeLineTombstoneV1", 215 "TradeEconomicsProfileV1", 216 "TradeEconomicAdjustmentV1", 217 "FulfillmentProfileV1", 218 "TradeCancellationProfileV1", 219 "TradePrivateTermsRefV1", 220 "SellerReservationAssertionV1", 221 "SellerReservationLineV1", 222 "TradeDecisionV1", 223 "TradeCanonicalMutationV1", 224 "RadrootsTradeReductionInputV1", 225 "RadrootsTradeMutationRecordV1", 226 "RadrootsTradePrivateTermsEvidenceV1", 227 "RadrootsTradeAttestationResultV1", 228 "RadrootsTradeAttestationRecordV1", 229 "RadrootsTradeProjectionV1", 230 "RadrootsTradeAgreementClaimV1", 231 "RadrootsTradeReducerIssueV1", 232 "RadrootsTradeNegotiationStateV1", 233 "RadrootsTradeAgreementStateV1", 234 "RadrootsTradeEvidenceStateV1", 235 "RadrootsTradeConflictStateV1", 236 "RadrootsTradePrivateTermsStateV1", 237 "RadrootsTradeAttestationStateV1", 238 "RadrootsTradeFulfillmentStateV1", 239 "RadrootsTradePaymentStateV1", 240 "WikiArticle", 241 "WikiRedirect", 242 "WikiMergeRequest", 243 "KnowledgeSource", 244 "KnowledgeClaim", 245 "KnowledgeRelation", 246 "KnowledgeReview", 247 "KnowledgeFieldReport", 248 "EvidenceBounty", 249 "KnowledgeChangeProposal", 250 "ContributionAttestation", 251 "RadrootsKnowledgeContractManifest", 252 "RadrootsDecodedEvent", 253 ] 254 255 [errors] 256 classes = [ 257 "encode_error", 258 "parse_error", 259 "validation_error", 260 "address_error", 261 "decode_error", 262 "admission_error", 263 "verification_error", 264 ] 265 266 [implementation_provenance] 267 model_crates = [ 268 "radroots_core", 269 "radroots_event", 270 "radroots_identity", 271 "radroots_protocol", 272 "radroots_trade", 273 "radroots_transport", 274 ] 275 algorithm_crates = [ 276 "radroots_blossom", 277 "radroots_event_codec", 278 "radroots_geonames", 279 "radroots_nostr", 280 "radroots_nostr_connect", 281 "radroots_secrets", 282 "radroots_signing", 283 "radroots_storage", 284 "radroots_storage_sqlite", 285 "radroots_sync", 286 "radroots_transport_nostr", 287 "radroots_transport_nostr_native", 288 ] 289 290 [operations.blossom_parse_hash_path] 291 domain = "blossom" 292 id = "blossom.parse_hash_path" 293 stability = "beta" 294 inputs = ["String"] 295 outputs = ["HashPath"] 296 error_class = "validation_error" 297 deterministic = true 298 signing = "none" 299 transport = "none" 300 301 [operations.blossom_parse_hash_path.implementation] 302 rust_modules = ["crates/blossom/src/hash.rs"] 303 rust_types = [ 304 "radroots_blossom::FileExtension", 305 "radroots_blossom::HashPath", 306 "radroots_blossom::Sha256", 307 ] 308 309 [operations.blossom_parse_hash_path.conformance] 310 vector = "contracts/conformance/vectors/blossom/hash_path_and_descriptor.v1.json" 311 312 [operations.blossom_approve_descriptor_reference] 313 domain = "blossom" 314 id = "blossom.approve_descriptor_reference" 315 stability = "beta" 316 inputs = ["BlobDescriptor"] 317 outputs = ["ApprovedDescriptor"] 318 error_class = "validation_error" 319 deterministic = true 320 signing = "none" 321 transport = "none" 322 323 [operations.blossom_approve_descriptor_reference.implementation] 324 rust_modules = ["crates/blossom/src/descriptor.rs", "crates/blossom/src/url.rs"] 325 rust_types = [ 326 "radroots_blossom::ApprovedDescriptor", 327 "radroots_blossom::BlobDescriptor", 328 ] 329 330 [operations.blossom_approve_descriptor_reference.conformance] 331 vector = "contracts/conformance/vectors/blossom/hash_path_and_descriptor.v1.json" 332 333 [operations.blossom_verify_descriptor_bytes] 334 domain = "blossom" 335 id = "blossom.verify_descriptor_bytes" 336 stability = "beta" 337 inputs = ["ApprovedDescriptor", "Bytes", "MediaType"] 338 outputs = ["ByteVerifiedDescriptor"] 339 error_class = "validation_error" 340 deterministic = true 341 signing = "none" 342 transport = "none" 343 344 [operations.blossom_verify_descriptor_bytes.implementation] 345 rust_modules = [ 346 "crates/blossom/src/descriptor.rs", 347 "crates/blossom/src/hash.rs", 348 ] 349 rust_types = [ 350 "radroots_blossom::ApprovedDescriptor", 351 "radroots_blossom::ByteCommitment", 352 "radroots_blossom::ByteVerifiedDescriptor", 353 "radroots_blossom::MediaType", 354 ] 355 356 [operations.blossom_verify_descriptor_bytes.conformance] 357 vector = "contracts/conformance/vectors/blossom/hash_path_and_descriptor.v1.json" 358 359 [operations.blossom_build_upload_authorization_claim] 360 domain = "blossom" 361 id = "blossom.build_upload_authorization_claim" 362 stability = "beta" 363 inputs = [ 364 "AuthorizationContent", 365 "ServerDomain", 366 "Sha256", 367 "CreatedAt", 368 "LifetimeSeconds", 369 ] 370 outputs = ["AuthoredUploadClaim", "AuthorizationWireParts"] 371 error_class = "validation_error" 372 deterministic = true 373 signing = "none" 374 transport = "none" 375 376 [operations.blossom_build_upload_authorization_claim.implementation] 377 rust_modules = ["crates/blossom/src/authorization.rs"] 378 rust_types = [ 379 "radroots_blossom::AuthorizationWireParts", 380 "radroots_blossom::AuthoredUploadClaim", 381 ] 382 383 [operations.blossom_build_upload_authorization_claim.conformance] 384 vector = "contracts/conformance/vectors/blossom/bud11_claims.v1.json" 385 386 [operations.blossom_parse_authorization_claim] 387 domain = "blossom" 388 id = "blossom.parse_authorization_claim" 389 stability = "beta" 390 inputs = ["String", "CreatedAt", "NostrTags"] 391 outputs = ["AuthorizationClaim"] 392 error_class = "parse_error" 393 deterministic = true 394 signing = "none" 395 transport = "none" 396 397 [operations.blossom_parse_authorization_claim.implementation] 398 rust_modules = ["crates/blossom/src/authorization.rs"] 399 rust_types = ["radroots_blossom::AuthorizationClaim"] 400 401 [operations.blossom_parse_authorization_claim.conformance] 402 vector = "contracts/conformance/vectors/blossom/bud11_claims.v1.json" 403 404 [operations.blossom_validate_authorization_claim] 405 domain = "blossom" 406 id = "blossom.validate_authorization_claim" 407 stability = "beta" 408 inputs = ["AuthorizationClaim", "AuthorizationValidation"] 409 outputs = ["ValidatedAuthorizationClaim"] 410 error_class = "validation_error" 411 deterministic = true 412 signing = "none" 413 transport = "none" 414 415 [operations.blossom_validate_authorization_claim.implementation] 416 rust_modules = ["crates/blossom/src/authorization.rs"] 417 rust_types = [ 418 "radroots_blossom::AuthorizationValidation", 419 "radroots_blossom::ValidatedAuthorizationClaim", 420 ] 421 422 [operations.blossom_validate_authorization_claim.conformance] 423 vector = "contracts/conformance/vectors/blossom/bud11_claims.v1.json" 424 425 [operations.blossom_decode_verify_authorization_header] 426 domain = "blossom" 427 id = "blossom.decode_verify_authorization_header" 428 stability = "beta" 429 inputs = ["String", "AuthorizationValidation"] 430 outputs = ["RadrootsNostrVerifiedBlossomAuthorization"] 431 error_class = "decode_error" 432 deterministic = true 433 signing = "nip01" 434 transport = "none" 435 436 [operations.blossom_decode_verify_authorization_header.implementation] 437 rust_modules = [ 438 "crates/blossom/src/authorization.rs", 439 "crates/nostr/src/blossom.rs", 440 ] 441 rust_types = [ 442 "radroots_blossom::AuthorizationValidation", 443 "radroots_nostr::blossom::RadrootsNostrVerifiedBlossomAuthorization", 444 ] 445 446 [operations.blossom_decode_verify_authorization_header.conformance] 447 vector = "contracts/conformance/vectors/blossom/bud11_nostr_adapter.v1.json" 448 449 [operations.event_verify_nip01] 450 domain = "event" 451 id = "event.verify_nip01" 452 stability = "beta" 453 inputs = ["EventEnvelope"] 454 outputs = ["RadrootsSignatureVerifiedEvent"] 455 error_class = "verification_error" 456 deterministic = true 457 signing = "nip01" 458 transport = "none" 459 460 [operations.event_verify_nip01.implementation] 461 rust_modules = [ 462 "crates/event/src/wire.rs", 463 "crates/event_codec/src/verification.rs", 464 ] 465 rust_types = [ 466 "radroots_event::envelope::EventEnvelope", 467 "radroots_event_codec::verify::RadrootsIdVerifiedEvent", 468 "radroots_event_codec::verify::RadrootsNip01VerificationError", 469 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 470 ] 471 472 [operations.event_verify_nip01.conformance] 473 vector = "contracts/conformance/vectors/profile/verified_event.v1.json" 474 475 [operations.event_admit_verified] 476 domain = "event" 477 id = "event.admit_verified" 478 stability = "beta" 479 inputs = ["RadrootsSignatureVerifiedEvent"] 480 outputs = ["RadrootsAdmittedEvent"] 481 error_class = "admission_error" 482 deterministic = true 483 signing = "none" 484 transport = "none" 485 486 [operations.event_admit_verified.implementation] 487 rust_modules = [ 488 "crates/event_codec/src/admission.rs", 489 "crates/event_codec/src/verification.rs", 490 ] 491 rust_types = [ 492 "radroots_event_codec::admission::RadrootsAdmittedEvent", 493 "radroots_event_codec::admission::RadrootsEventAdmissionError", 494 "radroots_event_codec::verify::RadrootsContractValidatedEvent", 495 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 496 ] 497 498 [operations.event_admit_verified.conformance] 499 vector = "contracts/conformance/vectors/event/verified_admission.v1.json" 500 case_kinds = ["event.admit_verified.valid", "event.admit_verified.invalid"] 501 502 [operations.event_select_head] 503 domain = "event" 504 id = "event.select_head" 505 stability = "beta" 506 inputs = ["EventHeadCandidate", "CurrentEventHead?"] 507 outputs = ["EventHeadDecision"] 508 error_class = "validation_error" 509 deterministic = true 510 signing = "none" 511 transport = "none" 512 513 [operations.event_select_head.implementation] 514 rust_modules = ["crates/event/src/event_head.rs"] 515 rust_types = [ 516 "radroots_event::envelope::event_head::CurrentEventHead", 517 "radroots_event::envelope::event_head::EventHeadCandidate", 518 "radroots_event::envelope::event_head::EventHeadDecision", 519 ] 520 521 [operations.event_select_head.conformance] 522 vector = "contracts/conformance/vectors/profile/verified_event.v1.json" 523 524 [operations.food_availability_build_authored_draft] 525 domain = "food_availability" 526 id = "food_availability.build_authored_draft" 527 stability = "beta" 528 inputs = ["FoodAvailabilityDetails", "u64"] 529 outputs = ["Nip01EventWireParts"] 530 error_class = "encode_error" 531 deterministic = true 532 signing = "none" 533 transport = "none" 534 535 [operations.food_availability_build_authored_draft.implementation] 536 rust_modules = [ 537 "crates/event/src/food_availability.rs", 538 "crates/event_codec/src/food_availability/authored.rs", 539 ] 540 rust_types = [ 541 "radroots_blossom::ByteVerifiedDescriptor", 542 "radroots_event::food::availability::FoodAvailabilityDetails", 543 "radroots_event::food::availability::FoodAvailabilityDetailsParts", 544 "radroots_event::food::availability::FoodAvailabilityError", 545 "radroots_event::food::availability::FoodAvailabilityImage", 546 "radroots_event::media::AuthoredImage", 547 "radroots_event::wire::Nip01EventWireParts", 548 "radroots_event_codec::food_availability::authored::RadrootsFoodAvailabilityEncodeError", 549 ] 550 551 [operations.food_availability_build_authored_draft.conformance] 552 vector = "contracts/conformance/vectors/food_availability/profile.v1.json" 553 case_kinds = [ 554 "food_availability.build_authored_draft.valid", 555 "food_availability.build_authored_draft.invalid", 556 ] 557 558 [operations.food_availability_project_verified_event] 559 domain = "food_availability" 560 id = "food_availability.project_verified_event" 561 stability = "beta" 562 inputs = ["RadrootsSignatureVerifiedEvent"] 563 outputs = ["RadrootsFoodAvailabilityProjectionOutcome"] 564 error_class = "parse_error" 565 deterministic = true 566 signing = "none" 567 transport = "none" 568 569 [operations.food_availability_project_verified_event.implementation] 570 rust_modules = [ 571 "crates/event/src/classified_listing.rs", 572 "crates/event/src/food_availability.rs", 573 "crates/event_codec/src/food_availability/inbound.rs", 574 ] 575 rust_types = [ 576 "radroots_event::listing::classified::ClassifiedListingPartition", 577 "radroots_event::food::availability::FoodAvailabilityError", 578 "radroots_event_codec::food_availability::inbound::RadrootsFoodAvailabilityImageDiagnostic", 579 "radroots_event_codec::food_availability::inbound::RadrootsFoodAvailabilityProjectionError", 580 "radroots_event_codec::food_availability::inbound::RadrootsFoodAvailabilityProjectionOutcome", 581 "radroots_event_codec::food_availability::inbound::RadrootsInboundFoodAvailabilityImage", 582 "radroots_event_codec::food_availability::inbound::RadrootsInboundFoodAvailabilityProjection", 583 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 584 ] 585 586 [operations.food_availability_project_verified_event.conformance] 587 vector = "contracts/conformance/vectors/food_availability/profile.v1.json" 588 case_kinds = [ 589 "food_availability.project_verified_event.valid", 590 "food_availability.project_verified_event.invalid", 591 ] 592 593 [operations.food_availability_verify_and_admit_event] 594 domain = "food_availability" 595 id = "food_availability.verify_and_admit_event" 596 stability = "beta" 597 inputs = ["EventEnvelope"] 598 outputs = ["RadrootsFoodAvailabilityAdmissionOutcome"] 599 error_class = "admission_error" 600 deterministic = true 601 signing = "nip01" 602 transport = "none" 603 604 [operations.food_availability_verify_and_admit_event.implementation] 605 rust_modules = [ 606 "crates/event_codec/src/food_availability/admission.rs", 607 "crates/event_codec/src/food_availability/inbound.rs", 608 "crates/event_codec/src/verification.rs", 609 ] 610 rust_types = [ 611 "radroots_event::envelope::EventEnvelope", 612 "radroots_event_codec::food_availability::admission::RadrootsAdmittedFoodAvailabilityEvent", 613 "radroots_event_codec::food_availability::admission::RadrootsExcludedClassifiedListingCandidate", 614 "radroots_event_codec::food_availability::admission::RadrootsFoodAvailabilityAdmissionError", 615 "radroots_event_codec::food_availability::admission::RadrootsFoodAvailabilityAdmissionOutcome", 616 "radroots_event_codec::food_availability::inbound::RadrootsInboundFoodAvailabilityProjection", 617 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 618 ] 619 620 [operations.food_availability_verify_and_admit_event.conformance] 621 vector = "contracts/conformance/vectors/food_availability/profile.v1.json" 622 case_kinds = [ 623 "food_availability.verify_and_admit_event.valid", 624 "food_availability.verify_and_admit_event.invalid", 625 ] 626 627 [operations.food_availability_validate_revision] 628 domain = "food_availability" 629 id = "food_availability.validate_revision" 630 stability = "beta" 631 inputs = ["RadrootsSignatureVerifiedEvent"] 632 outputs = ["Unit"] 633 error_class = "validation_error" 634 deterministic = true 635 signing = "none" 636 transport = "none" 637 638 [operations.food_availability_validate_revision.implementation] 639 rust_modules = [ 640 "crates/event_codec/src/food_availability/inbound.rs", 641 "crates/event_codec/src/food_availability/revision.rs", 642 ] 643 rust_types = [ 644 "radroots_event_codec::food_availability::inbound::RadrootsFoodAvailabilityProjectionError", 645 "radroots_event_codec::food_availability::revision::RadrootsFoodAvailabilityRevisionError", 646 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 647 ] 648 649 [operations.food_availability_validate_revision.conformance] 650 vector = "contracts/conformance/vectors/food_availability/profile.v1.json" 651 case_kinds = [ 652 "food_availability.validate_revision.valid", 653 "food_availability.validate_revision.invalid", 654 ] 655 656 [operations.profile_build_authored_draft] 657 domain = "profile" 658 id = "profile.build_authored_draft" 659 stability = "beta" 660 inputs = ["AuthoredProfile"] 661 outputs = ["Nip01EventWireParts"] 662 error_class = "encode_error" 663 deterministic = true 664 signing = "none" 665 transport = "none" 666 667 [operations.profile_build_authored_draft.implementation] 668 rust_modules = [ 669 "crates/event/src/profile.rs", 670 "crates/event_codec/src/profile/authored.rs", 671 ] 672 rust_types = [ 673 "radroots_blossom::ByteVerifiedDescriptor", 674 "radroots_event::media::AuthoredImage", 675 "radroots_event::media::AuthoredImageError", 676 "radroots_event::profile::AuthoredProfile", 677 "radroots_event::profile::AuthoredProfileError", 678 "radroots_event::profile::Nip05Identifier", 679 "radroots_event::profile::Nip05IdentifierError", 680 "radroots_event_codec::encode::profile::RadrootsAuthoredProfileEncodeError", 681 ] 682 683 [operations.profile_build_authored_draft.conformance] 684 vector = "contracts/conformance/vectors/profile/metadata.v1.json" 685 686 [operations.profile_parse_inbound_metadata] 687 domain = "profile" 688 id = "profile.parse_inbound_metadata" 689 stability = "beta" 690 inputs = ["String"] 691 outputs = ["RadrootsInboundProfileMetadata"] 692 error_class = "parse_error" 693 deterministic = true 694 signing = "none" 695 transport = "none" 696 697 [operations.profile_parse_inbound_metadata.implementation] 698 rust_modules = [ 699 "crates/event/src/profile.rs", 700 "crates/event_codec/src/profile/inbound.rs", 701 ] 702 rust_types = [ 703 "radroots_event::profile::Nip05Identifier", 704 "radroots_event_codec::decode::profile::RadrootsInboundProfileMetadata", 705 "radroots_event_codec::decode::profile::RadrootsNip05IdentityVerification", 706 "radroots_event_codec::decode::profile::RadrootsProfileMetadataParseError", 707 "radroots_event_codec::decode::profile::RadrootsUnverifiedProfileMediaReference", 708 ] 709 710 [operations.profile_parse_inbound_metadata.conformance] 711 vector = "contracts/conformance/vectors/profile/metadata.v1.json" 712 713 [operations.profile_verify_and_admit_event] 714 domain = "profile" 715 id = "profile.verify_and_admit_event" 716 stability = "beta" 717 inputs = ["EventEnvelope"] 718 outputs = ["RadrootsAdmittedProfileEvent"] 719 error_class = "admission_error" 720 deterministic = true 721 signing = "nip01" 722 transport = "none" 723 724 [operations.profile_verify_and_admit_event.implementation] 725 rust_modules = [ 726 "crates/event_codec/src/profile/admission.rs", 727 "crates/event_codec/src/profile/inbound.rs", 728 "crates/event_codec/src/verification.rs", 729 ] 730 rust_types = [ 731 "radroots_event::envelope::EventEnvelope", 732 "radroots_event_codec::admission::profile::RadrootsAdmittedProfileEvent", 733 "radroots_event_codec::admission::profile::RadrootsProfileAdmissionError", 734 "radroots_event_codec::decode::profile::RadrootsInboundProfileMetadata", 735 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 736 ] 737 738 [operations.profile_verify_and_admit_event.conformance] 739 vector = "contracts/conformance/vectors/profile/verified_event.v1.json" 740 741 [operations.farm_build_draft] 742 domain = "farm" 743 id = "farm.build_draft" 744 stability = "beta" 745 inputs = ["Farm"] 746 outputs = ["Nip01EventWireParts"] 747 error_class = "encode_error" 748 deterministic = true 749 signing = "native" 750 transport = "native" 751 752 [operations.farm_build_draft.implementation] 753 rust_modules = ["crates/event_codec/src/farm/encode.rs"] 754 rust_types = ["radroots_event::farm::Farm"] 755 756 [operations.farm_build_draft.conformance] 757 vector = "contracts/conformance/vectors/farm/build_draft.v1.json" 758 759 [operations.operational_listing_build_tags] 760 domain = "operational_listing" 761 id = "operational_listing.build_tags" 762 stability = "beta" 763 inputs = ["OperationalListing"] 764 outputs = ["NostrTags"] 765 error_class = "encode_error" 766 deterministic = true 767 signing = "native" 768 transport = "native" 769 770 [operations.operational_listing_build_tags.implementation] 771 rust_modules = [ 772 "crates/event_codec/src/operational_listing/encode.rs", 773 "crates/event_codec/src/operational_listing/tags.rs", 774 ] 775 rust_types = ["radroots_event::listing::operational::OperationalListing"] 776 777 [operations.operational_listing_build_tags.conformance] 778 vector = "contracts/conformance/vectors/operational_listing/build_tags.v1.json" 779 780 [operations.operational_listing_build_draft] 781 domain = "operational_listing" 782 id = "operational_listing.build_draft" 783 stability = "beta" 784 inputs = ["OperationalListing"] 785 outputs = ["Nip01EventWireParts"] 786 error_class = "encode_error" 787 deterministic = true 788 signing = "native" 789 transport = "native" 790 791 [operations.operational_listing_build_draft.implementation] 792 rust_modules = [ 793 "crates/event_codec/src/operational_listing/encode.rs", 794 "crates/event_codec/src/wire.rs", 795 ] 796 rust_types = ["radroots_event::listing::operational::OperationalListing"] 797 798 [operations.operational_listing_build_draft.conformance] 799 vector = "contracts/conformance/vectors/operational_listing/build_draft.v1.json" 800 801 [operations.operational_listing_parse_event] 802 domain = "operational_listing" 803 id = "operational_listing.parse_event" 804 stability = "beta" 805 inputs = ["EventEnvelope"] 806 outputs = ["OperationalListing"] 807 error_class = "parse_error" 808 deterministic = true 809 signing = "native" 810 transport = "native" 811 812 [operations.operational_listing_parse_event.implementation] 813 rust_modules = ["crates/event_codec/src/operational_listing/decode.rs"] 814 rust_types = [ 815 "radroots_event::envelope::EventEnvelope", 816 "radroots_event::listing::operational::OperationalListingParseError", 817 "radroots_event::listing::operational::OperationalListing", 818 ] 819 820 [operations.operational_listing_parse_event.conformance] 821 vector = "contracts/conformance/vectors/operational_listing/parse_event.v1.json" 822 823 [operations.social_update_build_authored_draft] 824 domain = "social" 825 id = "social.update.build_authored_draft" 826 stability = "beta" 827 inputs = ["AuthoredUpdate"] 828 outputs = ["Nip01EventWireParts"] 829 error_class = "encode_error" 830 deterministic = true 831 signing = "none" 832 transport = "none" 833 834 [operations.social_update_build_authored_draft.implementation] 835 rust_modules = [ 836 "crates/event/src/post.rs", 837 "crates/event_codec/src/post/authored.rs", 838 ] 839 rust_types = [ 840 "radroots_event::post::AuthoredPostError", 841 "radroots_event::post::AuthoredUpdate", 842 ] 843 844 [operations.social_update_build_authored_draft.conformance] 845 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 846 case_kinds = [ 847 "social.update.build_authored_draft.valid", 848 "social.update.build_authored_draft.invalid", 849 ] 850 851 [operations.social_photo_update_build_authored_draft] 852 domain = "social" 853 id = "social.photo_update.build_authored_draft" 854 stability = "beta" 855 inputs = ["AuthoredPhotoUpdate"] 856 outputs = ["Nip01EventWireParts"] 857 error_class = "encode_error" 858 deterministic = true 859 signing = "none" 860 transport = "none" 861 862 [operations.social_photo_update_build_authored_draft.implementation] 863 rust_modules = [ 864 "crates/event/src/post.rs", 865 "crates/event_codec/src/post/authored.rs", 866 ] 867 rust_types = [ 868 "radroots_blossom::ApprovedBlobUrl", 869 "radroots_blossom::ByteVerifiedDescriptor", 870 "radroots_event::media::AuthoredImage", 871 "radroots_event::post::AuthoredPhotoUpdate", 872 "radroots_event::post::AuthoredPostError", 873 "radroots_event::post::AuthoredPostImage", 874 "radroots_event::post::PostImageDimensions", 875 ] 876 877 [operations.social_photo_update_build_authored_draft.conformance] 878 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 879 case_kinds = [ 880 "social.photo_update.build_authored_draft.valid", 881 "social.photo_update.build_authored_draft.invalid", 882 ] 883 884 [operations.social_ask_build_authored_draft] 885 domain = "social" 886 id = "social.ask.build_authored_draft" 887 stability = "beta" 888 inputs = ["AuthoredAsk"] 889 outputs = ["Nip01EventWireParts"] 890 error_class = "encode_error" 891 deterministic = true 892 signing = "none" 893 transport = "none" 894 895 [operations.social_ask_build_authored_draft.implementation] 896 rust_modules = [ 897 "crates/event/src/post.rs", 898 "crates/event_codec/src/post/authored.rs", 899 ] 900 rust_types = [ 901 "radroots_event::post::AuthoredAsk", 902 "radroots_event::post::AuthoredPostError", 903 "radroots_event::post::AuthoredPostImage", 904 ] 905 906 [operations.social_ask_build_authored_draft.conformance] 907 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 908 case_kinds = [ 909 "social.ask.build_authored_draft.valid", 910 "social.ask.build_authored_draft.invalid", 911 ] 912 913 [operations.social_reply_build_authored_draft] 914 domain = "social" 915 id = "social.reply.build_authored_draft" 916 stability = "beta" 917 inputs = ["AuthoredNip10Reply"] 918 outputs = ["Nip01EventWireParts"] 919 error_class = "encode_error" 920 deterministic = true 921 signing = "none" 922 transport = "none" 923 924 [operations.social_reply_build_authored_draft.implementation] 925 rust_modules = [ 926 "crates/event/src/relay_hint.rs", 927 "crates/event/src/reply.rs", 928 "crates/event_codec/src/reply/authored.rs", 929 ] 930 rust_types = [ 931 "radroots_event::post::reply::AuthoredNip10Reply", 932 "radroots_event::post::reply::Nip10ReplyError", 933 "radroots_event::tag::relay_hint::NostrRelayHint", 934 "radroots_event::post::reply::Nip10ReplyReference", 935 ] 936 937 [operations.social_reply_build_authored_draft.conformance] 938 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 939 case_kinds = [ 940 "social.reply.build_authored_draft.valid", 941 "social.reply.build_authored_draft.invalid", 942 ] 943 944 [operations.social_reply_project_verified_event] 945 domain = "social" 946 id = "social.reply.project_verified_event" 947 stability = "beta" 948 inputs = ["RadrootsSignatureVerifiedEvent"] 949 outputs = ["RadrootsInboundNip10ReplyProjection"] 950 error_class = "parse_error" 951 deterministic = true 952 signing = "none" 953 transport = "none" 954 955 [operations.social_reply_project_verified_event.implementation] 956 rust_modules = [ 957 "crates/event/src/relay_hint.rs", 958 "crates/event_codec/src/reply/inbound.rs", 959 ] 960 rust_types = [ 961 "radroots_event::tag::relay_hint::NostrRelayHint", 962 "radroots_event_codec::decode::reply::RadrootsInboundNip10EventReference", 963 "radroots_event_codec::decode::reply::RadrootsInboundNip10Participant", 964 "radroots_event_codec::decode::reply::RadrootsInboundNip10ReplyProjection", 965 "radroots_event_codec::decode::reply::RadrootsNip10ReplyDiagnostic", 966 "radroots_event_codec::decode::reply::RadrootsNip10ReplyProjectionError", 967 "radroots_event_codec::decode::reply::RadrootsNip10ReplyStyle", 968 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 969 ] 970 971 [operations.social_reply_project_verified_event.conformance] 972 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 973 case_kinds = [ 974 "social.reply.project_verified_event.valid", 975 "social.reply.project_verified_event.invalid", 976 ] 977 978 [operations.social_reply_verify_and_admit_event] 979 domain = "social" 980 id = "social.reply.verify_and_admit_event" 981 stability = "beta" 982 inputs = ["EventEnvelope"] 983 outputs = ["RadrootsAdmittedNip10ReplyEvent"] 984 error_class = "admission_error" 985 deterministic = true 986 signing = "nip01" 987 transport = "none" 988 989 [operations.social_reply_verify_and_admit_event.implementation] 990 rust_modules = [ 991 "crates/event_codec/src/reply/admission.rs", 992 "crates/event_codec/src/reply/inbound.rs", 993 "crates/event_codec/src/verification.rs", 994 ] 995 rust_types = [ 996 "radroots_event::envelope::EventEnvelope", 997 "radroots_event_codec::admission::reply::RadrootsAdmittedNip10ReplyEvent", 998 "radroots_event_codec::admission::reply::RadrootsNip10ReplyAdmissionError", 999 "radroots_event_codec::decode::reply::RadrootsInboundNip10ReplyProjection", 1000 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1001 ] 1002 1003 [operations.social_reply_verify_and_admit_event.conformance] 1004 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 1005 case_kinds = [ 1006 "social.reply.verify_and_admit_event.valid", 1007 "social.reply.verify_and_admit_event.invalid", 1008 ] 1009 1010 [operations.social_post_project_verified_event] 1011 domain = "social" 1012 id = "social.post.project_verified_event" 1013 stability = "beta" 1014 inputs = ["RadrootsSignatureVerifiedEvent"] 1015 outputs = ["RadrootsInboundPostProjection"] 1016 error_class = "parse_error" 1017 deterministic = true 1018 signing = "none" 1019 transport = "none" 1020 1021 [operations.social_post_project_verified_event.implementation] 1022 rust_modules = ["crates/event_codec/src/post/inbound.rs"] 1023 rust_types = [ 1024 "radroots_event_codec::decode::post::RadrootsInboundPostImeta", 1025 "radroots_event_codec::decode::post::RadrootsInboundPostProjection", 1026 "radroots_event_codec::decode::post::RadrootsPostClassification", 1027 "radroots_event_codec::decode::post::RadrootsPostDiagnostic", 1028 "radroots_event_codec::decode::post::RadrootsPostProjectionError", 1029 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1030 ] 1031 1032 [operations.social_post_project_verified_event.conformance] 1033 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 1034 case_kinds = [ 1035 "social.post.project_verified_event.valid", 1036 "social.post.project_verified_event.invalid", 1037 ] 1038 1039 [operations.social_post_verify_and_admit_event] 1040 domain = "social" 1041 id = "social.post.verify_and_admit_event" 1042 stability = "beta" 1043 inputs = ["EventEnvelope"] 1044 outputs = ["RadrootsPostAdmissionOutcome"] 1045 error_class = "admission_error" 1046 deterministic = true 1047 signing = "nip01" 1048 transport = "none" 1049 1050 [operations.social_post_verify_and_admit_event.implementation] 1051 rust_modules = [ 1052 "crates/event_codec/src/post/admission.rs", 1053 "crates/event_codec/src/post/inbound.rs", 1054 "crates/event_codec/src/verification.rs", 1055 ] 1056 rust_types = [ 1057 "radroots_event::envelope::EventEnvelope", 1058 "radroots_event_codec::admission::post::RadrootsAdmittedRootPostEvent", 1059 "radroots_event_codec::admission::post::RadrootsPostAdmissionError", 1060 "radroots_event_codec::admission::post::RadrootsPostAdmissionOutcome", 1061 "radroots_event_codec::admission::post::RadrootsThreadExcludedPostCandidate", 1062 "radroots_event_codec::decode::post::RadrootsInboundPostProjection", 1063 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1064 ] 1065 1066 [operations.social_post_verify_and_admit_event.conformance] 1067 vector = "contracts/conformance/vectors/post/verified_profiles.v1.json" 1068 case_kinds = [ 1069 "social.post.verify_and_admit_event.valid", 1070 "social.post.verify_and_admit_event.invalid", 1071 ] 1072 1073 [operations.social_comment_build_authored_draft] 1074 domain = "social" 1075 id = "social.comment.build_authored_draft" 1076 stability = "beta" 1077 inputs = ["AuthoredNip22Comment"] 1078 outputs = ["Nip01EventWireParts"] 1079 error_class = "encode_error" 1080 deterministic = true 1081 signing = "none" 1082 transport = "none" 1083 1084 [operations.social_comment_build_authored_draft.implementation] 1085 rust_modules = [ 1086 "crates/event/src/comment.rs", 1087 "crates/event/src/relay_hint.rs", 1088 "crates/event_codec/src/comment/authored.rs", 1089 ] 1090 rust_types = [ 1091 "radroots_event::post::comment::AuthoredNip22Comment", 1092 "radroots_event::post::comment::Nip22AddressRootReference", 1093 "radroots_event::post::comment::Nip22CommentError", 1094 "radroots_event::post::comment::Nip22CommentParentReference", 1095 "radroots_event::post::comment::Nip22CommentPosition", 1096 "radroots_event::post::comment::Nip22CommentRoot", 1097 "radroots_event::post::comment::Nip22CommentRootKind", 1098 "radroots_event::post::comment::Nip22EventRootReference", 1099 "radroots_event::tag::relay_hint::NostrRelayHint", 1100 "radroots_event::wire::Nip01EventWireParts", 1101 ] 1102 1103 [operations.social_comment_build_authored_draft.conformance] 1104 vector = "contracts/conformance/vectors/comment/verified_profile.v1.json" 1105 case_kinds = [ 1106 "social.comment.build_authored_draft.valid", 1107 "social.comment.build_authored_draft.invalid", 1108 ] 1109 1110 [operations.social_comment_project_verified_event] 1111 domain = "social" 1112 id = "social.comment.project_verified_event" 1113 stability = "beta" 1114 inputs = ["RadrootsSignatureVerifiedEvent"] 1115 outputs = ["RadrootsInboundNip22CommentProjection"] 1116 error_class = "parse_error" 1117 deterministic = true 1118 signing = "none" 1119 transport = "none" 1120 1121 [operations.social_comment_project_verified_event.implementation] 1122 rust_modules = [ 1123 "crates/event_codec/src/comment/inbound.rs", 1124 "crates/event_codec/src/verification.rs", 1125 ] 1126 rust_types = [ 1127 "radroots_event_codec::decode::comment::RadrootsInboundNip22AddressRoot", 1128 "radroots_event_codec::decode::comment::RadrootsInboundNip22CommentParent", 1129 "radroots_event_codec::decode::comment::RadrootsInboundNip22CommentPosition", 1130 "radroots_event_codec::decode::comment::RadrootsInboundNip22CommentProjection", 1131 "radroots_event_codec::decode::comment::RadrootsInboundNip22CommentRoot", 1132 "radroots_event_codec::decode::comment::RadrootsInboundNip22CurrentRevision", 1133 "radroots_event_codec::decode::comment::RadrootsInboundNip22EventRoot", 1134 "radroots_event_codec::decode::comment::RadrootsInboundNip22Participant", 1135 "radroots_event_codec::decode::comment::RadrootsInboundNip22TopLevelAddressReference", 1136 "radroots_event_codec::decode::comment::RadrootsInboundNip22TopLevelEventReference", 1137 "radroots_event_codec::decode::comment::RadrootsNip22CommentDiagnostic", 1138 "radroots_event_codec::decode::comment::RadrootsNip22CommentProjectionError", 1139 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1140 ] 1141 1142 [operations.social_comment_project_verified_event.conformance] 1143 vector = "contracts/conformance/vectors/comment/verified_profile.v1.json" 1144 case_kinds = [ 1145 "social.comment.project_verified_event.valid", 1146 "social.comment.project_verified_event.invalid", 1147 ] 1148 1149 [operations.social_comment_verify_and_admit_event] 1150 domain = "social" 1151 id = "social.comment.verify_and_admit_event" 1152 stability = "beta" 1153 inputs = ["EventEnvelope"] 1154 outputs = ["RadrootsAdmittedNip22CommentEvent"] 1155 error_class = "admission_error" 1156 deterministic = true 1157 signing = "nip01" 1158 transport = "none" 1159 1160 [operations.social_comment_verify_and_admit_event.implementation] 1161 rust_modules = [ 1162 "crates/event_codec/src/comment/admission.rs", 1163 "crates/event_codec/src/comment/inbound.rs", 1164 "crates/event_codec/src/verification.rs", 1165 ] 1166 rust_types = [ 1167 "radroots_event::envelope::EventEnvelope", 1168 "radroots_event_codec::admission::comment::RadrootsAdmittedNip22CommentEvent", 1169 "radroots_event_codec::admission::comment::RadrootsNip22CommentAdmissionError", 1170 "radroots_event_codec::decode::comment::RadrootsInboundNip22CommentProjection", 1171 "radroots_event_codec::decode::comment::RadrootsNip22CommentProjectionError", 1172 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1173 ] 1174 1175 [operations.social_comment_verify_and_admit_event.conformance] 1176 vector = "contracts/conformance/vectors/comment/verified_profile.v1.json" 1177 case_kinds = [ 1178 "social.comment.verify_and_admit_event.valid", 1179 "social.comment.verify_and_admit_event.invalid", 1180 ] 1181 1182 [operations.social_deletion_request_build_authored_draft] 1183 domain = "social" 1184 id = "social.deletion_request.build_authored_draft" 1185 stability = "beta" 1186 inputs = ["AuthoredNip09DeletionRequest"] 1187 outputs = ["Nip01EventWireParts"] 1188 error_class = "encode_error" 1189 deterministic = true 1190 signing = "none" 1191 transport = "none" 1192 1193 [operations.social_deletion_request_build_authored_draft.implementation] 1194 rust_modules = [ 1195 "crates/event/src/deletion.rs", 1196 "crates/event_codec/src/deletion/authored.rs", 1197 ] 1198 rust_types = [ 1199 "radroots_event::post::deletion::AuthoredNip09DeletionRequest", 1200 "radroots_event::post::deletion::Nip09DeletionAddressTarget", 1201 "radroots_event::post::deletion::Nip09DeletionError", 1202 "radroots_event::post::deletion::Nip09DeletionEventTarget", 1203 "radroots_event::id::Nip01Coordinate", 1204 "radroots_event::wire::Nip01EventWireParts", 1205 ] 1206 1207 [operations.social_deletion_request_build_authored_draft.conformance] 1208 vector = "contracts/conformance/vectors/deletion/verified_profile.v1.json" 1209 case_kinds = [ 1210 "social.deletion_request.build_authored_draft.valid", 1211 "social.deletion_request.build_authored_draft.invalid", 1212 ] 1213 1214 [operations.social_deletion_request_project_verified_event] 1215 domain = "social" 1216 id = "social.deletion_request.project_verified_event" 1217 stability = "beta" 1218 inputs = ["RadrootsSignatureVerifiedEvent"] 1219 outputs = ["RadrootsInboundNip09DeletionProjection"] 1220 error_class = "parse_error" 1221 deterministic = true 1222 signing = "none" 1223 transport = "none" 1224 1225 [operations.social_deletion_request_project_verified_event.implementation] 1226 rust_modules = [ 1227 "crates/event_codec/src/deletion/inbound.rs", 1228 "crates/event_codec/src/verification.rs", 1229 ] 1230 rust_types = [ 1231 "radroots_event_codec::decode::deletion::RadrootsInboundNip09DeletionAddressTarget", 1232 "radroots_event_codec::decode::deletion::RadrootsInboundNip09DeletionEventTarget", 1233 "radroots_event_codec::decode::deletion::RadrootsInboundNip09DeletionKindAdvisory", 1234 "radroots_event_codec::decode::deletion::RadrootsInboundNip09DeletionProjection", 1235 "radroots_event_codec::decode::deletion::RadrootsNip09DeletionDiagnostic", 1236 "radroots_event_codec::decode::deletion::RadrootsNip09DeletionProjectionError", 1237 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1238 ] 1239 1240 [operations.social_deletion_request_project_verified_event.conformance] 1241 vector = "contracts/conformance/vectors/deletion/verified_profile.v1.json" 1242 case_kinds = [ 1243 "social.deletion_request.project_verified_event.valid", 1244 "social.deletion_request.project_verified_event.invalid", 1245 ] 1246 1247 [operations.social_deletion_request_verify_and_admit_event] 1248 domain = "social" 1249 id = "social.deletion_request.verify_and_admit_event" 1250 stability = "beta" 1251 inputs = ["EventEnvelope"] 1252 outputs = ["RadrootsAdmittedNip09DeletionRequestEvent"] 1253 error_class = "admission_error" 1254 deterministic = true 1255 signing = "nip01" 1256 transport = "none" 1257 1258 [operations.social_deletion_request_verify_and_admit_event.implementation] 1259 rust_modules = [ 1260 "crates/event_codec/src/deletion/admission.rs", 1261 "crates/event_codec/src/deletion/inbound.rs", 1262 "crates/event_codec/src/verification.rs", 1263 ] 1264 rust_types = [ 1265 "radroots_event::envelope::EventEnvelope", 1266 "radroots_event_codec::admission::deletion::RadrootsAdmittedNip09DeletionRequestEvent", 1267 "radroots_event_codec::admission::deletion::RadrootsNip09DeletionAdmissionError", 1268 "radroots_event_codec::decode::deletion::RadrootsInboundNip09DeletionProjection", 1269 "radroots_event_codec::decode::deletion::RadrootsNip09DeletionProjectionError", 1270 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1271 ] 1272 1273 [operations.social_deletion_request_verify_and_admit_event.conformance] 1274 vector = "contracts/conformance/vectors/deletion/verified_profile.v1.json" 1275 case_kinds = [ 1276 "social.deletion_request.verify_and_admit_event.valid", 1277 "social.deletion_request.verify_and_admit_event.invalid", 1278 ] 1279 1280 [operations.social_deletion_request_evaluate_suppression] 1281 domain = "social" 1282 id = "social.deletion_request.evaluate_suppression" 1283 stability = "beta" 1284 inputs = [ 1285 "RadrootsSignatureVerifiedEvent", 1286 "RadrootsAdmittedNip09DeletionRequestEvent[]", 1287 ] 1288 outputs = ["RadrootsNip09SuppressionDecision"] 1289 error_class = "validation_error" 1290 deterministic = true 1291 signing = "none" 1292 transport = "none" 1293 1294 [operations.social_deletion_request_evaluate_suppression.implementation] 1295 rust_modules = ["crates/event_codec/src/deletion/evaluator.rs"] 1296 rust_types = [ 1297 "radroots_event_codec::admission::deletion::RadrootsAdmittedNip09DeletionRequestEvent", 1298 "radroots_event_codec::admission::deletion::RadrootsNip09AddressReferenceEvidence", 1299 "radroots_event_codec::admission::deletion::RadrootsNip09EventReferenceEvidence", 1300 "radroots_event_codec::admission::deletion::RadrootsNip09SuppressionDecision", 1301 "radroots_event_codec::admission::deletion::RadrootsNip09SuppressionOutcome", 1302 "radroots_event_codec::admission::deletion::RadrootsNip09SuppressionReason", 1303 "radroots_event_codec::verify::RadrootsSignatureVerifiedEvent", 1304 ] 1305 1306 [operations.social_deletion_request_evaluate_suppression.conformance] 1307 vector = "contracts/conformance/vectors/deletion/suppression.v1.json" 1308 case_kinds = ["social.deletion_request.evaluate_suppression.valid"] 1309 1310 [operations.social_reaction_build_tags] 1311 domain = "social" 1312 id = "social.reaction.build_tags" 1313 stability = "beta" 1314 inputs = ["Reaction"] 1315 outputs = ["NostrTags"] 1316 error_class = "encode_error" 1317 deterministic = true 1318 signing = "native" 1319 transport = "native" 1320 1321 [operations.social_reaction_build_tags.implementation] 1322 rust_modules = ["crates/event_codec/src/reaction/encode.rs"] 1323 rust_types = ["radroots_event::post::reaction::Reaction"] 1324 1325 [operations.social_reaction_build_tags.conformance] 1326 vector = "contracts/conformance/vectors/social/mvp.v1.json" 1327 1328 [operations.social_article_build_tags] 1329 domain = "social" 1330 id = "social.article.build_tags" 1331 stability = "beta" 1332 inputs = ["Article"] 1333 outputs = ["NostrTags"] 1334 error_class = "encode_error" 1335 deterministic = true 1336 signing = "native" 1337 transport = "native" 1338 1339 [operations.social_article_build_tags.implementation] 1340 rust_modules = ["crates/event_codec/src/article/encode.rs"] 1341 rust_types = ["radroots_event::post::article::Article"] 1342 1343 [operations.social_article_build_tags.conformance] 1344 vector = "contracts/conformance/vectors/social/mvp.v1.json" 1345 1346 [operations.social_file_metadata_build_tags] 1347 domain = "social" 1348 id = "social.file_metadata.build_tags" 1349 stability = "beta" 1350 inputs = ["FileMetadata"] 1351 outputs = ["NostrTags"] 1352 error_class = "encode_error" 1353 deterministic = true 1354 signing = "native" 1355 transport = "native" 1356 1357 [operations.social_file_metadata_build_tags.implementation] 1358 rust_modules = ["crates/event_codec/src/file_metadata/encode.rs"] 1359 rust_types = ["radroots_event::media::file_metadata::FileMetadata"] 1360 1361 [operations.social_file_metadata_build_tags.conformance] 1362 vector = "contracts/conformance/vectors/social/mvp.v1.json" 1363 1364 [operations.social_calendar_date_event_build_authored_draft] 1365 domain = "social" 1366 id = "social.calendar_date_event.build_authored_draft" 1367 stability = "beta" 1368 inputs = ["AuthoredCalendarDateEvent"] 1369 outputs = ["Nip01EventWireParts"] 1370 error_class = "encode_error" 1371 deterministic = true 1372 signing = "none" 1373 transport = "none" 1374 1375 [operations.social_calendar_date_event_build_authored_draft.implementation] 1376 rust_modules = [ 1377 "crates/event/src/calendar.rs", 1378 "crates/event/src/media.rs", 1379 "crates/event_codec/src/calendar/encode.rs", 1380 ] 1381 rust_types = [ 1382 "radroots_event::calendar::AuthoredCalendarDateEvent", 1383 "radroots_event::calendar::CalendarDate", 1384 "radroots_event::calendar::CalendarEventError", 1385 "radroots_event::media::AuthoredImage", 1386 "radroots_event::wire::Nip01EventWireParts", 1387 "radroots_event_codec::error::EventEncodeError", 1388 ] 1389 1390 [operations.social_calendar_date_event_build_authored_draft.conformance] 1391 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1392 1393 [operations.social_calendar_date_event_parse_nip52] 1394 domain = "social" 1395 id = "social.calendar_date_event.parse_nip52" 1396 stability = "beta" 1397 inputs = ["u32", "NostrTags", "String"] 1398 outputs = ["ParsedNip52CalendarDateEvent"] 1399 error_class = "parse_error" 1400 deterministic = true 1401 signing = "none" 1402 transport = "none" 1403 1404 [operations.social_calendar_date_event_parse_nip52.implementation] 1405 rust_modules = [ 1406 "crates/event/src/calendar.rs", 1407 "crates/event_codec/src/calendar/decode.rs", 1408 ] 1409 rust_types = [ 1410 "radroots_event::calendar::CalendarDate", 1411 "radroots_event::calendar::CalendarRequest", 1412 "radroots_event::calendar::CalendarUri", 1413 "radroots_event::calendar::ParsedNip52CalendarCommon", 1414 "radroots_event::calendar::ParsedNip52CalendarCommonParts", 1415 "radroots_event::calendar::ParsedNip52CalendarDateEvent", 1416 "radroots_event_codec::error::EventParseError", 1417 ] 1418 1419 [operations.social_calendar_date_event_parse_nip52.conformance] 1420 vector = "contracts/conformance/vectors/calendar/nip52_baseline.v1.json" 1421 1422 [operations.social_calendar_date_event_admit_radroots_profile] 1423 domain = "social" 1424 id = "social.calendar_date_event.admit_radroots_profile" 1425 stability = "beta" 1426 inputs = ["ParsedNip52CalendarDateEvent"] 1427 outputs = ["AdmittedCalendarDateEvent"] 1428 error_class = "admission_error" 1429 deterministic = true 1430 signing = "none" 1431 transport = "none" 1432 1433 [operations.social_calendar_date_event_admit_radroots_profile.implementation] 1434 rust_modules = [ 1435 "crates/event/src/calendar.rs", 1436 "crates/event_codec/src/calendar/decode.rs", 1437 ] 1438 rust_types = [ 1439 "radroots_event::calendar::AdmittedCalendarDateEvent", 1440 "radroots_event::calendar::CalendarAdmissionError", 1441 "radroots_event::calendar::ParsedNip52CalendarDateEvent", 1442 ] 1443 1444 [operations.social_calendar_date_event_admit_radroots_profile.conformance] 1445 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1446 1447 [operations.social_calendar_time_event_build_authored_draft] 1448 domain = "social" 1449 id = "social.calendar_time_event.build_authored_draft" 1450 stability = "beta" 1451 inputs = ["AuthoredCalendarTimeEvent"] 1452 outputs = ["Nip01EventWireParts"] 1453 error_class = "encode_error" 1454 deterministic = true 1455 signing = "none" 1456 transport = "none" 1457 1458 [operations.social_calendar_time_event_build_authored_draft.implementation] 1459 rust_modules = [ 1460 "crates/event/src/calendar.rs", 1461 "crates/event/src/media.rs", 1462 "crates/event_codec/src/calendar/encode.rs", 1463 ] 1464 rust_types = [ 1465 "radroots_event::calendar::AuthoredCalendarTimeEvent", 1466 "radroots_event::calendar::CalendarEventError", 1467 "radroots_event::calendar::IanaTimeZoneId", 1468 "radroots_event::media::AuthoredImage", 1469 "radroots_event::wire::Nip01EventWireParts", 1470 "radroots_event_codec::error::EventEncodeError", 1471 ] 1472 1473 [operations.social_calendar_time_event_build_authored_draft.conformance] 1474 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1475 1476 [operations.social_calendar_time_event_parse_nip52] 1477 domain = "social" 1478 id = "social.calendar_time_event.parse_nip52" 1479 stability = "beta" 1480 inputs = ["u32", "NostrTags", "String"] 1481 outputs = ["ParsedNip52CalendarTimeEvent"] 1482 error_class = "parse_error" 1483 deterministic = true 1484 signing = "none" 1485 transport = "none" 1486 1487 [operations.social_calendar_time_event_parse_nip52.implementation] 1488 rust_modules = [ 1489 "crates/event/src/calendar.rs", 1490 "crates/event_codec/src/calendar/decode.rs", 1491 ] 1492 rust_types = [ 1493 "radroots_event::calendar::CalendarRequest", 1494 "radroots_event::calendar::CalendarUri", 1495 "radroots_event::calendar::IanaTimeZoneId", 1496 "radroots_event::calendar::ObservedUtcDay", 1497 "radroots_event::calendar::ParsedNip52CalendarCommon", 1498 "radroots_event::calendar::ParsedNip52CalendarCommonParts", 1499 "radroots_event::calendar::ParsedNip52CalendarTimeEvent", 1500 "radroots_event_codec::error::EventParseError", 1501 ] 1502 1503 [operations.social_calendar_time_event_parse_nip52.conformance] 1504 vector = "contracts/conformance/vectors/calendar/nip52_baseline.v1.json" 1505 1506 [operations.social_calendar_time_event_admit_radroots_profile] 1507 domain = "social" 1508 id = "social.calendar_time_event.admit_radroots_profile" 1509 stability = "beta" 1510 inputs = ["ParsedNip52CalendarTimeEvent"] 1511 outputs = ["AdmittedCalendarTimeEvent"] 1512 error_class = "admission_error" 1513 deterministic = true 1514 signing = "none" 1515 transport = "none" 1516 1517 [operations.social_calendar_time_event_admit_radroots_profile.implementation] 1518 rust_modules = [ 1519 "crates/event/src/calendar.rs", 1520 "crates/event_codec/src/calendar/decode.rs", 1521 ] 1522 rust_types = [ 1523 "radroots_event::calendar::AdmittedCalendarTimeEvent", 1524 "radroots_event::calendar::CalendarAdmissionError", 1525 "radroots_event::calendar::ParsedNip52CalendarTimeEvent", 1526 ] 1527 1528 [operations.social_calendar_time_event_admit_radroots_profile.conformance] 1529 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1530 1531 [operations.social_calendar_build_authored_draft] 1532 domain = "social" 1533 id = "social.calendar.build_authored_draft" 1534 stability = "beta" 1535 inputs = ["AuthoredCalendar"] 1536 outputs = ["Nip01EventWireParts"] 1537 error_class = "encode_error" 1538 deterministic = true 1539 signing = "none" 1540 transport = "none" 1541 1542 [operations.social_calendar_build_authored_draft.implementation] 1543 rust_modules = [ 1544 "crates/event/src/calendar.rs", 1545 "crates/event/src/media.rs", 1546 "crates/event_codec/src/calendar/encode.rs", 1547 ] 1548 rust_types = [ 1549 "radroots_event::calendar::AuthoredCalendar", 1550 "radroots_event::calendar::CalendarEventError", 1551 "radroots_event::calendar::CalendarEventReference", 1552 "radroots_event::calendar::CalendarUid", 1553 "radroots_event::media::AuthoredImage", 1554 "radroots_event::wire::Nip01EventWireParts", 1555 "radroots_event_codec::error::EventEncodeError", 1556 ] 1557 1558 [operations.social_calendar_build_authored_draft.conformance] 1559 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1560 1561 [operations.social_calendar_parse_nip52] 1562 domain = "social" 1563 id = "social.calendar.parse_nip52" 1564 stability = "beta" 1565 inputs = ["u32", "NostrTags", "String"] 1566 outputs = ["ParsedNip52Calendar"] 1567 error_class = "parse_error" 1568 deterministic = true 1569 signing = "none" 1570 transport = "none" 1571 1572 [operations.social_calendar_parse_nip52.implementation] 1573 rust_modules = [ 1574 "crates/event/src/calendar.rs", 1575 "crates/event_codec/src/calendar/decode.rs", 1576 ] 1577 rust_types = [ 1578 "radroots_event::calendar::CalendarEventError", 1579 "radroots_event::calendar::CalendarEventReference", 1580 "radroots_event::calendar::CalendarUri", 1581 "radroots_event::calendar::ParsedNip52Calendar", 1582 "radroots_event::calendar::ParsedNip52CalendarParts", 1583 "radroots_event_codec::error::EventParseError", 1584 ] 1585 1586 [operations.social_calendar_parse_nip52.conformance] 1587 vector = "contracts/conformance/vectors/calendar/nip52_baseline.v1.json" 1588 1589 [operations.social_calendar_admit_radroots_profile] 1590 domain = "social" 1591 id = "social.calendar.admit_radroots_profile" 1592 stability = "beta" 1593 inputs = ["ParsedNip52Calendar"] 1594 outputs = ["AdmittedCalendar"] 1595 error_class = "admission_error" 1596 deterministic = true 1597 signing = "none" 1598 transport = "none" 1599 1600 [operations.social_calendar_admit_radroots_profile.implementation] 1601 rust_modules = [ 1602 "crates/event/src/calendar.rs", 1603 "crates/event_codec/src/calendar/decode.rs", 1604 ] 1605 rust_types = [ 1606 "radroots_blossom::BlobUrl", 1607 "radroots_event::calendar::AdmittedCalendar", 1608 "radroots_event::calendar::CalendarAdmissionError", 1609 "radroots_event::calendar::CalendarEventReference", 1610 "radroots_event::calendar::CalendarUid", 1611 "radroots_event::calendar::ParsedNip52Calendar", 1612 ] 1613 1614 [operations.social_calendar_admit_radroots_profile.conformance] 1615 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1616 1617 [operations.social_calendar_rsvp_build_authored_draft] 1618 domain = "social" 1619 id = "social.calendar_rsvp.build_authored_draft" 1620 stability = "beta" 1621 inputs = ["AuthoredCalendarEventRsvp"] 1622 outputs = ["Nip01EventWireParts"] 1623 error_class = "encode_error" 1624 deterministic = true 1625 signing = "none" 1626 transport = "none" 1627 1628 [operations.social_calendar_rsvp_build_authored_draft.implementation] 1629 rust_modules = [ 1630 "crates/event/src/calendar.rs", 1631 "crates/event_codec/src/calendar/encode.rs", 1632 ] 1633 rust_types = [ 1634 "radroots_event::calendar::AuthoredCalendarEventRsvp", 1635 "radroots_event::calendar::CalendarEventAuthorReference", 1636 "radroots_event::calendar::CalendarEventError", 1637 "radroots_event::calendar::CalendarEventReference", 1638 "radroots_event::calendar::CalendarEventRevisionReference", 1639 "radroots_event::calendar::CalendarUid", 1640 "radroots_event::calendar::CalendarEventFreeBusy", 1641 "radroots_event::calendar::CalendarEventRsvpStatus", 1642 "radroots_event::wire::Nip01EventWireParts", 1643 "radroots_event_codec::error::EventEncodeError", 1644 ] 1645 1646 [operations.social_calendar_rsvp_build_authored_draft.conformance] 1647 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1648 1649 [operations.social_calendar_rsvp_parse_nip52] 1650 domain = "social" 1651 id = "social.calendar_rsvp.parse_nip52" 1652 stability = "beta" 1653 inputs = ["u32", "NostrTags", "String"] 1654 outputs = ["ParsedNip52CalendarEventRsvp"] 1655 error_class = "parse_error" 1656 deterministic = true 1657 signing = "none" 1658 transport = "none" 1659 1660 [operations.social_calendar_rsvp_parse_nip52.implementation] 1661 rust_modules = [ 1662 "crates/event/src/calendar.rs", 1663 "crates/event_codec/src/calendar/decode.rs", 1664 ] 1665 rust_types = [ 1666 "radroots_event::calendar::CalendarEventAuthorReference", 1667 "radroots_event::calendar::CalendarEventError", 1668 "radroots_event::calendar::CalendarEventReference", 1669 "radroots_event::calendar::CalendarEventRevisionReference", 1670 "radroots_event::calendar::ParsedNip52CalendarEventRsvp", 1671 "radroots_event::calendar::ParsedNip52CalendarEventRsvpParts", 1672 "radroots_event::calendar::CalendarEventFreeBusy", 1673 "radroots_event::calendar::CalendarEventRsvpStatus", 1674 "radroots_event_codec::error::EventParseError", 1675 ] 1676 1677 [operations.social_calendar_rsvp_parse_nip52.conformance] 1678 vector = "contracts/conformance/vectors/calendar/nip52_baseline.v1.json" 1679 1680 [operations.social_calendar_rsvp_admit_radroots_profile] 1681 domain = "social" 1682 id = "social.calendar_rsvp.admit_radroots_profile" 1683 stability = "beta" 1684 inputs = ["ParsedNip52CalendarEventRsvp"] 1685 outputs = ["AdmittedCalendarEventRsvp"] 1686 error_class = "admission_error" 1687 deterministic = true 1688 signing = "none" 1689 transport = "none" 1690 1691 [operations.social_calendar_rsvp_admit_radroots_profile.implementation] 1692 rust_modules = [ 1693 "crates/event/src/calendar.rs", 1694 "crates/event_codec/src/calendar/decode.rs", 1695 ] 1696 rust_types = [ 1697 "radroots_event::calendar::AdmittedCalendarEventRsvp", 1698 "radroots_event::calendar::CalendarAdmissionError", 1699 "radroots_event::calendar::CalendarEventAuthorReference", 1700 "radroots_event::calendar::CalendarEventReference", 1701 "radroots_event::calendar::CalendarEventRevisionReference", 1702 "radroots_event::calendar::CalendarUid", 1703 "radroots_event::calendar::ParsedNip52CalendarEventRsvp", 1704 "radroots_event::calendar::CalendarEventFreeBusy", 1705 "radroots_event::calendar::CalendarEventRsvpStatus", 1706 ] 1707 1708 [operations.social_calendar_rsvp_admit_radroots_profile.conformance] 1709 vector = "contracts/conformance/vectors/calendar/radroots_profile.v1.json" 1710 1711 [operations.trade_canonicalize_mutation] 1712 domain = "trade" 1713 id = "trade.canonicalize_mutation" 1714 stability = "beta" 1715 inputs = ["TradeMutationEnvelopeV1"] 1716 outputs = ["TradeCanonicalMutationV1"] 1717 error_class = "encode_error" 1718 deterministic = true 1719 signing = "native" 1720 transport = "native" 1721 1722 [operations.trade_canonicalize_mutation.implementation] 1723 rust_modules = ["crates/event/src/trade.rs"] 1724 rust_types = [ 1725 "radroots_event::trade::TradeCanonicalMutationV1", 1726 "radroots_event::trade::TradeMutationEnvelopeV1", 1727 ] 1728 1729 [operations.trade_canonicalize_mutation.conformance] 1730 vector = "contracts/conformance/vectors/trade/canonicalize_mutation.v1.json" 1731 1732 [operations.trade_build_mutation_event] 1733 domain = "trade" 1734 id = "trade.build_mutation_event" 1735 stability = "beta" 1736 inputs = ["TradeMutationEnvelopeV1"] 1737 outputs = ["Nip01EventWireParts"] 1738 error_class = "encode_error" 1739 deterministic = true 1740 signing = "native" 1741 transport = "native" 1742 1743 [operations.trade_build_mutation_event.implementation] 1744 rust_modules = ["crates/event_codec/src/trade/mod.rs"] 1745 rust_types = ["radroots_event::trade::TradeMutationEnvelopeV1"] 1746 1747 [operations.trade_build_mutation_event.conformance] 1748 vector = "contracts/conformance/vectors/trade/build_mutation_event.v1.json" 1749 1750 [operations.trade_parse_mutation_event] 1751 domain = "trade" 1752 id = "trade.parse_mutation_event" 1753 stability = "beta" 1754 inputs = ["EventEnvelope"] 1755 outputs = ["TradeMutationEnvelopeV1"] 1756 error_class = "parse_error" 1757 deterministic = true 1758 signing = "native" 1759 transport = "native" 1760 1761 [operations.trade_parse_mutation_event.implementation] 1762 rust_modules = ["crates/event_codec/src/trade/mod.rs"] 1763 rust_types = [ 1764 "radroots_event::envelope::EventEnvelope", 1765 "radroots_event::trade::TradeMutationEnvelopeV1", 1766 ] 1767 1768 [operations.trade_parse_mutation_event.conformance] 1769 vector = "contracts/conformance/vectors/trade/parse_mutation_event.v1.json" 1770 1771 [operations.trade_reduce_records] 1772 domain = "trade" 1773 id = "trade.reduce_records" 1774 stability = "beta" 1775 inputs = ["RadrootsTradeReductionInputV1"] 1776 outputs = ["RadrootsTradeProjectionV1"] 1777 error_class = "validation_error" 1778 deterministic = true 1779 signing = "native" 1780 transport = "native" 1781 1782 [operations.trade_reduce_records.implementation] 1783 rust_modules = [ 1784 "crates/trade/src/reducer.rs", 1785 "crates/trade/src/reducer_impl.rs", 1786 ] 1787 rust_types = [ 1788 "radroots_trade::reducer::RadrootsTradeReductionInputV1", 1789 "radroots_trade::model::RadrootsTradeProjectionV1", 1790 ] 1791 1792 [operations.trade_reduce_records.conformance] 1793 vector = "contracts/conformance/vectors/trade/reduce_records.v1.json" 1794 1795 [operations.trade_prepare_workflow] 1796 domain = "trade" 1797 id = "trade.prepare_workflow" 1798 stability = "beta" 1799 inputs = ["TradeMutationEnvelopeV1"] 1800 outputs = ["WorkflowPlan"] 1801 error_class = "validation_error" 1802 deterministic = true 1803 signing = "none" 1804 transport = "none" 1805 1806 [operations.trade_prepare_workflow.implementation] 1807 rust_modules = ["crates/trade/src/workflow.rs"] 1808 rust_types = [ 1809 "radroots_trade::workflow::Error", 1810 "radroots_trade::workflow::WorkflowPlan", 1811 ] 1812 1813 [operations.trade_prepare_workflow.conformance] 1814 vector = "contracts/conformance/vectors/trade/prepare_workflow.v1.json" 1815 case_kinds = ["trade.prepare_workflow.valid", "trade.prepare_workflow.invalid"] 1816 1817 [operations.knowledge_contract_manifest_json] 1818 domain = "knowledge" 1819 id = "knowledge.contract_manifest_json" 1820 stability = "beta" 1821 inputs = ["RadrootsEventContractRegistry"] 1822 outputs = ["RadrootsKnowledgeContractManifest", "ManifestSha256"] 1823 error_class = "encode_error" 1824 deterministic = true 1825 signing = "native" 1826 transport = "native" 1827 1828 [operations.knowledge_contract_manifest_json.implementation] 1829 rust_modules = ["crates/event_codec/src/manifest.rs"] 1830 rust_types = [ 1831 "radroots_event_codec::manifest::RadrootsKnowledgeContractManifest", 1832 ] 1833 1834 [operations.knowledge_contract_manifest_json.conformance] 1835 vector = "contracts/conformance/vectors/knowledge/manifest_and_decode.v1.json" 1836 1837 [operations.knowledge_verify_and_decode_event] 1838 domain = "knowledge" 1839 id = "knowledge.verify_and_decode_event" 1840 stability = "beta" 1841 inputs = ["EventEnvelope"] 1842 outputs = ["RadrootsDecodedEvent"] 1843 error_class = "decode_error" 1844 deterministic = true 1845 signing = "nip01" 1846 transport = "native" 1847 1848 [operations.knowledge_verify_and_decode_event.implementation] 1849 rust_modules = [ 1850 "crates/event_codec/src/verification.rs", 1851 "crates/event_codec/src/knowledge/verification.rs", 1852 "crates/event_codec/src/knowledge/decode.rs", 1853 ] 1854 rust_types = [ 1855 "radroots_event::envelope::EventEnvelope", 1856 "radroots_event_codec::verify::RadrootsDecodedEvent", 1857 ] 1858 1859 [operations.knowledge_verify_and_decode_event.conformance] 1860 vector = "contracts/conformance/vectors/knowledge/manifest_and_decode.v1.json"