Remove unused policy metadata and helpers

This commit is contained in:
2026-11-26 03:11:54 +00:00
parent 753cd2081c
commit 9074f96b6e
56 changed files with 27 additions and 98 deletions

View File

@@ -14,10 +14,8 @@ import (
)
const (
Key = "normalize/dnd/location-registry/identity"
ReasonCode = "invalid_location_identity"
policy = domainidentity.Policy
correctionPolicy = "dnd.location_registry.validator.identity.v2"
Key = "normalize/dnd/location-registry/identity"
ReasonCode = "invalid_location_identity"
)
type Options struct{}

View File

@@ -15,7 +15,6 @@ import (
const (
Key = "extract/dnd/location-registry/shape"
ReasonCode = "invalid_location_shape"
policy = "dnd.location_registry.validator.shape.v2"
)
type Options struct{}

View File

@@ -17,7 +17,6 @@ import (
const (
Key = "extract/dnd/location-registry/source_refs"
ReasonCode = "invalid_location_source_refs"
policy = "dnd.location_registry.validator.source_refs.v3"
)
type Options struct{}

View File

@@ -16,7 +16,6 @@ import (
const (
Key = "extract/dnd/location-registry/source_relatedness"
ReasonCode = "location_not_near_source"
policy = "dnd.location_registry.validator.source_relatedness.v2"
)
type Options struct{}