aboutsummaryrefslogtreecommitdiffstats
path: root/skate/schema.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/schema.go')
-rw-r--r--skate/schema.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/skate/schema.go b/skate/schema.go
index 9f3af45..1878205 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -27,8 +27,7 @@ var (
}
)
-// RefToRelease converts a ref to a release. Set a extra.skate.status flag to
-// be able to distinguish converted entities later.
+// RefToRelease converts a ref to a release.
func RefToRelease(ref *Ref) (*Release, error) {
var (
release Release
@@ -201,7 +200,7 @@ type Release struct {
Relations []DataCiteRelation `json:"relations,omitempty"`
} `json:"datacite,omitempty"`
Skate struct {
- // Mark as converted (e.g. by setting status to "ref")
+ // Mark as converted from "ref", "rg" or other schemas.
Status string `json:"status,omitempty"`
// Carry the ref index and key around.
Ref struct {